]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
8536463be9d333de29e2d2f0554fff991ce2e806
[lyx.git] / src / ChangeLog
1 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * text2.C (setLayout): remove unused variable endpit.
4         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
5
6         * paragraph.C (onlyText): remove unused variable style.
7
8         * cursor.C (bruteFind): remove unused variables beg and end.
9
10         * Makefile.am (dist_noinset_DATA): not needed anymore
11
12         * cheaders/*: remove.
13
14 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15
16         * text3.C: fix LFUN_MATH_MODE.
17
18 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * buffer_funcs.C (countWords): new function. Counts words between
21         two iterators.
22
23         * BufferView_pimpl.C (getStatus, dispatch): handle
24         LFUN_WORDS_COUNT.
25
26         * LyXAction.C (init): 
27         * lfuns.h: add LFUN_WORDS_COUNT.
28
29 2004-12-19  Angus Leeming  <leeming@lyx.org>
30
31         * buffer.C (save): s/slashify_path/internal_path/.
32
33 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
34
35         * lyxfind.C (findChange): do not search for end of pars, because
36         the change tracker cannot handle this (fixes bug 1719).
37
38 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
39
40         * paragraph.[Ch] (autoBreakRows): remove
41
42         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
43
44         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
45         avoid using the paragraph one
46
47         * text2.C (LyXText, insertStringAsLines): adjust
48         
49 2004-12-16  Angus Leeming  <leeming@lyx.org>
50
51         * bufferlist.C:
52         * lyx_main.C: 
53         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
54
55 2004-12-14  Angus Leeming  <leeming@lyx.org>
56
57         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
58
59         * bufferlist.C (emergencyWrite):
60         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
61         GetEnvPath("HOME").
62
63 2004-12-14  Angus Leeming  <leeming@lyx.org>
64
65         * main.C: (main): no longer pass pointers to os::init.
66
67 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
68
69         * undo.C (textUndoOrRedo): simplify logic, fix a crash
70         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
71
72 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
73
74         * lyxfunc.C: 
75         * text3.C: remove selection_possible global flag
76
77 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
78
79         * text2.C (getSelectionSpan): remove
80         (changeDepth, changeDepthAllowed): adjust
81
82 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
83
84         * Makefile.am (BOOST_LIBS): use boost variables
85
86 2004-12-03  José Matos <jamatos@lyx.org>
87
88         * buffer.C: format up to 238.
89
90 2004-12-03  José Matos  <jamatos@lyx.org>
91
92         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
93
94 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
95
96         * cursor.C (goUpDown): remove call to idxUpDown2
97
98 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
99
100         * tabular.[Ch]: use size_t-like types for cell, row and column
101         indices
102
103 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
104
105         * lyxfunc.C (getStatus): do not lose previous information when
106         calling BufferView::getStatus; do not set a default "Command
107         disabled" message at the beginning, but just before returning.
108
109 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
110
111         * cursor.h (getStatus): add better comment from src/cursor.C
112
113 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * text3.C (getStatus): return false when the lfun is not handled
116
117 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
118
119         * broken_headers.h: remove
120
121         * Makefile.am (lyx_SOURCES): remove broken_headers.h
122
123 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
124
125         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
126         offset_ref accessors
127
128         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
129         top_y_, merge fitcursor with update
130         (updateScrollbar, scrollDocView, fitCursor, center, update): new
131         coord scheme
132         (metrics): introduce
133         (workAreaDispatch): adapt to new coord scheme
134         (redoCurrentBuffer): remove
135
136         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
137
138         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
139         CurStatus enum.
140
141         * coordcache.[Ch]: add paragraph cache and helpers
142
143         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
144         adjust everywhere
145
146         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
147         (targetX, setTargetX): introduce
148
149         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
150         baseline -> ascent, as the rest of lyx
151
152         * lyxtext.h: remove redoParagraphs, updateParPositions,
153         fullRebreak, redoParagraphInternal. move dist to anon namespace in
154         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
155         have ascent/descent (ascent is ascent of first par)
156
157         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
158         step of BufferView
159
160         * paragraph.[Ch]: unify dimension handling with the rest of lyx
161
162         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
163
164         * pariterator.C: fix infinite loop introduced in par->pit renaming
165
166         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
167         in insets and LyXText, draw two off-screen paragraphs using
168         NullPainter, and adapt to new coord scheme
169
170         * text.C:
171         * text2.C:
172         * text3.C: adapt lfun handlers to the new coord scheme, which
173         means: there's only guaranteed coord information for onscreen pars
174         plus one above and one below. This implies that one can do search
175         from y coordinates in the range [-1,workHeight]
176
177 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
178
179         * rename a lot of InsetOld to InsetBase
180
181 2004-11-25  Angus Leeming  <leeming@lyx.org>
182
183         * BufferView_pimpl.C:
184         * lyx_cb.C:
185         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
186
187 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
190         call BufferView::getStatus if LCursor::getStatus did nothing
191         (setStatusMessage, getStatusMessage): removed.
192
193         * FuncStatus.C (message): new methods. Used to provide an error
194         message indicating why a command is disabled.
195         (clear, |=, FuncStatus): update for message.
196
197 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
198
199         * lyxfunc.C (dispatch): always call sendDispatchMessage
200
201 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
202
203         * BufferView.C:
204         * BufferView_pimpl.C:
205         * CutAndPaste.C:
206         * FontIterator.C:
207         * buffer.C:
208         * cursor.C:
209         * cursor_slice.[Ch]:
210         * dociterator.[Ch]:
211         * lyxfind.C:
212         * paragraph_funcs.C:
213         * pariterator.C:
214         * rowpainter.C:
215         * text.C:
216         * text2.C:
217         * text3.C:
218         * undo.C: par->pit renaming
219
220 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
221
222         * tabular.C (cellstruct): use initialization, store a shared_ptr
223         to insettext instead of the insettext directly, adjust to fit.
224         (operator=):  new function
225         (swap): new function
226         (rowstruct): use initialization
227         (columnstruct): use initialization
228         (ltType): use initialization
229
230
231         * lyxlength.h (swap): new function
232
233         * LColor.[Ch] (operator=): use the common semantics
234
235 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * lyxfind.C (findNextChange): update the bufferview after setting
238         the selection.
239
240 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
243         number of InsetOptArgs has already been inserted.
244
245         * output_latex.C (latexOptArgInsets): new method. This outputs all
246         the optarg insets, up to the limit defined in the layout file.
247         (optArgInset): removed
248         (TeXOnePar): call latexOptArgInsets; correctly update texrow
249
250 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
251
252         * paragraph.C (isLetter): remove special spellchecker-related
253         code; return true also for digits
254         (isWord, isKomma): remove
255
256         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
257         * lyxfind.C (MatchString()): use isLetter instead of isWord
258
259 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
260
261         * pariterator.h (operatir=): comment out un-implemented member
262         function.
263
264         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
265         static cast.
266
267 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
268
269         * lyxfont.h: include LColor.h to satisfy concept checks.
270
271 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
272
273         * pariterator.h: add typdefs for value_type, difference_type,
274         pointer and reference to satisfy concept checks. Also add default
275         constructor for same reason.
276
277         * pariterator.C (operator++): add post-increment operator to
278         satisfy concept checks.
279
280         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
281         checks.
282
283         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
284
285         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
286         checks. Also rename base_type to BaseType to follow naming
287         standard better.
288
289         * FloatList.h: include Floating.h to satisfy concept checks.
290
291 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * lyxfunc.C (getStatus): when the origin of the request is menu or
294         toolbar, and the LyXView does not have focus, do as if there was
295         no buffer (bug 1720)
296
297         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
298         FuncRequest to individual entries of LFUN_SEQUENCE
299
300 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
301
302         * output_latex.C (TeXOnePar): override runparams.moving_arg
303         according to the needprotect value of the current paragraph (bug
304         1739)
305
306         * paragraph.C (simpleTeXOnePar): no need to override
307         runparams.moving_args here
308
309 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
310
311         * vspace.C: fix off-by-one-error, related to fix #1682
312
313 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
314
315         * lengthcommon.C: a more general fix for bug 1682
316
317 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
318
319         * text.C (backspace): fix crash
320
321 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * format.[Ch] (getFormatFromFile): new method
324         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
325
326 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
329
330 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
331
332         * lyxfunc.C (dispatch): remove the verbose argument
333         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
334         instead
335
336         * kbmap.C (defkey): set the origin of func to KEYBOARD
337
338         * MenuBackend.C (MenuItem):
339         * ToolbarBackend.C (add): set the origin of func to UI
340
341         * funcrequest.[Ch]: add origin member, which indicates which part
342         of LyX requests an action
343
344 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
345
346         * converter.C (move): don't lie in the error message
347         * converter.h (isReachable, move): document
348
349 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
350
351         * buffer.C: remove unused using lyx::support::atoi
352         * paragraph_funcs.C: ditto
353
354 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
355
356         * bufferlist.C (exists): use bind and equal_to instead of
357         compare_memfun
358         (getBuffer): ditto
359         * lyxtextclasslist.C (NumberOfClass): ditto
360
361         * cursor.C (insert): use for_each instead of explicit for loop
362
363         * bufferlist.C (getFileNames): use std::transform and
364         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
365
366         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
367         for loop
368
369         * buffer.C (changeLanguage): use for_each instead of explicit for
370         loop
371         (hasParWithID): implement using getParFromID
372
373         * LaTeXFeatures.C: ws change only
374
375         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
376         to cleanup a bit.
377
378         * BufferView_pimpl.C (trackChanges): use for_each instead of
379         expilicit for loop
380
381 2004-11-04  André Pönitz  <poenitz@gmx.net>
382
383         * undo.h:
384         * undo.C (textUndoOrRedo): fix crash when creating undo information.
385
386         * dociterator.C (asDocIterator): use hard assert again.
387
388 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
389
390         * lyxlength.C (asLatexString): rewrite so that it does not use
391         snprintf anymore
392
393 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
394
395         * text3.C (specialChar, dispatch): make sure cursor moves to the
396         right after inserting an inset
397
398 2004-11-02  José Matos  <jamatos@lyx.org>
399
400         * output_docbook.C (docbook):
401         * paragraph.C (getID):
402         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
403         garantee that the output is always legal.
404
405         * tabular.C (docbook):
406         * outputprams.[Ch]: remove mixed contents.
407
408 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
409
410         * text2.C (setCounter): prevent endless loop
411
412 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
413
414         * exporter.C (copyFile): use the mover instead of support::copy()
415         * exporter.C (Export): pass format and latex name to copyFile()
416         * exporter.h (addExternalFile): document
417         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
418
419 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
420
421         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
422
423 2004-10-30  José Matos  <jamatos@lyx.org>
424
425         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
426         text and no inset or font change. This allows to use CDATA
427         sections just for the whole paragraph.
428
429 2004-10-30  José Matos  <jamatos@lyx.org>
430
431         * paragraph.C (getFirstWord): remove unused variable.
432
433 2004-10-30  José Matos  <jamatos@lyx.org>
434
435         * paragraph.C (getFirstWord): the content should always be escaped
436         there.
437         (simpleDocBookOnePar):
438         * output_docbook.C (makeEnvironment): replace reference to CDATA
439         to style pass_thru.
440
441 2004-10-30  José Matos  <jamatos@lyx.org>
442
443         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
444
445 2004-10-30  José Matos  <jamatos@lyx.org>
446
447         * output_docbook.C (makeParagraphs):
448         * paragraph.[Ch] (emptyTag): for docbook and company, if the
449         standard paragraph has only a given type of content drop the wrapper.
450
451 2004-10-29  José Matos  <jamatos@lyx.org>
452
453         * output_docbook.C (makeEnvironment):
454         * sgml.C (openTag):
455         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
456
457 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
458
459         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
460         (cleanID): sanitize any id.
461
462 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
463
464         * buffer.C, lyxlex_pimpl.C:
465         * lyxlex_pimpl.C (setFile):
466         s/getExtFromContents/getFormatFromContents/
467
468 2004-10-28  José Matos  <jamatos@lyx.org>
469
470         * output_docbook.C (makeEnvironment): move id to broadest possible
471         scope.
472
473         * sgml.C (openTag): apply substitution of <> for all attributes.
474
475 2004-10-28  José Matos  <jamatos@lyx.org>
476
477         * buffer.C (makeLinuxDocFile, makeDocBookFile):
478         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
479         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
480
481         * sgml.[Ch]: new version for open and closeTag for paragraph and
482         for strings. Now they handle the ids of paragraphs.
483
484 2004-10-26  Angus Leeming  <leeming@lyx.org>
485
486         * Makefile.am: add mover.[Ch].
487
488         * converter.C (convert, move): use the new Movers to move external
489         files to the temp directory.
490
491         * lyx_main.C (init): ensure that the global system_movers data
492         is initialised.
493
494         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
495         preferences file.
496
497         * mover.[Ch]: new files, defining a Mover as a utility to move an
498         external file between directories and, if necessary, manipulate this
499         file using a helper script.
500
501 2004-10-25  José Matos  <jamatos@lyx.org>
502
503         * output_docbook.C (makeCommand): merge two if's that tested the
504         same condition.
505
506 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * sgml.C (escapeString): fix warning in a better way
509
510 2004-10-25  José Matos  <jamatos@lyx.org>
511
512         * sgml.C (escapeString): import the require boosts header file for
513         tie, and avoid a signed unsigned comparison.
514
515 2004-10-25  José Matos  <jamatos@lyx.org>
516
517         * sgml.h: add #include <string>
518
519 2004-10-25  José Matos  <jamatos@lyx.org>
520
521         * sgml.[Ch] (escapeString): new function to escape all the string.
522
523 2004-10-24  José Matos  <jamatos@lyx.org>
524
525         * paragraph.[Ch] (getFirstWord): new function to get the first
526         word. Useful for description.
527         (simpleDocBookOnePar): remove depth argument, add another that
528         says where to start the paragraph.
529
530         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
531         use the new functions to fix cleanly the support for descriptions.
532
533 2004-10-24  José Matos  <jamatos@lyx.org>
534
535         * buffer.C (makeLinuxDocFile, makeDocBookFile):
536         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
537         * output_linuxdoc.C (linuxdocParagraphs):
538         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
539         add buffer as argument.
540
541 2004-10-24  José Matos  <jamatos@lyx.org>
542
543         * output_docbook.C (makeEnvironment, searchEnvironment): place
544         CDATA inside paragraphs and fix scope for listitems.
545
546 2004-10-24  José Matos  <jamatos@lyx.org>
547
548         * output_docbook.C: remove using statement for stack.
549
550 2004-10-23  José Matos  <jamatos@lyx.org>
551
552         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
553         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
554         docbook. The new scheme is recursive and makes use of iterators, the
555         same as latex export works.
556         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
557         directly with the paragraph contents. This code was moved up to
558         output_docbook.C (docbookParagraphs).
559         * sgml.C (openTag, closeTag): removed unneeded newlines.
560         (closeEnvTags) removed.
561
562 2004-10-23  André Pönitz  <poenitz@gmx.net>
563
564         * undo.C (textUndoOrRedo):
565         * dociterator.C (asDocIterator): work around crash
566
567         * cursor.C (getStatus): replace ASSERT by more verbose error message
568           and manual correction of the problem. Should increase stability
569           while providing more sensible information.
570
571 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
572
573         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
574
575         * bufferlist.C (previous, next): new methods
576
577         * lfuns.h:
578         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
579
580 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
581
582         * buffer.C (makeDocBookFile): add dsssl stylesheet control
583         entities to preamble.
584
585 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
586
587         * messages.C (Pimpl): strip off translation context information
588
589 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
590
591         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
592         the cursor is correct (bug 1694)
593
594 2004-10-13  José Matos  <jamatos@lyx.org>
595
596         * output_docbook.C (docbookParagraphs): fix closing tags in the
597         end of the document.
598
599 2004-10-09  José Matos  <jamatos@lyx.org>
600
601         * buffer.C: format up to 237.
602         * bufferparams.C (write): use tostr to convert booleans to strings.
603
604 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
605
606         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
607
608 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * LaTeX.C: implement use of babel language in xindy.
611
612 2004-10-05  José Matos  <jamatos@lyx.org>
613
614         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
615         Add new translators to help reading and writing the lyx file.
616
617 2004-10-05  José Matos  <jamatos@lyx.org>
618
619         * ParagraphParameters.C (read):
620         * text.C (readParToken): replace nexToken by more appropriate lex
621         methods.
622
623 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
624
625         * LaTeX.C (runMakeIndex):
626         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
627         (usually 'makeindex') configurable.
628
629         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
630         with a variable rather than with a number.
631
632 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
633
634         * output_latex.C (TeXOnePar): make sure font setting is the first
635         thing that gets output (and the last at the end). Should fix bug
636         1404.
637
638 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
639
640         * pch.h: use proper signal include
641
642         * LaTeX.h: Use preferred calling of Boost.Signal
643         * buffer.h: ditto
644
645 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
646
647         * pch.h: dont include <boost/function/function0.hpp>
648
649         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
650
651         * paragraph_pimpl.h: remove usage of ShareContainer
652
653         * paragraph_pimpl.C: remove initialization of ShareContainer.
654
655 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
656
657         Fix bug #1666
658
659         * BufferView.C (putSelectionAt): change the semantics when
660         backwards == true: now, this just swaps cursor and anchor wrt the
661         forward case
662
663         * BufferView.h (putSelectionAt): add some documentation
664
665         * lyxfind.C (findBackwards): rewrite using while(). In particular,
666         make sure backwardChar is done at least once (to avoid getting
667         stuck)
668         (findNextChange): use putSelectionAt in the forward direction
669         (operator()): use Paragraph::isWord
670
671 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
672
673         * Spacing.C (set): c_str fix
674
675 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
676
677         * lyx_cb.C (Reconfigure): quote the name of configure script in
678         case it contains spaces
679
680 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
681
682         * client: new dir
683
684         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
685         (BOOST_LIBS): use top_buildir when looking for the file
686
687 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
688
689         * pch.h: do not use include boost/format.hpp, multiple symbols
690                 will result (gcc bug)
691
692
693 2004-08-23  José Matos  <jamatos@lyx.org>
694
695         * bufferparams.C (readToken): fix reading of the author field.
696
697 2004-08-20  José Matos  <jamatos@lyx.org>
698
699         * lyxrc.C: remove support/translator.h inclusion since it is not used.
700
701 2004-08-20  José Matos  <jamatos@lyx.org>
702
703         * lyxlex.[Ch] (findToken): remove function.
704
705         * ParagraphParameters.C (findToken):
706         * bufferparams.C (findToken): replace call for previous function
707         with local copy. This local function has one more argument, the
708         read string argument.
709
710 2004-08-16  José Matos  <jamatos@lyx.org>
711
712         * ParagraphParameters.C (write):
713         * Spacing.C (writeFile):
714         * bufferparams.C (writeLaTeX):
715         * lyx_cb.C (Reconfigure):
716         * paragraph.C (write):
717         * tabular.C (write): remove unnecessary space at end of line.
718
719
720 2004-08-16  José Matos  <jamatos@lyx.org>
721
722         * text.C (readParagraph): remove debug message.
723
724 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
727         crash
728
729         * output_plaintext.C (asciiParagraph): set depth correctly
730
731         * outputparams.h: add member depth
732
733         * paragraph_funcs.C (ownerPar): remove.
734
735         * text2.C (setCounter): remove first_pit; comment out some
736         non-working code that uses ownerPar
737
738         * BufferView.C (getParentLanguage): remove. Not used anymore, and
739         uses ownerPar
740
741 2004-08-16  José Matos  <jamatos@lyx.org>
742
743         * text.C (readParToken, readParagraph, read): report all unknown tokens.
744         For the same level of importance use the same chanel to report problems.
745         (read): add code to deal with \begin_body and \end_body.
746
747
748 2004-08-15  José Matos  <jamatos@lyx.org>
749
750         * lyxlex.C (getString): fix comment, buffer::readBody is now
751         buffer:readDocument.
752
753         * tex-strings.C (string_papersize): Default -> default,
754         Custom -> custom, for consistency with other options.
755
756 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
757
758         * pch.h: new file
759
760         * Makefile.am: support pch
761
762 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * text.C (readParToken): remove the static LyXFont variable and
765         pass it as a parameter instead. This fixes a nasty bug where an
766         inset will be inserted with a bad font in some situations
767         (readParagraph): adapt
768
769         * text2.C (setCounter): reduce number of calls to pars_[pit]
770
771         * text.C (singleWidth): add an assert, fix a test
772
773         * rowpainter.C (paintText): reduce number of calls to singleWidth
774
775         * paragraph.C (isHfill):
776         (isNewline): ws only
777
778 2004-08-14  André Pönitz  <poenitz@gmx.net>
779
780         * text.C:
781         * text2.C:
782         * rowpainter.C:
783         * lyxtext.h (several functions): use a Paragraph & argument
784         instead of par_type
785
786 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
787
788         * metricsinfo.h: add a new field ltr_pos to PainterInfo
789
790         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
791
792         * text.C (singleWidth): remove useless test
793
794 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * tabular.h: remove bogus comments
797
798         * tabular.C (getDescentOfRow):
799         (isPartOfMultiColumn): add assertions
800
801         * lyxlength.C (inPixels): remove #warning
802
803 2004-08-14  André Pönitz  <poenitz@gmx.net>
804
805         * paragraph.h: inline getChar()
806
807         * BufferView.h: remove unused declarations
808
809 2004-08-14  José Matos  <jamatos@lyx.org>
810
811         * Buffer.[Ch] (readDocument): new name for old readBody.
812         * Buffer.C: new file format, new keywords: \begin_document,
813         \begin_header, \begin_body, \end_body.
814
815         * bufferparams.C (readToken): replace all calls to lex.nextToken
816         by lex.next(). Do the same to eatLine except where really needed.
817
818         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
819         line when writing to the lyx file.
820
821         * output_plaintext.C (asciiParagraph): fix Bibliography style
822         handling.
823
824         * text.C (read): fix end of file handling.
825
826 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
827
828         * MenuBackend.C (Menu::operator[]): new method to access
829         individual menu items
830         (Menu::hasFunc): new method. search for an item that corresponds
831         to a given func
832         (MenuBackend::specialMenu): new method
833         (MenuBackend::expand): if a special menu has been set, skip
834         entries whose func() appears in this menu
835
836 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
837
838         * text3.C: use Debug::DEBUG a bit more
839
840         * text.C (leftMargin): try to simplify a tiny bit change var x to
841         l_margin. Dont output the wide margins always.
842         (rightMargin): no margin in inner texts
843
844         * rowpainter.h (nestMargin): new func
845         (changebarMargin): new func
846         (rightMargin): new func
847
848         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
849         now functions.
850         (paintLast): ditto
851
852         * factory.C (createInset): modify setDrawFrame
853
854         * cursor.C: use Debug::DEBUG a bit more
855
856 2004-08-14  André Pönitz  <poenitz@gmx.net>
857
858         * coordcache.[Ch]:
859         * Makefile.am: new files to accomodate an 'external' (x,y)-position
860         cache for all insets in (at least partially) visible (top-level)
861         paragraphs.
862
863         * BufferView_pimpl.C: reset external coord cache before every update.
864         This means the coord cache only contains valid entries.
865
866 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
867
868         bug 1096
869         * BufferView_pimpl.C (getInsetByCode): move function out of class
870         and change in to a template in anon namespace. Also fix to do what
871         suits us better.
872
873 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
874
875         bug 1305
876         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
877         of char
878         (breakParagraph): rename par to par_offset and use a local
879         reference. Add code to keep the language over a rebreak.
880         (breakParagraphConservative): rename par to par_offset, use a
881         local reference
882         (mergeParagraph): ditto
883         (outerHook): ditto
884         (isFirstInSequence): ditto
885         (outerFont): rename pit to par_offset
886
887         * paragraph.C: ws change
888         * paragraph.h: ditto
889         * text3.C: ditto
890         * text.C: ditto
891
892 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
893
894         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
895         treatment for ']'
896
897         * paragraph.C (simpleTeXOnePar): when we have a \item with
898         optional argument, enclose the argument with curly brackets (in
899         case it contains a closing square bracket)
900
901         * text2.C (editXY):
902         * text2.C (editXY):
903         * text3.C (checkInsetHit): constify
904
905 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
906
907         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
908         documents (bug 1629)
909
910 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
911
912         Fix toggling of collapsable insets with the mouse (bug 1558)
913
914         * lyxfunc.C (dispatch): adapt to LCursor changes
915
916         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
917         make sure that dispatch is not invoked twice
918
919         * cursor.C (needsUpdate): new method
920         (dispatch): return void
921         (result): new method, to access the DispatchResult of the cursor.
922
923 2004-08-13  José Matos  <jamatos@lyx.org>
924
925         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
926
927 2004-08-13  André Pönitz  <poenitz@gmx.net>
928
929         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
930
931         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
932           multiple cells
933
934 2004-08-12  André Pönitz  <poenitz@gmx.net>
935
936         * text3.C: take out the 'cursor right' form insertInset and only
937         do it in those places when it is really needed. Fixes crash on
938         C-m...
939
940 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
941
942         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
943
944         * BufferView_pimpl.C (setBuffer): initialize the current font of
945         the underlying LyXText
946
947 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
948
949         * kbsequence.C (print): use UI native formatting for menu
950         shortcuts
951
952         * text.C (insertChar): call Paragraph::insertChar with a font
953         argument (cosmetic)
954
955         * paragraph.C (insertInset, insertChar): the version that takes a
956         LyXFont argument is now a wrapper around the other one (the
957         opposite used to be true).
958
959         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
960         argument. Font setting is done in Paragraph now.
961
962 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
963
964         * outputparams.h: add new members intitle and lang.
965
966         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
967         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
968
969 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
970
971         * text3.C (dispatch): remove special handling of button 4 and 5,
972         it is now taken care of in the frontend code.
973
974 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
975
976         * Spacing.h: add <string> (STLPort compile fix)
977
978 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
979
980         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
981
982 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
983
984         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
985         to bool.
986
987         * converter.C (showMessage): inherit from unary_function, make
988         operator() const.
989
990         * buffer.C (writeFile): initialize retval
991
992         * InsetList.h: rename private variable list to list_
993         * InsetList.[Ch]: adjust accordingly.
994
995 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
996
997         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
998         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
999         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1000         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1001         * ParagraphParameters.C, LaTeXFeatures.C: replace
1002         "support/std_sstream.h" with <sstream>
1003
1004 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1005
1006         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1007         * lyxsocket.C (LyXServerSocket): ditto
1008         (serverCallback): ditto
1009
1010 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1011
1012         * LaTeXFeatures.C: check release date when loading jurabib.
1013
1014 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1015
1016         * lyxserver.C (startPipe): call register_socket_callback
1017         (endPipe): call unregister_socket_callback
1018
1019 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1020
1021         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1022         (LyXServerSocket): register the callback
1023         (LyXServerSocket): unregister the callback
1024         (fd): delete function
1025         (serverCallback): improve error checking and setup the callbacks.
1026         (dataCallback): change arg to fd.
1027         (writeln): new func (copied fro the client socket) used for server
1028         write to client.
1029         (LyXDataSocket): simplify
1030         (~LyXDataSocket): close ann unregiser callback
1031         (server): delete function
1032         (fd): delete function
1033         (readln): small changes, improve some std::string usage
1034         (writeln): constify a bit
1035
1036 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1037
1038         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1039         Qt frontend
1040
1041 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1042
1043         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1044         after it has been populated
1045
1046 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1047
1048         * text2.C (insertInset): move cursor when inserting inset.
1049
1050 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1051
1052         * kbmap.C (findbindings): a couple of new methods. returns a
1053         container of kb_sequence objects. The real work is done by the
1054         private recursive version
1055         (printbindings): uses findbindings to print out a bracketed list
1056         of bindings (renamed from findbinding).
1057
1058         * MenuBackend.C (binding): use kb_keymap::findbindings
1059
1060         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1061
1062 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1063
1064         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1065
1066 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * paragraph.C (isWord): return true on insets that report
1069         isLetter().
1070
1071         * text.C (getWord): use Paragraph::isWord to decide what is in a
1072         word and what is not; fix bug 1609.
1073
1074 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1075
1076         * tex-strings.C: add "none" to string_paperpackages[], fixes
1077         off-by-one-error in the paperpackage selection.
1078
1079         * lyxlex.[Ch]:
1080         * tex-strings.[Ch]: char const * string[n]
1081         -> char const * const string[]
1082
1083 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1084
1085         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1086         command, return early.
1087
1088 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1089
1090         * debug.h: add DEBUG to enum and fix size of ANY.
1091
1092         * debug.C: add support for Debug::DEBUG
1093         (showTags): cast errorTags.level to unsigned int
1094
1095         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1096         (redoCurrentBuffer): ditto
1097         (updateScrollbar): ditto
1098         * cursor.C (dispatch): ditto
1099         * text2.C (setLayout): ditto
1100         (setFont): ditto
1101         (updateCounters): ditto
1102         (editXY): ditto
1103         (deleteEmptyParagraphMechanism): ditto
1104
1105 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1106
1107         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1108         annotations to cleanup the Makefile slightly.
1109
1110 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1111
1112         * lyxrc.C: do not set user_email to a default value but use empty
1113         instead. The entry used to be translated, which does not work
1114         since at the point where lyxrc is constructed there is no
1115         translation service available
1116
1117         * messages.C (getLocaleDir): remove and use directly
1118         lyx_localedir() instead
1119
1120 2004-06-02  Angus Leeming  <leeming@lyx.org>
1121
1122         Fix crash caused by dereferencing null pointer 'exportdata' in
1123         OutputParams by creating a new ExportData variable on the heap,
1124         storing it in a boost::shared_ptr.
1125         The crash was triggered when generating an Instant Preview
1126         of an external inset.
1127
1128         * Makefile.am: add outputparams.C
1129
1130         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1131         (c-tor): allocate memory to it.
1132
1133         * exporter.C (c-tor): associated changes.
1134
1135 2004-06-01  Angus Leeming  <leeming@lyx.org>
1136
1137         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1138         contains data before calling isInset(0). (Bug 1513.)
1139
1140 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1141
1142         * exporter.C (checkOverwrite): new method
1143         * exporter.C (copyFile): new method
1144         * exporter.C (Export): copy referenced files to the document dir
1145         * exporter.[Ch]: new class ExportedFile
1146         * exporter.[Ch]: new class ExportData. Contains currently the
1147         names of referenced external files
1148         * outputparams.h: add exportdata member.
1149
1150 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1151
1152         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1153         version.C-tmp
1154
1155 2004-05-19  Angus Leeming  <leeming@lyx.org>
1156
1157         * LaTeXFeatures.C:
1158         * ToolbarBackend.C:
1159         * bufferparams.C:
1160         * lyxfunc.C: small changes due to the introduction of namespace
1161         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1162
1163 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1164
1165         * text3.C (dispatch): supress update when only moving the cursor
1166         * cursor.C (selHandle): remove commented code
1167
1168 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1169
1170         * paragraph.C (startTeXParParams): correct column count
1171         * CutAndPaste.C (pasteSelection): remove const_cast
1172         * output_docbook.C (docbookParagraphs): remove const_cast
1173         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1174         const_cast and return ParagraphList::const_iterator
1175         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1176         * output_plaintext.C (writeFileAscii): remove const_cast
1177         * paragraph.[Ch] (simpleTeXOnePar): make const
1178         * paragraph_funcs.C (outerPar): use const iterators
1179         * paragraph_pimpl.C (validate): use const iterators
1180         * text.C (setHeightOfRow): use const iterators
1181
1182 2004-05-17  Angus Leeming  <leeming@lyx.org>
1183
1184         * lfuns.h:
1185         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1186
1187         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1188         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1189         if the citation engine has changed.
1190
1191 2004-05-14  José Matos  <jamatos@lyx.org>
1192
1193         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1194         if the textclass does not provide it. Have it different for sgml and
1195         xml.
1196         support the language of document.
1197         * output_docbook.C (docbookParagraphs):
1198         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1199         first anchor as the id of the paragraph, remove special case code.
1200         * sgml.C (escapeChar): escape only < & >.
1201
1202 2004-05-14  Angus Leeming  <leeming@lyx.org>
1203
1204         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1205         dependencies on src/frontends/controllers/biblio.h. Define a
1206         CiteEngine_enum wrapper class to enable the enum to be forward
1207         declared.
1208
1209 2004-05-12  Angus Leeming  <leeming@lyx.org>
1210
1211         * buffer.C: up LYX_FORMAT to 234.
1212         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1213         use_numerical_citations with a single biblio::CiteEngine cite_engine
1214         variable.
1215         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1216
1217 2004-05-13  José Matos  <jamatos@lyx.org>
1218
1219         * converter.h:
1220         * converter.C (Converter, readFlags): add xml member.
1221         * outputparams.h: add XML flavor.
1222         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1223
1224 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * lyxfunc.C (dispatch):
1227         (getStatus): fix handling of LFUN_SEQUENCE
1228
1229 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * debug.C (showLevel): do not forget the end-of-line marker
1232
1233 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1234
1235         * kbmap.C (read): do not stop parsing a bind file when an error
1236         occurs (bug 1575)
1237
1238 2004-04-29  Angus Leeming  <leeming@lyx.org>
1239
1240         * cursor.C:
1241         * factory.C:
1242         * pariterator.C:
1243         * text2.C: wrap a bunch of #warning statements
1244         inside #ifdef WITH_WARNINGS blocks.
1245
1246 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1247
1248         * buffer.C: increment format to 233.
1249
1250 2004-04-28  Angus Leeming  <leeming@lyx.org>
1251
1252         * BufferView_pimpl.C:
1253         * lyxfunc.C:
1254         * text3.C:
1255         s/updateToolbar()/updateToolbars()/
1256         s/Toolbar.h/Toolbars.h/
1257
1258 2004-04-28  Angus Leeming  <leeming@lyx.org>
1259
1260         * BufferView.[Ch] (c-tor):
1261         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1262         No longer passes these data to the WorkArea generator.
1263
1264 2004-04-28  Angus Leeming  <leeming@lyx.org>
1265
1266         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1267
1268 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1269
1270         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1271
1272 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * output_latex.C (TeXEnvironment): make sure that there is a line
1275         break before \end{foo} for the last paragraph of a document
1276         (TeXOnePar): if the paragraph is at the end of the document (or
1277         inset) and the language has to be reset, then make sure that the
1278         line break is _before_ the language command, not after (fixes bug
1279         1225); also make sure that the language reset command is the first
1280         thing after the paragraph (to ensure proper nesting of
1281         environments and thus fix bug 1404)
1282
1283 2004-04-21  John Levon  <levon@movementarian.org>
1284
1285         * ToolbarBackend.h:
1286         * ToolbarBackend.C: make "name" be a programmatic name
1287         and a gui_name field.
1288
1289         * lyxfunc.C: display the minibuffer on M-x
1290
1291 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1294         (bug 1526)
1295
1296 2004-04-19  Angus Leeming  <leeming@lyx.org>
1297
1298         * BufferView_pimpl.C (setBuffer): changed preview interface.
1299
1300         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1301         possible values.
1302
1303 2004-04-19  John Levon  <levon@movementarian.org>
1304
1305         * BufferView_pimpl.C:
1306         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1307
1308 2004-04-05  Angus Leeming  <leeming@lyx.org>
1309
1310         * text.C (redoParagraphs): add call to updateCounters(), thereby
1311         fixing the missing "Figure #:" label from the caption of a
1312         figure float.
1313
1314 2004-04-13  Angus Leeming  <leeming@lyx.org>
1315
1316         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1317         cursor is clicked out of an inset.
1318
1319 2004-04-13  Angus Leeming  <leeming@lyx.org>
1320
1321         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1322         than an InsetOld one.
1323
1324 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1325
1326         * format.[Ch]: add editor to Format
1327         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1328         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1329
1330 2004-04-08  André Pönitz  <poenitz@gmx.net>
1331
1332         * metricsinfo.h: remove PainterInfo::width member
1333
1334 2004-04-08  Angus Leeming  <leeming@lyx.org>
1335
1336         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1337         "\providecommand" rather than "\newcommand", thereby preventing
1338         clashes with packages that define "\boldsymbol" themselves.
1339         Eg, beamer.
1340
1341 2004-04-08  Angus Leeming  <leeming@lyx.org>
1342
1343         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1344         thereby squashing an unnecessary warning.
1345
1346 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1347
1348         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1349         setBuffer()
1350
1351 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1352
1353         * BufferView.C (setCursor): call redoParagraph (some insets could
1354         have been opened)
1355         (putSelectionAt): remove the 'double update' trick
1356
1357         * BufferView_pimpl.C (fitCursor): call refreshPar
1358         (workAreaDispatch): remove an uneeded update call
1359         (dispatch): remove some manual update calls
1360
1361         * cursor.[Ch]: remove cached_y_, updatePos
1362         (selHandle): set noUpdate when appropriate
1363
1364         * lyxfunc.C (dispatch): track if we need an update
1365
1366         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1367
1368         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1369         (paintSelection): cheap optimization, do not call cursorX when not
1370         needed
1371         (paintPars): change signature
1372         (refreshPar): add
1373         (paintText): adjust
1374         (paintTextInset): adjust
1375
1376         * text.C: adjust
1377
1378 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1379
1380         * lengthcommon.C: compilation fix: remove explicit array size from
1381         unit_name[] and friends
1382
1383 2004-04-05  Angus Leeming  <leeming@lyx.org>
1384
1385         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1386
1387         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1388         present only for the preferences dialog.
1389         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1390
1391 2004-04-05  Angus Leeming  <leeming@lyx.org>
1392
1393         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1394         to enable the frontends to export changes to lyxrc correctly.
1395
1396         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1397
1398 2004-04-07  André Pönitz  <poenitz@gmx.net>
1399
1400         * cursor.[Ch] (selClear, adjust): remove math
1401
1402         * cursor_slice.C: more agressive assert
1403
1404         * lyxfunc.C:
1405         * BufferView_pimpl.C: rework mouse event dispatch
1406
1407         * dociterator.C:
1408         * paragraph.C:
1409         * text2.C:
1410         * text3.C: adjust
1411
1412 2004-04-05  André Pönitz  <poenitz@gmx.net>
1413
1414         * cursor.[Ch] (valign, halign...): remove unneeded functions
1415
1416 2004-04-05  Angus Leeming  <leeming@lyx.org>
1417
1418         * lyxlength.[Ch] (unit_name et al.): const-correct.
1419
1420 2004-04-05  Angus Leeming  <leeming@lyx.org>
1421
1422         * BufferView_pimpl.C:
1423         * buffer.C:
1424         * counters.C:
1425         * cursor.C:
1426         * lyxfunc.C
1427         * paragraph.C:
1428         * pariterator.C:
1429         * text.C:
1430         * text2.C:
1431         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1432
1433 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1436
1437 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1440         * BufferView_pimpl.[Ch] (getStatus)
1441         * BufferView.[Ch] (getStatus): add
1442         * lyxfunc.C (getStatus): move lfuns handled in
1443         BufferView::dispatch to te function above
1444         * Cursor.C (setSelection): set selection() = true
1445
1446 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1447
1448         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1449
1450 2004-03-31  Angus Leeming  <leeming@lyx.org>
1451
1452         * lyxfunc.C (dispatch): Fall through to the generic
1453         Dialogs::show("preamble").
1454
1455 2004-03-31  Angus Leeming  <leeming@lyx.org>
1456
1457         * lyxfunc.C (dispatch): Fall through to the generic
1458         Dialogs::show("spellchecker").
1459
1460 2004-03-31  Angus Leeming  <leeming@lyx.org>
1461
1462         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1463         preferences dialog.
1464
1465 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * BufferView.C
1468         * cursor.[Ch]
1469         * dociterator.[Ch]:
1470         * insetiterator.[Ch]:
1471         * lyxfind.C:
1472         * lyxfunc.C:
1473         * pariterator.[Ch]:
1474         * text2.C:
1475         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1476
1477 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1478
1479         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1480         insets where we are putting the cursor.
1481
1482 2004-03-31  Angus Leeming  <leeming@lyx.org>
1483
1484         * lfuns.h:
1485         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1486
1487         * lyxrc.[Ch] (read, write): overloaded member functions taking
1488         a std::[io]stream arguments.
1489
1490         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1491
1492 2004-03-31  Angus Leeming  <leeming@lyx.org>
1493
1494         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1495         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1496
1497         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1498         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1499
1500 2004-03-31  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1503         the LFUN_ALL_INSETS_TOGGLE code.
1504
1505 2004-03-30  Angus Leeming  <leeming@lyx.org>
1506
1507         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1508         has died. Fall through to the generic Dialogs::show("document").
1509
1510 2004-03-30  Angus Leeming  <leeming@lyx.org>
1511
1512         * lfuns.h:
1513         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1514         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1515
1516         * lyxfunc.C (getStatus, dispatch): define the actions for these
1517         lfuns. Little more than a cut and pste job from ControlDocument.C
1518
1519         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1520
1521 2004-03-30  Angus Leeming  <leeming@lyx.org>
1522
1523         * lfuns.h:
1524         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1525         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1526
1527         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1528         open/closed state of ollapsable insets. Usage:
1529
1530         all-inset-toggle <state> <name>, where
1531         <state> == "open" || "closed" || "toggle" and
1532         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1533
1534         * lyxtext.h, text2.C (toggleInset): removed.
1535
1536         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1537         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1538         now passes LFUN_INSET_TOGGLE to the found inset.
1539
1540         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1541         is now invoked as "all-insets-toggle toggle branch".
1542
1543 2004-03-30  Angus Leeming  <leeming@lyx.org>
1544
1545         * dociterator.C:
1546         * insetiterator.C:
1547         * pariterator.[Ch]: added/corrected header blurb.
1548
1549 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1550
1551         * dociterator.[Ch]: add an inset_ member
1552         (backwardPos): implemented
1553         (backwardPos, forwardPos): use inset_ when the stack is empty.
1554         (doc_iterator_begin, doc_iterator_end): implemented
1555         * pariterator.[Ch]: adjust, add begin, end
1556         * insetiterator.[Ch]: adjust, add begin, end
1557         * cursor.C:
1558         * document.C:
1559         * BufferView.C:
1560         * BufferView_pimpl.C:
1561         * CutAndPaste.C: adjust
1562
1563 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1564
1565         * buffer.C: increment file format to 232.
1566         * LaTeXFeatures.C: add bibtopic package.
1567         * bufferparams.[Ch]: param \use_bibtopic.
1568
1569         * lyxrc.[Ch]: add lyxrc bibtex_command
1570         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1571
1572         * buffer.C: increment file format to 231.
1573
1574 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * dociterator.C: implement forwardPar
1577         * iterators.[Ch]: remove, replaced by
1578         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1579         * BufferView.C:
1580         * BufferView_pimpl.C:
1581         * CutAndPaste.C:
1582         * buffer.C:
1583         * bufferview_funcs.C:
1584         * cursor.C:
1585         * lyxfind.C
1586         * lyxfunc.C
1587         * paragraph_funcs.C
1588         * toc.C:
1589         * Makefile.am: adjust
1590
1591 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1592
1593         * CutAndPaste.C (pasteSelection): fix 2 crashes
1594         (eraseSelection): fix a crash
1595         * paragraph_funcs.C: remove a warning
1596
1597 2004-03-28  Angus Leeming  <leeming@lyx.org>
1598
1599         * lfuns.h:
1600         * LyXAction.C (init): new LFUN_PRINT.
1601
1602         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1603
1604 2004-03-27  Angus Leeming  <leeming@lyx.org>
1605
1606         * lfuns.h:
1607         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1608
1609         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1610
1611 2004-03-27  Angus Leeming  <leeming@lyx.org>
1612
1613         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1614         insetlist always contains non-null pointers to insets.
1615
1616 2004-03-26  Angus Leeming  <leeming@lyx.org>
1617
1618         * src/BufferView_pimpl.C:
1619         * src/CutAndPaste.C:
1620         * src/buffer.C:
1621         * src/iterators.C:
1622         * src/output_plaintext.C:
1623         * src/outputparams.h:
1624         * src/paragraph_funcs.C:
1625         * src/rowpainter.C:
1626         * src/text.C:
1627         * src/text2.C:
1628         * src/frontends/controllers/ControlErrorList.C:
1629         * src/frontends/gtk/FileDialogPrivate.C:
1630         * src/frontends/gtk/GPainter.C:
1631         * src/frontends/gtk/GToolbar.C:
1632         * src/frontends/qt2/QRef.C:
1633         * src/mathed/math_scriptinset.C: squash compiler warnings.
1634
1635 2004-03-26  Angus Leeming  <leeming@lyx.org>
1636
1637         * ispell.C (LaunchIspell::start):
1638         * lyx_cb.C (AutoSaveBuffer::start):
1639         invoke run(DontWait) rather than runNonBlocking().
1640
1641 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1642
1643         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1644
1645 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * kbsequence.C (print): adjust
1648
1649         * kbmap.C (printKeySym): rename and change signature
1650         (printKey): use LyXKeySym::print()
1651
1652 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1653
1654         * undo.C: add using std::advance to compile for stlport
1655
1656 2004-03-24  Angus Leeming  <leeming@lyx.org>
1657
1658         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1659         it leads to a crash when no buffer is present.
1660
1661 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662             Martin Vermeer  <martin.vermeer@hut.fi>
1663
1664         * lyxfunc.C (dispatch):
1665         * bufferparams.C (readToken): use the new LColor::setColor
1666
1667         * LColor.[Ch] (setColor): new version that takes two strings as
1668         argument and creates a new color entry if necessary
1669
1670 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1671
1672         * buffer.C (makeLaTeXFile): if the main latex file that is
1673         processed is usually a subdocument of some master, then pretend
1674         for a while that it is actually the master
1675
1676 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1677
1678         * buffer.C (getLabelList):
1679         (getBibkeyList): use getMasterBuffer()
1680         (getMasterBuffer): new method. Returns the main document in the
1681         case where one is using included documents.
1682
1683 2004-03-25  André Pönitz  <poenitz@gmx.net>
1684
1685         * Makefile.am:
1686         * iterators.[Ch]:
1687         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1688
1689         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1690
1691         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1692         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1693
1694         * ParameterStruct.h: merge with ParagraphParameters
1695
1696         * lyxtext.h: remove LyXText::parOffset() and getPar()
1697
1698         * text3.C: Remove all 'manual' update calls. We do now one per user
1699         interaction which is completely sufficient.
1700
1701         * Bidi.C:
1702         * BufferView.[Ch]:
1703         * BufferView_pimpl.C:
1704         * FontIterator.[Ch]:
1705         * MenuBackend.C:
1706         * ParagraphParameters.[Ch]:
1707         * buffer.C:
1708         * buffer.h:
1709         * bufferlist.C:
1710         * cursor.[Ch]:
1711         * cursor_slice.[Ch]:
1712         * dociterator.[Ch]:
1713         * errorlist.[Ch]:
1714         * factory.C:
1715         * lfuns.h:
1716         * lyxfind.C:
1717         * lyxfunc.C:
1718         * output_docbook.[Ch]:
1719         * output_latex.[Ch]:
1720         * output_linuxdoc.[Ch]:
1721         * output_plaintext.[Ch]:
1722         * paragraph.[Ch]:
1723         * paragraph_funcs.[Ch]:
1724         * paragraph_pimpl.[Ch]:
1725         * rowpainter.C:
1726         * tabular.[Ch]:
1727         * text.C:
1728         * text2.C:
1729         * toc.C:
1730         * undo.[Ch]: adjust
1731
1732         * frontends/controllers/ControlDocument.C:
1733         * frontends/controllers/ControlErrorList.C:
1734         * frontends/controllers/ControlSpellchecker.C:
1735         * insets/inset.C:
1736         * insets/inset.h:
1737         * insets/insetbase.h:
1738         * insets/insetbibitem.C:
1739         * insets/insetbox.C:
1740         * insets/insetbranch.C:
1741         * insets/insetcaption.C:
1742         * insets/insetcharstyle.C:
1743         * insets/insetcharstyle.h:
1744         * insets/insetcollapsable.C:
1745         * insets/insetcollapsable.h:
1746         * insets/insetert.C:
1747         * insets/insetfloat.C:
1748         * insets/insetfoot.C:
1749         * insets/insetmarginal.C:
1750         * insets/insetnote.C:
1751         * insets/insetoptarg.C:
1752         * insets/insettabular.C:
1753         * insets/insettext.C:
1754         * insets/insettext.h:
1755         * insets/insetwrap.C:
1756         * mathed/math_mboxinset.C:
1757         * mathed/math_nestinset.C:
1758         * mathed/math_scriptinset.C:
1759         * mathed/math_scriptinset.h:
1760         * support/types.h:
1761
1762 2004-03-24  Angus Leeming  <leeming@lyx.org>
1763
1764         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1765         deal with any child processes that have finished but are waiting to
1766         communicate this fact to the rest of LyX.
1767
1768 2004-03-24  Angus Leeming  <leeming@lyx.org>
1769
1770         64-bit compile fixes.
1771
1772         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1773         (c-tor): pass lyx::pos_types rather than ints.
1774
1775         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1776         lyx::pos_type.
1777
1778         * text.C (Delete): compile fix.
1779         (getPar): ensure that function declaration is the same as that in
1780         the header file.
1781
1782 2004-03-23  Angus Leeming  <leeming@lyx.org>
1783
1784         * ispell.C (LaunchIspell):
1785         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1786         a boost::shred_ptr rather than a std::auto_ptr.
1787
1788 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1789
1790         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1791         handle LFUN_FILE_INSERT_*
1792
1793         * lyxrc.C (setDefaults, getDescription, output, read):
1794         * lyxrc.h: remove ps_command
1795
1796 2004-03-22  Angus Leeming  <leeming@lyx.org>
1797
1798         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1799         Ensure that error_handler is processed once only and that all data
1800         is saved before attempting to output any warning messages.
1801
1802         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1803
1804 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1805
1806         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1807
1808 2004-03-19  André Pönitz  <poenitz@gmx.net>
1809
1810         * cursor.[Ch] (reset): take main text inset as argument
1811
1812         * BufferView: adjust
1813         * BufferView_pimpl.C: adjust
1814
1815         * paragraph.[Ch]: fix completely broken operator=()
1816
1817 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1818
1819         * LColor.C (getFromLyXName): make sure that the color name is used
1820         as lowercase.
1821
1822 2004-03-17  Angus Leeming  <leeming@lyx.org>
1823
1824         * lfuns.h:
1825         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1826
1827         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1828         dialog and to kill a forked process.
1829
1830 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1831
1832         * text2.C (setCursorFromCoordinates): fix font problem
1833
1834 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1835
1836         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1837         bogus "rebuild cursor" code
1838
1839 2004-03-11  André Pönitz  <poenitz@gmx.net>
1840
1841         * buffer.[Ch]: use InsetText instead of LyXText as container for
1842         the main lyx text.
1843
1844         * dociterator.[Ch]: drop the BufferView * member which is not needed
1845         anymore after the change to buffer.C
1846
1847         * paragraph_funcs.C:
1848         * text.C:
1849         * text2.C:
1850         * BufferView.[Ch]:
1851         * BufferView_pimpl.[Ch]:
1852         * cursor.[Ch]:
1853         * cursor_slice.[Ch]: adjust
1854
1855         * text3.C: fix bug in mathDispatch
1856
1857 2004-03-08  André Pönitz  <poenitz@gmx.net>
1858
1859         * undo.[Ch]: use 'StableDocumentIterator' as base for
1860         the Undo struct.
1861
1862 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1863
1864         * LaTeXFeatures.C:
1865         * bufferparams.[Ch]: add jurabib support and param.
1866
1867         * LaTeX.C: add FIXME/comment.
1868
1869 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1870
1871         * buffer.C: increment file format to 230.
1872
1873 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1874
1875         * cursor.C (dispatch): avoid infinite loops
1876
1877 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1878
1879         * rowpainter.C (paintSelection): fix x coordinates
1880
1881 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * text.C (rowBreakPoint): fix breaking before displayed insets
1884
1885 2004-03-01  André Pönitz  <poenitz@gmx.net>
1886
1887         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1888
1889         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1890
1891         * Makefile.am:
1892         * BufferView.C:
1893         * BufferView_pimpl.C:
1894         * buffer.C:
1895         * lyxfind.C:
1896         * lyxfunc.C:
1897         * text.C:
1898         * text2.C:
1899         * text3.C: adjust
1900
1901 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1902
1903         * lyxtext.h:
1904         * text.C:
1905         * text2.C:
1906         * rowpainter.C:
1907         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1908         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1909
1910 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1911
1912         * Bidi.[Ch] (computeTables): const correctness
1913         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1914         fill_hfill, fill_label_hfill and x from Row
1915         * lyxtext.h: prepareToPrint returns a RowMetrics
1916         * rowPainter.C: adjust
1917         * text.C (prepareToPrint): use width, not textWidth. adjust
1918         (redoParagraphInternal, cursorX): adjust
1919         * text2.C (getColumnNearX): adjust
1920         (init): put a default value to the top LyXText::width
1921
1922 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1925
1926 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1927
1928         * lyxtext.h: add FontIterator class
1929
1930         * text.C (FontIterator, operator*, operator->, operator++): add
1931         (rowBreakPoint, setRowWidth): adjust (fixing a
1932         rebreaking bug)
1933
1934 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1935
1936         * BufferView_pimpl.C (workAreaDispatch): allow also
1937         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1938
1939 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * text.C (rowBreakPoint): fix a bug showing with very large insets
1942
1943 2004-02-25  André Pönitz  <poenitz@gmx.net>
1944
1945         * text3.C:
1946         * cursor.[Ch]: move some mathed specific code to mathed
1947
1948 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1949
1950         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1951         use_tempdir in preferences
1952         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1953         tempfile creation
1954         * lyx_main.C: ensure that tempdir is valid
1955         * lyxlex.h: correct typo
1956         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1957         * paragraph.[Ch] (isMultiLingual): make const
1958         * cursor.[Ch] (openable): make const
1959
1960 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1961
1962         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1963
1964 2004-02-20  André Pönitz  <poenitz@gmx.net>
1965
1966         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1967
1968         * cursor.[Ch]: prepare for localized getStatus()
1969
1970         * lyxtext.h:
1971         * tabular.C:
1972         * text.C:
1973         * text2.C:
1974         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1975
1976 2004-02-20  André Pönitz  <poenitz@gmx.net>
1977
1978         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1979
1980 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1981
1982         * text2.C (setCursorFromCoordinates): switch to absolute coords
1983         (cursorUp): adjust
1984         (cursorDown): adjust
1985         * text3.C (dispatch): adjust
1986
1987 2004-02-16  André Pönitz  <poenitz@gmx.net>
1988
1989         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1990           insets/ChangeLog)
1991
1992         * cursor_slice.[Ch]: remove unneeded acessor function
1993
1994         * lyxtext.h: rename rtl() to isRTL()
1995
1996         * rowpainter.C:
1997         * tabular.C:
1998         * text.C:
1999         * text2.C:
2000         * text3.C: adjust
2001
2002 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2003
2004         * rowpainter.C (paintSelection): coord fix
2005
2006 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2007
2008         * Spacing.C: compile fix
2009
2010 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * cursor.C (dispatch): restore current_ before returning
2013
2014 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2015
2016         * text2.C (cursorUp, cursorDown): fix coords
2017         (moveUp): fix crash
2018
2019 2004-02-12  André Pönitz  <poenitz@gmx.net>
2020
2021         * lyxtext.h:
2022         * text.C:
2023         * text2.C:
2024         * text3.C: add LCursor & parameter to most cursor movement functions
2025           remove usage of LyXText::cursorRow() and cursorPar()
2026
2027         * cursor.[Ch]: add textRow() needed members
2028
2029         * BufferView.C:
2030         * BufferView_pimpl.C:
2031         * paragraph.[Ch]:
2032         * BufferView.C:
2033         * BufferView_pimpl.C: adjust
2034
2035 2004-02-11  André Pönitz  <poenitz@gmx.net>
2036
2037         * lyxfunc.C:
2038         * BufferView.[Ch]:
2039         * BufferView_pimpl.C: shift undo/redo handling
2040
2041         * cursor.[Ch]: fix mathed crash
2042
2043         * lyxfind.C:
2044         * lyxtext.h: move selectionAsText to LCursor
2045
2046         * output_latex.C:
2047         * paragraph.C:
2048         * text.C:
2049         * text2.C:
2050         * text3.C: adjust
2051
2052         * rowpainter.C: fix excessive drawing
2053
2054 2004-02-06  André Pönitz  <poenitz@gmx.net>
2055
2056         * BufferView.[Ch]:
2057         * BufferView_pimpl.[Ch]:
2058         * text3.C: move some text specific LFUN handling
2059
2060 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * text3.C (checkInsetHit): adjust coords
2063         * text2.C (getColumnNearX): adjust coords
2064         (edit): adjust coords
2065         * text.C (getRowNearY): add two asserts
2066
2067 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2068
2069         * converter.C:
2070         * format.C: add using std::distance to compile on gcc 2.95/stlport
2071
2072 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2073
2074         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2075
2076 2004-02-04  André Pönitz  <poenitz@gmx.net>
2077
2078         * BufferView.[Ch] (insertInset):
2079         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2080
2081         * text2.C:
2082         * text3.C: adjust
2083
2084 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2085
2086         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2087         on the default clause of the switch
2088         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2089         wasn't catched by LCursor::dispatch
2090
2091 2004-02-03  André Pönitz  <poenitz@gmx.net>
2092
2093         * BufferView.C:
2094         * cursor.[Ch]: some additional asserts
2095
2096         * undo.[Ch]: remove LyXText dependency in interface
2097
2098         * lyxfunc.C: adjust
2099
2100         * lyxtext.h (firstPar, lastPar): remove dead functions
2101
2102         * text.C:
2103         * text2.C:
2104         * text3.C:
2105         * paragraph.[Ch]: adjust
2106
2107 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2108
2109         * lyxfind.C (find): fix argument order in call to ::find
2110
2111 2004-02-02  André Pönitz  <poenitz@gmx.net>
2112
2113         * cursor.[Ch]: remove direct access to anchor
2114
2115         * text.C: remove findText() hack
2116
2117 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2118
2119         * iterators.[Ch] (lockPath): remove in favour of...
2120         * BufferView.[Ch] (setCursor): this addition
2121         * BufferView.C (putSelectionAt): adjust
2122         * undo.C (performUndoOrRedo): adjust
2123         * lyxfunc.C (dispatch): adjust
2124
2125 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2126
2127         * iterators.C (lockPath): add a missing slice
2128         * undo.C (performUndoOrRedo): remove redundant positioning code
2129
2130 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2131
2132         * vc-backend.C (scanMaster): ";" -> ';'
2133
2134 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2135
2136         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2137         std::binary_function
2138
2139         * lyxtextclass.C (compare_name): rename to...
2140         (LayoutNamesEqual): ...this
2141
2142         * lyxlex_pimpl.C (compare_tags): inherit from
2143         std::binary_function, put back into anon namespace
2144
2145         * lyxfind.C (MatchString): inherig from std::binary_function
2146         (findChange): use empty() istead of !size()
2147
2148         * format.C (FormatNamesEqual): new functor
2149         (getFormat): use it
2150         (getNumber): use it
2151         (add): use it
2152         (erase): use it
2153         (setViewer): use it
2154
2155         * converter.C (compare_Converter): rename to...
2156         (ConverterEqual): ...this, and fixup a bit.
2157         (getConverter): use it, and make function const
2158         (getNumber): use it, and make function const
2159         (add): use it
2160         (erase): use it:
2161
2162         * bufferlist.C: add using boost::bind
2163
2164         * MenuBackend.C (MenuNamesEqual): new functor
2165         (hasMenu): use it, and make function const
2166         (hasSubmenu): use nested bind to get rid of compare_memfun.
2167
2168 2004-01-30  André Pönitz  <poenitz@gmx.net>
2169
2170         * BufferView_pimpl.C:
2171         * cursor.C:
2172         * cursor.h:
2173         * cursor_slice.[Ch]:
2174         * lyxfunc.C:
2175         * lyxtext.h:
2176         * paragraph_funcs.C:
2177         * paragraph_funcs.h:
2178         * rowpainter.C:
2179         * text.C:
2180         * text2.C:
2181         * text3.C: move some of the edit(x,y) handling to the insets
2182         some coordinate changes.
2183
2184 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2185
2186         * text.C: add using statements for std::advance and std::distance
2187
2188         * paragraph.C: add using statement for std::distance
2189
2190         * lyxfind.C: add using statement for std::advance
2191
2192         * cursor.C (region): remove std:: from swap
2193         (openable): use nucleus in stead of operator->
2194
2195         * BufferView.C: add using statements for std::distance and std::swap
2196
2197 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2198
2199         * iterators.C: Remove the pimple, move the needed structures to
2200         the header file. Create accessor for the positions stack.
2201         (asPosIterator): remove function
2202
2203         * PosIterator.C (PosIterator): move constructors to top of file
2204         (PosIterator): reimplement the constructor taking a ParIterator in
2205         terms of setFrom.
2206         (setFrom): new function
2207         (operator!=): inline it
2208
2209 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2210
2211         * lyxfind.C (replaceAll): use std::advance
2212
2213         * iterators.h: inherit from std::iterator.
2214
2215         * PosIterator.C (advance, distance): remove
2216         * PosIterator.h: interit from std::iterator.
2217
2218 2004-01-26  André Pönitz  <poenitz@gmx.net>
2219
2220         * BufferView.[Ch]:
2221         * BufferView_pimpl.[Ch]:
2222         * InsetList.[Ch]:
2223         * PosIterator.[Ch]:
2224         * buffer.h:
2225         * bufferview_funcs.C:
2226         * cursor.[Ch]:
2227         * cursor_slice.h:
2228         * factory.[Ch]:
2229         * iterators.[Ch]:
2230         * lyxfind.C:
2231         * lyxfunc.C:
2232         * lyxtext.h:
2233         * output_docbook.C:
2234         * output_latex.C:
2235         * output_linuxdoc.C:
2236         * output_plaintext.C:
2237         * paragraph.[Ch]:
2238         * paragraph_funcs.[Ch]:
2239         * paragraph_pimpl.[Ch]:
2240         * rowpainter.C:
2241         * tabular.C:
2242         * tabular.h:
2243         * text.C:
2244         * text2.C:
2245         * text3.C: more IU:  dumps most of the rest of the mathcursor
2246     implementation into cursor.[Ch]; "globalize" a bit of it.
2247
2248 2004-01-25  Angus Leeming  <leeming@lyx.org>
2249
2250         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2251
2252 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2253
2254         * LaTeXFeatures.h: add nice_ and nice() const
2255         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2256
2257 2004-01-20  André Pönitz  <poenitz@gmx.net>
2258
2259         * BufferView.[Ch]:
2260         * BufferView_pimpl.C:
2261         * PosIterator.C:
2262         * bufferview_funcs.C:
2263         * cursor.[Ch]:
2264         * cursor_slice.[Ch]:
2265         * factory.C:
2266         * iterators.C:
2267         * lyx_cb.C:
2268         * lyxfind.C:
2269         * lyxfunc.C:
2270         * lyxtext.h:
2271         * rowpainter.C:
2272         * text.C:
2273         * text2.C:
2274         * text3.C:
2275         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2276           LCursor and mathcursor parts to LCursor and InsetBase.
2277
2278 2004-01-15  André Pönitz  <poenitz@gmx.net>
2279
2280         * cursor_slice.[Ch]: add a few covienience functions
2281
2282         * funcrequest.[Ch]: remove BufferView * member
2283
2284         * BufferView_pimpl.C:
2285         * cursor.C:
2286         * factory.[Ch]:
2287         * lyxfind.[Ch]:
2288         * lyxfunc.C:
2289         * lyxtext.h:
2290         * text3.C:
2291         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2292
2293 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2294
2295         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2296         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2297
2298 2004-01-13  André Pönitz  <poenitz@gmx.net>
2299
2300         * textcursor.[Ch]:
2301         * lyxtext.h: hide cursor and selection anchor behind accessor function
2302
2303         * BufferView.C:
2304         * BufferView_pimpl.[Ch]:
2305         * PosIterator.C:
2306         * bufferview_funcs.C:
2307         * cursor.h:
2308         * lyxfind.C:
2309         * lyxfunc.C:
2310         * text.C:
2311         * text2.C:
2312         * text3.C:
2313         * undo.C: adjust
2314
2315         * cursor.h:
2316         * cursor_slice.[Ch]: some integer type changes for inset unification
2317
2318         * lyxcursor.[hC]: remove, it's CursorSlice now.
2319
2320         * Makefile.am:
2321         * BufferView_pimpl.[Ch]:
2322         * bufferview_funcs.C:
2323         * cursor_slice.C:
2324         * lyxtext.h:
2325         * text.C:
2326         * text2.C:
2327         * text3.C:
2328         * textcursor.[Ch]: adjust
2329
2330 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2331
2332         * text2.C (undoSpan): add and use
2333         * text.C (breakParagraph): use undoSpan (fix bug 578)
2334         * lyxtext.h: adjust
2335
2336 2004-01-08  Angus Leeming  <leeming@lyx.org>
2337
2338         * BufferView_pimpl.C (MenuInsertLyXFile):
2339         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2340         * lyxfunc.C (menuNew, open, doImport):
2341         FileFilterList change to the FileDialog open and save functions.
2342
2343 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2344
2345         * ShareContainer.h: make isEqual and isUnique adaptable
2346
2347         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2348
2349 2004-01-07  Angus Leeming  <leeming@lyx.org>
2350
2351         * LyXAction.C:
2352         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2353
2354         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2355
2356         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2357         functions replacing find, replace and replaceAll.
2358
2359         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2360         LFUN_WORDFIND(FORWARD|BACKWARD).
2361
2362 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * text.C (breakParagraph): remove an outdated #warning
2365
2366 2004-01-07  André Pönitz  <poenitz@gmx.net>
2367
2368         * lyxfind.C: somewhat clearer logic
2369
2370         * text.C: prevent crash in cursorX on unitialized row cache
2371
2372 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2373
2374         * lyxcursor.[Ch] (operator>): add
2375         * textcursor.C (selStart, selEnd): use std::min and std::max
2376
2377 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2378
2379         * Chktex.C: include boost/format.hpp
2380
2381 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2382
2383         * InsetList.C: replace functor MathcIt with adaptable functor
2384         InsetTablePosLess
2385         (insetIterator): modify accordingly
2386
2387         * BranchList.h: move the BranchNamesEqual functor here from...
2388         * BranchList.C: ... to here
2389
2390         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2391         SameName and match.
2392         (add): replace a finding loop with std::find_if.
2393
2394 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2395
2396         * output_docbook.C: moving LatexParam functionality into
2397         .layout files
2398
2399 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2400
2401         * buffer.C: increment format to 229.
2402
2403 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2404
2405         * LaTeXFeatures.C:
2406         * lyx_sty.[Ch]: remove minipageindent_def
2407
2408         * LyXAction.C:
2409         * factory.C:
2410         * lfuns.h:
2411         * lyxfunc.C:
2412         * text3.C: remove LFUN_INSET_MINIPAGE
2413
2414 2003-12-28  Angus Leeming  <leeming@lyx.org>
2415
2416         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2417
2418 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2419
2420         * text2.C (setParagraph): fix off-by-one crash
2421
2422 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2423
2424         * output_docbook.C: header stuff for AGU
2425
2426 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2427
2428         * text2.C (redoCursor): remove
2429         * text.C:
2430         * text3.C:
2431         * BufferView_pimpl.C: remove calls to redoCursor and
2432         setCursor(cursor.par(), cursor.pos()) all around
2433
2434 2003-12-15  Angus Leeming  <leeming@lyx.org>
2435
2436         * buffer.C: up the format to 228.
2437
2438 2003-12-15  André Pönitz  <poenitz@gmx.net>
2439
2440         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2441         slices
2442
2443         * Makefile.am:
2444
2445         * BufferView_pimpl.C:
2446         * cursor.[Ch]:
2447         * lyxcursor.[Ch]:
2448         * rowpainter.[Ch]:
2449         * lyxtext.h:
2450         * text.C:
2451         * text2.C:
2452         * text3.C: adjust
2453
2454 2003-12-15  Angus Leeming  <leeming@lyx.org>
2455
2456         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2457         than getFromGUIName to manipulate the color.
2458
2459 2003-12-14  Angus Leeming  <leeming@lyx.org>
2460
2461         * BranchList.[Ch]: minimize the API.
2462         (Branch::getBranch, getColor): now return a 'const &'.
2463         (Branch::setSelected) now returns a bool set to true if the
2464         selection status changes.
2465         (BranchList::clear, size, getColor, setColor, setSelected,
2466         allBranches, allSelected, separator): removed.
2467         (BranchList::find): new functions, returning the Branch with
2468         the given name.
2469         (BranchList::add, remove): return a bool indicating that
2470         the operation was successful.
2471
2472         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2473         new InsetBranch::isBranchSlected member function.
2474
2475         * LColor.[Ch]: mimimize the API.
2476         (fill): renamed as addColor and made private.
2477         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2478         versions of these functions taking a string arg have been removed.
2479
2480         * bufferparams.C (readToken):
2481         * lyxfunc.C (dispatch):
2482         * lyxrc.C (read): changes due to the altered BranchList and
2483         LColor APIs.
2484
2485         * factory.C (createInset, readInset): changes due to altered
2486         InsetBranch c-tor.
2487
2488 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2489
2490         * factory.C:
2491         * lyxfunc.C: remove insetminipage. "minipage-insert"
2492         now produces a frameless minipage box inset.
2493
2494 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * textcursor.[Ch] (selStart,selEnd): add new methods
2497         remove selection::start, end, use LyXCursor::operator<
2498         * lyxcursor.[Ch] (operator<): add
2499         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2500         * BufferView.[Ch] (unsetXSel): add
2501         * text2.C (clearSelection): use unsetXSel,adjust
2502         * text.C: adjust
2503         * text3.C: adjust
2504         * rowpainter.C: adjust
2505         * bufferview_funcs.C (put_selection_at): adjust
2506
2507 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2508
2509         * BufferView_pimpl.C: small coord. correction
2510
2511 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2512
2513         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2514         dragging over the splash screen.
2515
2516 2003-12-11  Angus Leeming  <leeming@lyx.org>
2517
2518         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2519         as it is now handled in LyXText::dispatch.
2520
2521         * text3.C (doInsertInset): remove a level of nesting.
2522
2523 2003-12-11  Angus Leeming  <leeming@lyx.org>
2524
2525         * factory.C (createInset): changes due to the changed interface to
2526         InsetCommandMailer::string2params.
2527
2528 2003-12-10  Angus Leeming  <leeming@lyx.org>
2529
2530         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2531         'dialog-show-new-inset <inset name>'
2532
2533 2003-12-10  Angus Leeming  <leeming@lyx.org>
2534
2535         * buffer.C: up the format to 227.
2536
2537         * factory.C: the box inset is now identified simply by 'Box'.
2538
2539 2003-12-10  Angus Leeming  <leeming@lyx.org>
2540
2541         * buffer.C: up the format to 226.
2542
2543         * factory.C: the note inset is now identified simply by 'Note'.
2544
2545 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2546
2547         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2548         when a pit is enough. Standarize a couple of loops.
2549
2550 2003-12-05  Angus Leeming  <leeming@lyx.org>
2551
2552         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2553         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2554         data to the re-worked "log" dialog.
2555
2556 2003-12-03  André Pönitz  <poenitz@gmx.net>
2557
2558         * PosIterator.C:
2559         * iterators.C:
2560         * lyxtext.h:
2561         * output_latex.C:
2562         * paragraph_funcs.C:
2563         * text.C:
2564         * text2.C: use Inset::getText instead of Inset::getParagraph
2565
2566 2003-12-03  André Pönitz  <poenitz@gmx.net>
2567
2568         * buffer.[Ch]:
2569         * lyxtext.h:
2570         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2571         InsetText::read() as LyXText::read()
2572
2573 2003-12-02  Angus Leeming  <leeming@lyx.org>
2574
2575         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2576         type. Add a comment in the implementation that the function uses
2577         the stream's bad() function rather than fail() as the std::streams
2578         would do.
2579
2580 2003-12-02  André Pönitz  <poenitz@gmx.net>
2581
2582         * lyxlex.[Ch]: make interface more similar to std::stream
2583
2584         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2585
2586 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2587
2588         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2589
2590 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2591
2592         * vspace.[Ch]: remove VSpace::NONE
2593
2594 2003-12-01  André Pönitz  <poenitz@gmx.net>
2595
2596         * buffer.[Ch]:
2597         * lyxtext.h: move ParagraphList member to LyXText
2598         rename LyXText::ownerParagraphs to LyXText::paragraph
2599
2600         * CutAndPaste.C:
2601         * bufferview_funcs.C:
2602         * iterators.[Ch]:
2603         * lyx_cb.C:
2604         * paragraph.C:
2605         * rowpainter.C:
2606         * tabular.C:
2607         * text.C:
2608         * text2.C:
2609         * text3.C: adjust
2610
2611         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2612
2613         * undo.C: fix cursor positioning
2614
2615 2003-12-01  John Levon  <levon@movementarian.org>
2616
2617         * BufferView_pimpl.C: fix a crash on exit with
2618         a buffer open
2619
2620 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2621
2622         * BranchList.C: fix setSelected() method.
2623
2624 2003-11-28  André Pönitz  <poenitz@gmx.net>
2625
2626         * ParagraphParameters.[Ch]:
2627         * ParameterStruct.h: remove space above/below from Paragraph to
2628          InsetVSpace
2629
2630         * BufferView_pimpl.C:
2631         * factory.C:
2632         * lyxfunc.C:
2633         * lyxtext.h:
2634         * output_latex.C:
2635         * paragraph.C:
2636         * paragraph_funcs.C:
2637         * rowpainter.[Ch]:
2638         * text.C:
2639         * text2.C:
2640         * text3.C: adjust
2641
2642 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2643
2644         * factory.C: Syntax change for CharStyles
2645
2646 2003-11-28  André Pönitz  <poenitz@gmx.net>
2647
2648         * BufferView.[Ch]:
2649         * BufferView.[Ch]:
2650         * buffer.[Ch]:
2651         * buffer.[Ch]: move LyXText member
2652
2653 2003-11-28  André Pönitz  <poenitz@gmx.net>
2654
2655         * BufferView.[Ch]: make LyXText * text a private member
2656
2657         * BufferView_pimpl.C:
2658         * cursor.C:
2659         * iterators.C:
2660         * lyx_cb.C:
2661         * lyxfind.C:
2662         * lyxtext.h:
2663         * rowpainter.[Ch]:
2664         * text.C:
2665         * text2.C:
2666         * undo.C: adjust
2667
2668         * output_plaintext.C: cleanup
2669
2670 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2671
2672         * buffer.C:
2673         * lyxtextclass.[Ch]: parametrize SGML document header
2674
2675 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2676
2677         * converter.[Ch]:
2678         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2679         getFlavor().
2680
2681 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2682
2683         * text2.C (setFont): rework using PosIterator (no more recursive)
2684         (setCharFont): no more needed
2685         (setLayout): no more selection cursors fiddling (done by redoCursor)
2686         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2687         destroy remaining ones)
2688
2689 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2690
2691         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2692         * lyxtext.h: ditto
2693         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2694         selection cursors
2695         * lyxfunc.C: adjust
2696         * text3.C: adjust + re-allow multi par depth changes
2697         * textcursor.C: simplify a bit
2698
2699 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2700
2701         * src/buffer.C:
2702         * src/lyxlayout.C:
2703         * src/lyxlayout.h:
2704         * src/lyxtext.h:
2705         * src/output_docbook.C:
2706         * src/output_latex.C:
2707         * src/paragraph.C:
2708         * src/paragraph.h:
2709         * src/sgml.C:
2710         * src/sgml.h:
2711         * src/text2.C: Introducing a number of tags parametrizing various
2712         XML formats that we may want to support
2713
2714 2003-11-25  André Pönitz  <poenitz@gmx.net>
2715
2716         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2717
2718         * lyxtext.h (leftMargin/rightMargin): simplify interface
2719
2720         * rowpainter.C:
2721         * text.C:
2722         * text2.C:
2723         * text3.C: adjust
2724
2725 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2726
2727         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2728         master file to any child files. Fixes bug 546.
2729
2730 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2731
2732         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2733
2734 2003-11-24  André Pönitz  <poenitz@gmx.net>
2735
2736         * rowpainter.C: simplification
2737
2738         * text2.C (updateCounters): remove call to redoParagraph on
2739         changed labels as this is far too expensive.
2740
2741 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2742
2743         * converter.C (convert): fix a crash: this function gets
2744         called with buffer == 0 from importer code.
2745
2746 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2747
2748         * text3.C (cursorPrevious): make sure that we do not compare
2749         iterators form different containers.
2750         (cursorNext): ditto
2751
2752         * rowpainter.C (paintSelection): make sure that we do not compare
2753         iterators from different containers.
2754
2755         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2756         iterators from different ParagraphList containers.
2757         [NEXT] ditto
2758
2759         * text2.C (LyXText): change order of initialization slightly
2760         (operator=): new function. copy all variables except cache_par_
2761         (moveUp): make sure that we do not compare iterators from
2762         different ParagraphList constainers.
2763         (moveDown): ditto
2764
2765         * text.C (firstPar): new function
2766         (lastPar): new function
2767         (endPar): new function
2768
2769         * lyxtext.h: move things around and group public functions, public
2770         variables, private functions, private variables
2771
2772 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2773
2774         * factory.C: change call to InsetERT constructor to avoid
2775         additional invocation of method status
2776         * text2.C (toggleInset): remove redundant update() call
2777         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2778         instead of a Bufferview pointer
2779
2780 2003-11-21  André Pönitz  <poenitz@gmx.net>
2781
2782         * rowpainter.C: simplification
2783
2784 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2785
2786         * text3.C (dispatch): make possible to extend a word/row selection
2787         with the mouse
2788
2789 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2790
2791         * lyxtext.h: x0_,y0_ -> xo_,yo_
2792         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2793         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2794         * rowpainter.C (paintRows): paint full paragraphs
2795
2796 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2797
2798         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2799         screen coordinates)
2800
2801 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2802
2803         * lyxtext.h: add x0_, y0_
2804         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2805         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2806
2807 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2808
2809         * text2.C (setCursorIntern): move the x_target update here *
2810         * text3.C: change some bv() to true/false in calls to
2811         cursorUp/Down/Right/Left
2812         * cursor.C: use helper function.
2813
2814 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2815
2816         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2817         * paragraph_funcs.[Ch]: correct comment
2818         * rowpainter.C: do not paint selections away from bv->cursor()
2819         Fix a long standing selection painting bug.
2820         * text3.C: generalize mouse-selection code to LyXTexts other that
2821         top one
2822         * textcursor.C: do not use y coords if we can use par offsets
2823
2824 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2825
2826         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2827         cursor position after e.g. inset insert)
2828
2829 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2830
2831         * lyxfind.C (replace): adjust to locking removal + some
2832         code simplification
2833
2834 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2835
2836         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2837         of the path
2838
2839 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2840
2841         * lyxlayout.[Ch]:
2842         * output_docbook.C: XML sanitation: new layout
2843         parameters InnerTag and CommandDepth
2844
2845 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2846
2847         * BufferView_pimpl.C:
2848         * factory.C:
2849         * text3.C: Fix the insertion and modification of button-style
2850         insets
2851
2852 2003-11-13  André Pönitz  <poenitz@gmx.net>
2853
2854         * InsetList.[Ch]: remove deleteLyXText
2855
2856         * paragraph.[Ch]: cache beginOfBody position
2857
2858         * Bidi.C:
2859         * text.C:
2860         * text2.C:
2861         * text3.C: remove superfluous update() calls
2862
2863         * vspace.C: cleanup
2864
2865 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2866
2867         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2868         * BufferView.C (fitLockedInsetCursor): remove
2869         * cursor.[Ch] (getDim): add
2870         * text.C (getRowNearY): add faster version
2871         * text3.C: remove some update calls
2872
2873 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2874
2875         * LaTeXFeatures.C:
2876         * LyXAction.C:
2877         * MenuBackend.C:
2878         * MenuBackend.h:
2879         * dispatchresult.h:
2880         * factory.C:
2881         * lfuns.h:
2882         * lyxfunc.C:
2883         * lyxtextclass.C:
2884         * lyxtextclass.h:
2885         * text3.C: The Character Style /XML short element patch.
2886
2887 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2888
2889         * text3.C:
2890         * factory.C: Small step to solving 'unable to insert some insets'
2891         problem
2892
2893 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2894
2895         * cursor.[Ch] (updatePos): new function for updating the y
2896         position of the tip inset
2897         * bufferview_funcs.C (put_selection_at):
2898         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2899
2900 2003-11-11  André Pönitz  <poenitz@gmx.net>
2901
2902         * text.C: remove big comment on invalid Paragraph pointers as it is
2903         not valid anymore
2904
2905 2003-11-11  André Pönitz  <poenitz@gmx.net>
2906
2907         * text_funcs.[Ch]: merge with ...
2908
2909         * text.C: ... this
2910
2911         * lyxtext.h:
2912         * text2.C:
2913         * text3.C: adjust
2914
2915         * Makefile.am: remove text_funcs.[Ch]
2916
2917 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2918
2919         * cursor.C (getPos): return absolute cached y coord
2920
2921         * BufferView_pimpl.C (fitCursor): new simplistic code
2922         (workAreaDispatch): add a fitCursor call
2923
2924 2003-11-10  André Pönitz  <poenitz@gmx.net>
2925
2926         * BufferView.[Ch]:
2927         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2928
2929 2003-11-10  André Pönitz  <poenitz@gmx.net>
2930
2931         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2932         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2933         indicate that the cursor needs to leave an inset
2934
2935         * lyxtext.h: remove inset locking
2936
2937         * cursor.[Ch]: re-implement functionality provided by inset locking
2938
2939         * BufferView.[Ch]:
2940         * BufferView_pimpl.[Ch]:
2941         * LyXAction.C:
2942         * bufferview_funcs.[Ch]:
2943         * factory.C:
2944         * funcrequest.[Ch]:
2945         * iterators.C:
2946         * lyx_cb.C:
2947         * lyxfind.C:
2948         * lyxfunc.C:
2949         * text.C:
2950         * text2.C:
2951         * text3.C:
2952         * undo.C: adjust
2953
2954 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * PosIterator.[Ch]: replace the stack with a vector, add inset
2957         accesor
2958         * iterators.[C]: adjust
2959
2960 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2961
2962         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2963         replaced
2964         * paragraph_funcs.C (readParToken): put the correct id in the
2965         error item, not the id of the top paragraph
2966
2967 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2968
2969         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2970         * bufferview_funcs.C (put_selection_at): use the above
2971
2972 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2973
2974         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2975
2976 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2977
2978         * output_linuxdoc.h:
2979         * output_plaintext.h:
2980         * output.h:
2981         * output_docbook.h: add #include statements
2982
2983 2003-11-05  José Matos  <jamatos@lyx.org>
2984
2985         * output_docbook.[Ch]:
2986         * output_latex.[Ch]:
2987         * output_linuxdoc.[Ch]:
2988         * output_plaintext.[Ch]: New files for output formats.
2989         * output.[Ch]: New file for helper functions.
2990
2991         * buffer.[Ch]:
2992         * paragraph_funcs.[Ch]: output functions moved to new files.
2993
2994         * outputparams.h: rename of latexrunparams.h
2995
2996         * LaTeX.[Ch]:
2997         * buffer.[Ch]:
2998         * bufferlist.[Ch]:
2999         * converter.[Ch]:
3000         * exporter.C:
3001         * paragraph.[Ch]:
3002         * paragraph_funcs.[Ch]:
3003         * paragraph_pimpl.[Ch]:
3004         * tabular.[Ch]: rename ascii to plaintext
3005         and LatexRunParams to OutputParams.
3006
3007 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3008
3009         * iterators.[Ch] (text): require bv argument
3010         * undo.C (recordUndo):
3011         * lyxfunc.C (dispatch):
3012         * bufferview_funcs.C (put_selection_at): adjust
3013
3014 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3015
3016         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3017
3018 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3021         nestings
3022
3023 2003-11-04  André Pönitz  <poenitz@gmx.net>
3024
3025         * cursor.[Ch]: restructure
3026
3027         * BufferView.[Ch]:
3028         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3029
3030         * iterators.[Ch] (asCursor): remove
3031
3032         * lfuns.h: remove LFUN_INSET_EDIT
3033
3034         * lyxfunc.C:
3035         * tabular.C:
3036         * text.C:
3037         * text2.C:
3038         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3039
3040 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3041
3042         * lyxfind.[Ch]: complete overhaul
3043         * BufferView_pimpl.C:
3044         * lyxfunc.C: adjust
3045         * paragraph.[Ch] (insert): add
3046
3047 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * BufferView.[Ch]:
3050         * lyxtext.h:
3051         * text.C: remove dead spellcheck code
3052
3053 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * dispatchresult.h: add a val setter
3056
3057         * cursor.C (dispatch): use a tempvar for data_[i]
3058
3059 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * PosIterator.[Ch]: compile fix
3062
3063 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * text.C (cursorPar): deactivate the cursor cache
3066
3067 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3068
3069         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3070
3071 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * text3.C (dispatch): adjust for new DisptchResult semantics.
3074
3075         * lyxfunc.C (dispatch): handle update when return from
3076         Cursor::dispatch, adjust for new DispatchResult semantics.
3077
3078         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3079         DispatchResult(true) mean to not update. Add class functions for
3080         setting dispatched and update, as well as reading.
3081
3082         * cursor.C (dispatch): don't handle update here
3083
3084 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3085
3086         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3087         * trans_mgr.C: adjust
3088
3089         * paragraph_funcs.C (readParToken): exception safety
3090
3091         * lyxvc.h: store the vcs pointer in a scoped_ptr
3092         * lyxvc.C: adjust
3093
3094         * lyxsocket.C (serverCallback): exception safety
3095
3096         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3097
3098         * ispell.C (clone): make it return a auto_ptr
3099
3100         * factory.C (createInset): exception safety
3101         (readInset): exception safety
3102
3103         * bufferlist.C (newBuffer): exception safety
3104
3105         * Thesaurus.C (Thesaurus): use initialization for aik_
3106
3107         * MenuBackend.C (expandToc): exception safety.
3108
3109 2003-11-03  André Pönitz  <poenitz@gmx.net>
3110
3111         * buffer.C:
3112         * buffer.h:
3113         * bufferview_funcs.C: remove getInsetFromId()
3114
3115         * lyxcursor.[Ch]:
3116         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3117
3118         * lyxfunc.C:
3119         * text2.C:
3120         * text3.C: adjust
3121
3122 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * PosIterator.C (distance, advance): new
3125         * bufferview_funcs.[Ch] (put_selection_at): new
3126         * iterators.[Ch] (lockPath): new
3127
3128 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3129
3130         * iterators.[Ch] (asPosIterator): added
3131         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3132         * PosIterator.[Ch]: added
3133
3134 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3135
3136         * text3.C:
3137         * lyxfunc.C:
3138         * cursor.C (dispatch):
3139         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3140
3141         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3142         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3143         contructor, add a class function dispatched. Remove operator>=
3144
3145 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * debug.C: only use the default constructor for debugstream
3148         (lyxerr) here.
3149
3150         * main.C (main): include debug.h and setup the lyxerr streambuf
3151         here.
3152
3153 2003-10-31  José Matos  <jamatos@lyx.org>
3154
3155         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3156
3157         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3158         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3159         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3160         * paragraph_pimpl.C (simpleTeXSpecialC):
3161         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3162         add LatexRunParams argument.
3163
3164         * exporter.C (Export): change call accordingly.
3165
3166         * latexrunparams.h: add new member to take care of the other backends.
3167 2003-10-30  José Matos  <jamatos@lyx.org>
3168
3169         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3170         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3171         factorise code for paragraph output.
3172         * buffer.[Ch]:
3173         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3174         move functions.
3175
3176 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * text3.C (dispatch):
3179         * lyxfunc.C (dispatch):
3180         * cursor.C (dispatch):
3181         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3182
3183         * dispatchresult.h: make the dispatch_result_t ctor explicit
3184
3185 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3186
3187         * sgml.[Ch]:
3188         * buffer.C: small refactoring of docbook stuff
3189
3190 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3193         meaning.
3194
3195 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3196
3197         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3198         operator dispatch_result_t, and operators for == != and >=
3199
3200         * cursor.C (dispatch): adjust for operator dispatch_result_t
3201         removal. comment out call to update
3202
3203         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3204
3205 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3206
3207         * text3.C:
3208         * text2.C:
3209         * text.C:
3210         * lyxtext.h:
3211         * lyxfunc.C:
3212         * cursor.C:
3213         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3214         (dispatch):
3215
3216         * dispatchresult.h: new file, DispatchResult broken out of
3217         insets/insetbase.h
3218
3219         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3220
3221 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3222
3223         * text.C (rowBreakPoint): put a hack inside #if 0
3224
3225 2003-10-28  André Pönitz  <poenitz@gmx.net>
3226
3227         * lyxtext.h:
3228         * metricsinfo.C:
3229         * paragraph_funcs.C:
3230         * rowpainter.C:
3231         * text.C:
3232         * text2.C: general cleanup (lots of small stuff)
3233
3234 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3235
3236         * text2.C (cursorEnd): simple fix to the "end key goes to one
3237         before the end on last row" bug
3238
3239 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3240
3241         * text.C (backspace): fix the "zombie characters"
3242
3243 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3244
3245         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3246
3247 2003-10-27  André Pönitz  <poenitz@gmx.net>
3248
3249         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3250
3251         * factory.C: handle new InsetPagebreak, InsetLine
3252
3253         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3254         and move handling into new InsetPagebreak, InsetLine
3255
3256         * BufferView_pimpl.C:
3257         * LyXAction.C:
3258         * ParagraphParameters.C:
3259         * ParameterStruct.h:
3260         * lyxfunc.C:
3261         * lyxtext.h:
3262         * paragraph.C:
3263         * paragraph.h:
3264         * paragraph_funcs.C:
3265         * paragraph_pimpl.C:
3266         * rowpainter.C:
3267         * text.C:
3268         * text2.C:
3269         * text3.C: adjust
3270
3271 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * text.C:
3274         * lyxrow_funcs.[Ch]:
3275         * Bidi.C:
3276         * paragraph.C:
3277         * lyxtext.h:
3278         * rowpainter.C:
3279         * text2.C:
3280         * text3.C: remove lastPos uses in favour of Row::endpos
3281
3282 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3283
3284         * undo.C (performUndoOrRedo): fix two crashes by setting a
3285         cursor by hand and reordering some calls. Use bv->lockInset instead
3286         of inset->edit because the latter loses cursor information
3287
3288 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3289
3290         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3291         by Martin
3292         (rowBreakPoint): fix width. change point to point + 1.
3293         Add a missing check.
3294
3295 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3296
3297         * MenuBackend.C:
3298         * lyxfunc.C: fix (at least partly) the problems
3299         with the Nav menu and headers inside branch insets
3300         reported by Kayvan
3301
3302 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3303
3304         * paragraph.C (getChar): add strong asserts
3305
3306         * lyxrow_funcs.C (lastPos): remove hideous hack
3307
3308         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3309         (fill): adjust to that (avoid an infinite loop)
3310
3311 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3312
3313         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3314
3315 2003-10-23  André Pönitz  <poenitz@gmx.net>
3316
3317         * RowList_fwd.h: change list<> to vector<> to gain speed
3318         after suggestion from Alfredo
3319
3320 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3321
3322         * lyxtext.h: move the bidi stuff from here...
3323         * text.C: and here
3324         * text2.C: and here
3325         * Bidi.[Ch]: ... to here
3326
3327 2003-10-23  André Pönitz  <poenitz@gmx.net>
3328
3329         * lyxtext.h:
3330         * text.C (isLastRow, isFirstRow): new functions
3331
3332         * paragraph.h: new width cache member
3333
3334         * rowpainter.C: replace RowList::iterator with Row & where possible
3335
3336         * lyxfunc.C: replace several view()->text with a single call
3337
3338         * toc.C: fix 'unused' warning
3339
3340 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3343         when woring with stream::pos_type
3344         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3345
3346 2003-10-22  André Pönitz  <poenitz@gmx.net>
3347
3348         * lyxtext.h:
3349         * text.C: use Row & instead of RowList::iterator
3350
3351         * lyxrow.h: rename end() to endpos()
3352
3353         * rowpainter.C:
3354         * text.C:
3355         * text2.C: adjust
3356
3357 2003-10-22  Angus Leeming  <leeming@lyx.org>
3358
3359         * buffer.[Ch] (fully_loaded): new member function, returning true
3360         only when the file has been loaded fully.
3361         Used to prevent the premature generation of previews and by the
3362         citation inset to prevent computation of the natbib-style label.
3363
3364         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3365         templates are all set up.
3366
3367         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3368
3369 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3370
3371         * text.C: fixed an "oops" in the "is a bit silly"
3372         bug fix
3373
3374 2003-10-21  André Pönitz  <poenitz@gmx.net>
3375
3376         * FuncStatus.[Ch]: small stuff, whitespace
3377
3378         * lyxfont.[Ch]: operator<<() for debug reasons
3379
3380         * lyxfunc.C:
3381         * lyxrow_funcs.C:
3382         * lyxtext.h: whitespace, spelling
3383
3384         * paragraph.C: naming of variables
3385
3386         * text.C:
3387         * text2.C: small stuff
3388
3389
3390 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * text.C: (1) finish off the inset display() work;
3393         (2) fix the "is a bit silly" bug (accessing char
3394         past end of par).
3395
3396 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3397
3398         * text.C: re-introduce display() for insets, fixing the
3399         various bugs (stretch of line above, math inset
3400         positioning, ...)
3401
3402 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3403
3404         * text.C (rightMargin): remove spurious semicolon
3405
3406         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3407         1415)
3408
3409 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3410
3411         * text3.C: fix one crash due to wrong cursor def
3412
3413 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3414
3415         * vc-backend.C (scanMaster): make the regex static
3416
3417         * LaTeX.C (scanAuxFile): make the regexs static
3418
3419         * text3.C (doInsertInset, dispatch, dispatch):
3420         * text2.C (cursorUp, cursorDown):
3421         * text.C (selectNextWordToSpellcheck):
3422         * BufferView_pimpl.C (dispatch):
3423         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3424
3425 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3426
3427         * lyxsocket.C: include <cerrno>
3428
3429 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * lyxfunc.C (dispatch): remove textcache stuff
3432
3433         * bufferlist.C (release): remove textcache stuff
3434         (closeAll): ditto
3435
3436         * TextCache.C: delete file
3437         * TextCache.h: delete file
3438
3439         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3440
3441         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3442         delete of the bv_->text.
3443         (resizeCurrentBuffer): remove texcache stuff
3444         (workAreaResize): ditto
3445
3446 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3449         action.
3450
3451 2003-10-16  André Pönitz  <poenitz@gmx.net>
3452
3453         * lyxrow.[Ch]:
3454         * paragraph.h:
3455         * rowpainter.C:
3456         * text.C:
3457         * text2.C:
3458         * text3.C: speed up by storing y positions per paragraph plus per-row
3459         offset instead of having a 'full' y position in the row.
3460
3461 2003-10-15  André Pönitz  <poenitz@gmx.net>
3462
3463         * iterators.[Ch]:
3464         * iterators.[Ch]:
3465         * undo.[Ch]: make undo aware of inner insets
3466
3467 2003-10-14  Angus Leeming  <leeming@lyx.org>
3468
3469         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3470         static member functions LyX::ref() and LyX::cref.
3471         (lastfiles): new accessor functions for the new lastfiles_ member var.
3472         (addLyXView, views_): add a new LyXView to the list of views_.
3473         (updateInset): loop over all LyXViews to call their own updateInset
3474         member function, returning a pointer to the Buffer owning the inset.
3475
3476         * BufferView_pimpl.C (loadLyXFile):
3477         * MenuBackend.C (expandLastfiles):
3478         * bufferlist.C (MenuWrite, QuitLyX):
3479         lastfiles is no longer a global variable.
3480         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3481
3482         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3483         static function. Access through LyX::cref().emergencyCleanup().
3484
3485 2003-10-14  André Pönitz  <poenitz@gmx.net>
3486
3487         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3488
3489         * undo.[Ch]: restoring part of 'undo in insets'
3490
3491         * Makefile.am:
3492         * undo_funcs.[Ch]: merge with undo.[Ch]
3493
3494         * tabular.C: small cleansing stuff
3495
3496 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3497
3498         * paragraph_funcs.C (readParToken): report unknown insets as error
3499         boxes. Use the outer paragraph as location (also for unknown
3500         tokens).
3501
3502         * factory.C (readInset): do not abort on reading an unknown inset.
3503         Eat it and return 0.
3504
3505 2003-10-13  Angus Leeming  <leeming@lyx.org>
3506
3507         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3508
3509         * lyxrc.C: displayTranslator is now a function,
3510         declared in GraphicsTypes.h.
3511
3512 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3513
3514         * format.C: new placeholder $$a to pass the socket address.
3515
3516         * bufferlist.[Ch]: new function getBufferFromTmp.
3517
3518         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3519           files in the temporary dir.
3520
3521 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3522
3523         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3524
3525         * Makefile.am: add lyxsocket.[Ch].
3526
3527         * lyx_main.C (error_handler): handle SIGPIPE.
3528
3529 2003-10-13  André Pönitz  <poenitz@gmx.net>
3530
3531         * BufferView_pimpl.C:
3532         * lyxtext.h:
3533         * text.C:
3534         * text2.C:
3535         * text3.C:
3536         * undo_funcs.[Ch]: use paroffset_type instead of
3537           ParagraphList::iterators to prevent multiple conversion
3538           (and get a more robust interface)
3539
3540 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3541
3542         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3543         * lyxtext.h: ditto
3544         * text3.C (dispatch): ditto
3545
3546 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3547
3548         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3549         move the onlyfile, use onlyfile instead of foundfile in a couple
3550         of places.
3551
3552         * DepTable.C (update): flush the error stream a bit more
3553
3554 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3555
3556         * lyxserver.C (callback): adjust
3557
3558         * lyxfunc.C (getStatus): add a missing brace in commented code
3559         (ensureBufferClean): reindent
3560         (dispatch): delete version taking a string
3561
3562 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3563
3564         * LaTeX.C (deplog): move found file handlig from here...
3565         (handleFoundFile): .. to new function here.
3566         (deplog): make sure to discover several files mentioned on the
3567         same log line.
3568
3569 2003-10-10  André Pönitz  <poenitz@gmx.net>
3570
3571         * lyxfunc.C:
3572         * lyxtext.h:
3573         * tabular.C:
3574         * text.C:
3575         * text2.C:
3576         * text3.C: fix some of the tabular crashes
3577
3578 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3579
3580         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3581
3582         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3583
3584 2003-10-09  André Pönitz  <poenitz@gmx.net>
3585
3586         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3587
3588         * BufferView.C:
3589         * BufferView_pimpl.C:
3590         * bufferview_funcs.C:
3591         * lyx_cb.C:
3592         * lyxcursor.C:
3593         * lyxfind.C:
3594         * lyxfunc.C:
3595         * lyxtext.h:
3596         * text.C:
3597         * text2.C:
3598         * text3.C:
3599         * text_funcs.[Ch]:
3600         * textcursor.[Ch]:
3601         * undo_funcs.C: adjust
3602
3603 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * text2.C (incrementItemDepth): new function, use a backtracking
3606         algorithm to discover the correct item depth.
3607         (resetEnumCounterIfNeeded): new function, use a backtracking
3608         algorithm to discover if counter reset is needed.
3609         (setCounter): use them. Simplify a bit. Add different labels for
3610         different item depths for itemize.
3611
3612         * paragraph.C (Paragraph): remove initialization of enumdepth
3613         (operator=): ditto
3614
3615         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3616         enumerate and itemize. Change the type of itemdepth to signed char.
3617
3618 2003-10-08  André Pönitz  <poenitz@gmx.net>
3619
3620         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3621           thing assignable.
3622         * text.C:
3623         * text2.C: adjust
3624
3625         * tabular.[Ch]: fix crash after 'row-insert'
3626
3627 2003-10-08  Angus Leeming  <leeming@lyx.org>
3628
3629         Fix doxygen warnings.
3630
3631         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3632         Remove CutAndPaste:: prefix from header file declaration.
3633
3634         * LColor.h (fill): remove LColor:: prefix from declaration.
3635
3636         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3637         use lyx::depth_type rather than Paragraph::depth_type so that
3638         header file and .C file match.
3639
3640         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3641
3642         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3643         * aspell.C: \file aspell_local.C -> \file aspell.C
3644         * gettext.C: \file gettext.C -> \file src/gettext.C
3645         * gettext.h: \file gettext.h -> \file src/gettext.h
3646         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3647         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3648         * text.C: \file text.C -> \file src/text.C
3649
3650         * toc.C: move comment so that doxygen is not confused.
3651
3652 2003-10-07  Angus Leeming  <leeming@lyx.org>
3653
3654         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3655
3656 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3657
3658         * aspell.C:
3659         * aspell_local.h: add forgotten std::string's.
3660
3661 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3662
3663         * LaTeXFeatures.C:
3664         * LyXAction.C:
3665         * factory.C:
3666         * lfuns.h:
3667         * lyxfunc.C:
3668         * text3.C: The Box patch. Fancybox support, minipage, parbox
3669
3670 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3671
3672         * CutAndPaste.h:
3673         * DepTable.h:
3674         * FloatList.h:
3675         * LaTeXFeatures.h:
3676         * ParagraphParameters.h:
3677         * TextCache.h:
3678         * Thesaurus.h:
3679         * bufferlist.h:
3680         * exporter.h:
3681         * importer.h:
3682         * lastfiles.h:
3683         * lyxfind.h:
3684         * lyxfont.h:
3685         * lyxlex.h:
3686         * lyxtextclasslist.h:
3687         * messages.h:
3688         * paragraph.h:
3689         * paragraph_pimpl.C:
3690         * textcursor.h: add <string> and other small fixes to make Lars'
3691         std::string patch compile with STLport.
3692
3693 2003-10-06  Angus Leeming  <leeming@lyx.org>
3694
3695         * LColor.h: Add missing #include <string>.
3696
3697 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3698
3699         * All most all file in all subdirs: Make <string> be the prefered
3700         way of getting to std::string, add using declarations.
3701
3702 2003-10-06  André Pönitz  <poenitz@gmx.net>
3703
3704         * metricsinfo.C: initialize LyXFont before changing attribute.
3705         (fixes the 'math in \emph is upright' bug)
3706
3707 2003-10-06  André Pönitz  <poenitz@gmx.net>
3708
3709         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3710
3711 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3712
3713         * graph.C:
3714         * paragraph_pimpl.C: Small fixes to build using STLport
3715
3716 2003-10-02  André Pönitz  <poenitz@gmx.net>
3717
3718         * lyxfunc.C:
3719         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3720
3721 2003-10-01  André Pönitz  <poenitz@gmx.net>
3722
3723         * factory.C: assert early
3724
3725 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * lyx_main.C: remove the global debug object
3728
3729         * debug.h: adjust for new debugstream
3730
3731         * debug.C: adjust for new debugstream and keep the global debug
3732         object here.
3733
3734 2003-09-22  Angus Leeming  <leeming@lyx.org>
3735
3736         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3737         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3738         an incomplete class LyXFont.
3739
3740 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3741
3742         * factory.C: bug fix in branches
3743
3744 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3745
3746         * lyxfunc.C (processKeySym): adjust
3747         (dispatch): adjust
3748         (dispatch): change arg name from ev to func, adjust
3749         (sendDispatchMessage): ditto
3750
3751         * lyx_main.C (defaultKeyBindings): adjust keybindings
3752         (deadKeyBindings): ditto
3753
3754         * kbsequence.C (addkey): return a FuncRequest
3755
3756         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3757
3758         * kbmap.C (bind): take a FuncRequest as arg, adjust
3759         (read): adjust
3760         (lookup): adjust
3761         (defkey): change to take a FuncRequest as arg, adjust
3762         (findbinding): take a FuncRequest as arg, adjust.
3763
3764         * funcrequest.h (operator=): added
3765
3766         * funcrequest.C (FuncRequest): default kb_action changed from
3767         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3768
3769         * buffer.C (dispatch): simplify
3770         (dispatch): adjust to take a FuncRequest as arg, adjust
3771
3772         * boost.C (assertion_failed): change assertion message slightly
3773
3774         * ToolbarBackend.C (read): simplify
3775
3776         * MenuBackend.C (binding): adjust call to findbinding, add a
3777         message if no binding is found.
3778         (read): simplify
3779         (expandToc): correct by adding a empty FuncRequest
3780
3781         * LyXAction.C: include <boost/assert.hpp>
3782         (isPseudoAction): delete function
3783         (LookupFunc): change name to...
3784         (lookupFunc): this. change return type to FuncRequest.
3785         (getActionName): take kb_action as arg, simplify
3786         (funcHasFlag): add an assert, simplify.
3787
3788 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * toc.C (action): return a FuncRequest, simplify
3791
3792         * lyxfunc.C (processKeySym): adjust
3793         (getStatus): delete version that takes an int.
3794         (getStatus): adjust
3795         (dispatch): delete version that takes action as int
3796         (dispatch): adjust
3797         (sendDispatchMessage): simplify and adjust
3798
3799         * funcrequest.C (getArg): take unsigned int as arg
3800
3801         * ToolbarBackend.C (read): adjust
3802         (add): delete version that takes func as a string.
3803         (getIton): take a FuncRequest as arg
3804
3805         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3806         action.
3807
3808         * MenuBackend.C (MenuItem): add a new construct that only takes a
3809         Kind, simplify the constructor use for submenus.
3810         (add): adjust
3811         (expandLastfiles): adjust
3812         (expandDocuments): adjust
3813         (expandFormats): adjust
3814         (expandFloatListInsert): adjust
3815         (expandFloatInsert): adjust
3816         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3817
3818         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3819         Remove class variables lyx_pseudo_map and lyx_arg_map
3820
3821         * LyXAction.C (searchActionArg): delete function
3822         (getPseudoAction): delete function
3823         (retrieveActionArg): delete function
3824         (LookupFunc): make it return kb_action, simplify.
3825         (getActionName): simplify
3826
3827         * factory.C (createInset): fix new bug
3828
3829 2003-09-19  Angus Leeming  <leeming@lyx.org>
3830
3831         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3832         masterFilename_ parameter in the include inset.
3833
3834         * factory.C (createInset): changes due to the changes to InsetInclude.
3835
3836 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3837
3838         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3839
3840 2003-09-18  Angus Leeming  <leeming@lyx.org>
3841
3842         * buffer.C:
3843         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3844         Inset::fillWithBibKeys.
3845         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3846
3847 2003-09-18  Angus Leeming  <leeming@lyx.org>
3848
3849         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3850         variables.
3851         (ctor): pass and store a 'Buffer const &'
3852         (buffer): new member function.
3853
3854         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3855         '*this' to the LaTeXFeatures ctor.
3856
3857 2003-09-18  Angus Leeming  <leeming@lyx.org>
3858
3859         * LColor.h:
3860         * lyxfont.C:
3861         * lyxfont.h:
3862         * lyxtext.h:
3863         * text.C: rename EnumLColor as LColor_color.
3864
3865 2003-09-18  Angus Leeming  <leeming@lyx.org>
3866
3867         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3868         remove #include "insets/insetbase.h" from cursor.h.
3869
3870 2003-09-18  Angus Leeming  <leeming@lyx.org>
3871
3872         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3873         InsetOld_code to remove #include "inset.h".
3874
3875         * iterators.C: add #include "insets/inset.h"
3876
3877 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3878
3879         * BufferView.C: remove more locking stuff that apparently doesn't
3880         do anything sensible.
3881
3882 2003-09-16  André Pönitz  <poenitz@gmx.net>
3883
3884         * paragraph.[Ch]:
3885         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3886           performance boost.
3887
3888 2003-09-16  Angus Leeming  <leeming@lyx.org>
3889
3890         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3891
3892         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3893         arg/return type.
3894
3895         * paragraph.h: remove #include "lyxfont.h". Forward declare
3896         LyXFont_size.
3897
3898 2003-09-16  Angus Leeming  <leeming@lyx.org>
3899
3900         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3901         of support/textutils.h.
3902         (isWord): move the contents of support/textutils.h's IsWordChar here.
3903
3904         * buffer.C:
3905         * lyxfind.C:
3906         * rowpainter.C:
3907         * text.C:
3908         * text2.C: add #include "paragraph.h".
3909
3910         * rowpainter.C:
3911         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3912
3913 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3914
3915         * main.C:
3916         * lyx_main.C:
3917         * lyx_cb.C:
3918         * buffer.C:
3919         * LaTeX.C: use namespace alias for lyx::support::os
3920
3921 2003-09-16  Angus Leeming  <leeming@lyx.org>
3922
3923         * bufferparams.C:
3924         * bufferview_funcs.C:
3925         * factory.C:
3926         * lyxfunc.C:
3927         * paragraph_pimpl.C:
3928         * rowpainter.C:
3929         * text.C: add #include "LColor.h".
3930
3931 2003-09-16  Angus Leeming  <leeming@lyx.org>
3932
3933         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3934         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3935         return LyXFont &.
3936         Store the FontBits::color variable as an int rather than as an
3937         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3938         file.
3939
3940         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3941         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3942         string calls together.
3943
3944         * lyxrc.C: add #include "LColor.h".
3945
3946 2003-09-15  Angus Leeming  <leeming@lyx.org>
3947
3948         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3949         a cow_ptr.
3950
3951 2003-09-15  Angus Leeming  <leeming@lyx.org>
3952
3953         * LColor.h: add an EnumLColor wrapper for LColor::color.
3954
3955         * lyxfont.[Ch] (color, setColor, realColor):
3956         * lyxtext.h, text.C (backgroundColor):
3957         pass EnumLColor args to/from the functions, rather than LColor::color
3958         ones.
3959
3960         * lyxfont.h:
3961         * lyxtext.h: forward declare EnumLColor.
3962
3963         * lyx_main.C: add #include "LColor.h".
3964
3965 2003-09-15  Angus Leeming  <leeming@lyx.org>
3966
3967         * .cvsignore: add lyx-gtk.
3968
3969 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3970
3971         * Chktex.C
3972         * LaTeX.C
3973         * LaTeXFeatures.C
3974         * ParagraphParameters.C
3975         * Spacing.C
3976         * buffer.C
3977         * bufferparams.C
3978         * bufferview_funcs.C
3979         * chset.C
3980         * counters.C
3981         * funcrequest.C
3982         * lyxfont.C
3983         * lyxgluelength.C
3984         * lyxlength.C
3985         * paragraph.C
3986         * paragraph_funcs.C
3987         * text3.C
3988         * vc-backend.C: remove usage of STRCONV
3989
3990 2003-09-15  Angus Leeming  <leeming@lyx.org>
3991
3992         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3993         explicitly define the color passed to the painter.
3994
3995 2003-09-15  Angus Leeming  <leeming@lyx.org>
3996
3997         * bufferparams.C (BufferParams): reorder member initializers to avoid
3998         compiler warning.
3999
4000 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4001
4002         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4003         * text.C (updateRowPositions): remove an unusual nop
4004
4005 2003-09-12  André Pönitz  <poenitz@gmx.net>
4006
4007         * BufferView_pimpl.C:
4008         * Bullet.C:
4009         * layout.h:
4010         * lyxfunc.C:
4011         * lyxlayout.[Ch]:
4012         * lyxtextclass.C:
4013         * rowpainter.C:
4014         * text.C:
4015         * text2.C:
4016         * Counters.[Ch]: finish the 'automatic counters' job
4017
4018 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4019
4020         * aspell.C: include <boost/assert.cpp> (compile fix)
4021
4022 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4023
4024         * boost.C (assertion_failed): use lyx::support::abort instead of
4025         assert.
4026
4027 2003-09-10  Angus Leeming  <leeming@lyx.org>
4028
4029         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4030         with their _fwd progeny.
4031
4032 2003-09-09  Angus Leeming  <leeming@lyx.org>
4033
4034         134 files throughtout the source tree: replace 'using namespace abc;'
4035         directives with the appropriate 'using abc::xyz;' declarations.
4036
4037 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4038
4039         * boost.C (emergencyCleanup): moved here from LAssert.c
4040         (assertion_failed): new function, called by BOOST_ASSERT
4041
4042         * several files: change Assert to BOOST_ASSERT
4043
4044 2003-09-09  Angus Leeming  <leeming@lyx.org>
4045
4046         * buffer.[Ch]: Add an Impl class and move Buffer's member
4047         variables into it. As a result move several header files out of
4048         buffer.h.
4049
4050         Add header files to lots of .C files all over the tree as a result.
4051
4052 2003-09-09  Angus Leeming  <leeming@lyx.org>
4053
4054         * buffer.[Ch]: make Buffer's member variables private. Add
4055         accessor functions.
4056
4057         Lots of changes all over the tree as a result.
4058
4059 2003-09-08  Angus Leeming  <leeming@lyx.org>
4060
4061         * graph.C: #include <config.h>.
4062
4063 2003-09-08  Angus Leeming  <leeming@lyx.org>
4064
4065         * BranchList.C:
4066         * BufferView.C:
4067         * BufferView_pimpl.C:
4068         * CutAndPaste.C:
4069         * DepTable.C:
4070         * LaTeX.C:
4071         * LaTeXFeatures.C:
4072         * LyXAction.C:
4073         * MenuBackend.C:
4074         * TextCache.C:
4075         * aspell.C:
4076         * buffer.C:
4077         * bufferlist.C:
4078         * changes.C:
4079         * chset.C:
4080         * converter.C:
4081         * counters.C:
4082         * debug.C:
4083         * graph.C:
4084         * ispell.C:
4085         * lyx_cb.C:
4086         * lyxfind.C:
4087         * lyxfunc.C:
4088         * lyxlex_pimpl.C:
4089         * lyxrc.C:
4090         * lyxrow.C:
4091         * paragraph.C:
4092         * rowpainter.C:
4093         * texrow.C:
4094         * text.C:
4095         * text2.C:
4096         * toc.C: remove redundant using directives.
4097
4098 2003-09-07  Angus Leeming  <leeming@lyx.org>
4099
4100         * LaTeXFeatures.h: remove #include "support/types.h".
4101         * ToolbarBackend.h: remove #include <algorithm>.
4102         * changes.h: remove #include <ctime>.
4103         * debug.h: remove #include <iosfwd>.
4104         * graph.h: remove #include "support/std_string.h".
4105         * lyx_main.h: remove #include <csignal>.
4106         * lyxlex_pimpl.h: remove #include <fstream>.
4107         * sgml.h: remove #include <algorithm>, <utility>.
4108         * toc.h: remove #include "support/std_ostream.h".
4109         Add #include <iosfwd>.
4110
4111 2003-09-07  Angus Leeming  <leeming@lyx.org>
4112
4113         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4114
4115         * converter.h: forward declare LatexRunParams.
4116         * encoding.h: remove #include "lyxrc.h".
4117         * lyxtext.h: remove #include "LColor.h".
4118         * lyxtextclass.h: remove #include "support/types.h".
4119         * trans.h: remove #include "tex-accent.h".
4120         * trans_mgr.h: remove #include "tex-accent.h".
4121         * insets/inset.h: remove #include "support/types.h", <vector>.
4122         * insets/insetcollapsable.h: remove #include "LColor.h".
4123         * insets/insetinclude.h: remove #include "dimension.h".
4124         * insets/insetlatexaccent.h: remove #include "dimension.h".
4125         * insets/insetoptarg.h:: remove #include "insettext.h".
4126         * insets/insettext.h: remove #include "dimension.h",
4127         <boost/shared_ptr.hpp>
4128
4129         * insets/renderers.h: add #include "dimension.h".
4130         * insets/updatableinset.h: add #include "support/types.h".
4131
4132         * many .C files: Associated changes.
4133
4134 2003-09-06  Angus Leeming  <leeming@lyx.org>
4135
4136         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4137         one, inside testInvariant.
4138
4139         * PrinterParams.C: new file.
4140         * PrinterParams.[Ch]: move the function bodies out of line.
4141
4142 2003-09-06  Angus Leeming  <leeming@lyx.org>
4143
4144         * ParagraphParameters.h: forward declare ParameterStruct rather than
4145         including its header file.
4146         (depth): moved out-of-line.
4147
4148 2003-09-06  Angus Leeming  <leeming@lyx.org>
4149
4150         * BufferView_pimpl.h:
4151         * kbmap.h:
4152         * kbsequence.h:
4153         * lyxfunc.h: forward declare LyXKeySym rather than
4154         #include "frontends/LyXKeySym.h".
4155
4156         * BufferView_pimpl.C:
4157         * kbmap.C:
4158         * kbsequence.C:
4159         * lyxfunc.C: associated changes.
4160
4161 2003-09-06  Angus Leeming  <leeming@lyx.org>
4162
4163         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4164         As a result, can remove the #include "insets/inset.h" from BufferView.h
4165
4166 2003-09-06  Angus Leeming  <leeming@lyx.org>
4167
4168         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4169         As a result, can remove the #include "insets/inset.h" from BufferView.h
4170
4171 2003-09-06  Angus Leeming  <leeming@lyx.org>
4172
4173         * buffer_funcs.C:
4174         * buffer.h:
4175         * bufferlist.C:
4176         * BufferView.C:
4177         * bufferview_funcs.C:
4178         * BufferView_pimpl.C:
4179         * CutAndPaste.C:
4180         * lyx_cb.C:
4181         * lyxfunc.C:
4182         * paragraph.h:
4183         * ParagraphParameters.C:
4184         * tabular.C:
4185         * text3.C:
4186         * toc.C:
4187         * undo_funcs.C:
4188         * frontends/controllers/ControlDocument.C:
4189         * insets/insetcaption.C: rearrange the #includes into some sort of
4190         coherent order.
4191
4192         * buffer.h: remove #includes ErrorList.h, undo.h
4193
4194 2003-09-06  Angus Leeming  <leeming@lyx.org>
4195
4196         * support/types.h: add a 'depth_type' typedef, used to store the
4197         nesting depth of a paragraph.
4198
4199         * paragraph.h:
4200         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4201         defining explicitly.
4202
4203         * buffer.h:
4204         * paragraph_funcs.h:
4205         * ParagraphParameters.h:
4206         * sgml.h: use lyx::depth_type rather than Paragraph or
4207         ParameterStruct's depth_type.
4208
4209         * buffer.h
4210         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4211
4212         * BufferView.C:
4213         * BufferView_pimpl.C:
4214         * CutAndPaste.C:
4215         * ParagraphParameters.C:
4216         * buffer_funcs.C:
4217         * bufferlist.C:
4218         * bufferview_funcs.C:
4219         * lyx_cb.C:
4220         * lyxfunc.C:
4221         * tabular.C:
4222         * text3.C:
4223         * toc.C:
4224         * undo_funcs.C:
4225         * frontends/LyXView.C:
4226         * frontends/controllers/ControlDocument.C:
4227         * frontends/controllers/ControlErrorList.C:
4228         * insets/insetbibitem.C:
4229         * insets/insetbranch.C:
4230         * insets/insetcaption.C:
4231         * insets/insetcollapsable.C:
4232         * insets/insetenv.C:
4233         * insets/insetert.C:
4234         * insets/insetfloat.C:
4235         * insets/insetfoot.C:
4236         * insets/insetfootlike.C:
4237         * insets/insetnewline.C:
4238         * insets/insetquotes.C:
4239         * insets/insettabular.C:
4240         * insets/insettext.C:
4241         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4242
4243         * frontends/controllers/ControlChanges.C: #include "changes.h".
4244
4245 2003-09-06  Angus Leeming  <leeming@lyx.org>
4246
4247         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4248         than #including paragraph.h.
4249
4250         * ParagraphList.h:
4251         * RowList.h: deleted. Superfluous.
4252
4253         * CutAndPaste.h:
4254         * iterators.h:
4255         * lyxcursor.h:
4256         * lyxtext.h:
4257         * text_funcs.h:
4258         * undo.h:
4259         * undo_funcs.h:
4260         * insets/inset.h:
4261         * insets/insettext.h: use ParagraphList_fwd.h rather than
4262         ParagraphList.h.
4263
4264         * paragraph.h: don't forward declare ParagraphList.
4265
4266         * buffer.h:
4267         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4268         rather than ParagraphList.h. paragraph.h is still needed for the
4269         Paragraph::depth_type parameters.
4270
4271         * textcursor.h: enable it to compile stand-alone in light of the
4272         above changes.
4273
4274         * bufferview_funcs.C:
4275         * iterators.C:
4276         * lyxfunc.C:
4277         * lyxrow_funcs.C:
4278         * paragraph.C:
4279         * rowpainter.C:
4280         * text.C:
4281         * text2.C:
4282         * text3.C:
4283         * text_funcs.C:
4284         * textcursor.C:
4285         * undo.C:
4286         * frontends/controllers/ControlParagraph.C:
4287         * frontends/controllers/ControlTabular.C:
4288         * insets/insetmarginal.C:
4289         * insets/insetminipage.C:
4290         * insets/insetnote.C:
4291         * insets/insetoptarg.C: add header files needed to compile again.
4292
4293 2003-09-06  Angus Leeming  <leeming@lyx.org>
4294
4295         * RowList_fwd.h: new file, forward-declaring Row rather than
4296         #including lyxrow.h.
4297
4298         * lyxrow_funcs.h:
4299         * lyxtext.h:
4300         * paragraph.h:
4301         * insets/insettext.h: use it instead of RowList.h
4302
4303         * bufferview_funcs.C:
4304         * lyxfunc.C:
4305         * lyxrow_funcs.C:
4306         * paragraph.C:
4307         * rowpainter.C:
4308         * text.C:
4309         * text2.C:
4310         * text3.C: #include "RowList.h".
4311
4312 2003-09-05  Angus Leeming  <leeming@lyx.org>
4313
4314         * factory.C (createInset):
4315         * vspace.C (c-tor): replace sscanf call with an istringstream.
4316         * ispell.C: re-add missing HP/UX headers.
4317         * lyxserver.C: re-add missing  os2 headers.
4318
4319 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4320
4321         * BranchList.C:
4322         * graph.C:
4323         * ispell.C:
4324         * lastfiles.C:
4325         * lyx_cb.C:
4326         * lyxserver.C:
4327         * texrow.C:
4328         * text3.C: re-add missing system headers, needed for 2.95.2.
4329
4330 2003-09-05  Angus Leeming  <leeming@lyx.org>
4331
4332         Changes most place everywhere due to the removal of using directives
4333         from support/std_sstream.h.
4334
4335 2003-09-05  Angus Leeming  <leeming@lyx.org>
4336
4337         Replace LString.h with support/std_string.h,
4338         Lsstream.h with support/std_sstream.h,
4339         support/LIstream.h with support/std_istream.h,
4340         support/LOstream.h with support/std_ostream.h.
4341
4342         Changes resulting throughout the tree.
4343
4344 2003-09-05  Angus Leeming  <leeming@lyx.org>
4345
4346         * sgml.h: ensure that the header file can be compiled stand-alone.
4347         * *.C: strip out redundant #includes. (320 in total.)
4348
4349 2003-09-04  Angus Leeming  <leeming@lyx.org>
4350
4351         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4352         here (from getPackages).
4353
4354         * debug.[Ch]: add a new EXTERNAL tag.
4355
4356 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4357
4358         * text2.C (cursorEnd): simplify
4359         (setCursor): adjust
4360         (getColumnNearX): adjust
4361
4362         * text.C (computeBidiTables): adjust
4363         (fill): adjust
4364
4365         * rowpainter.C (paintChars): adjust
4366         (paintSelection): adjust
4367         (paintChangeBar): adjust
4368         (paintText): adjust
4369
4370         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4371         lastPos instead.
4372         (numberOfSeparators): adjust
4373
4374 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4375
4376         * LyXAction.C:
4377         * box.[Ch]:
4378         * lfuns.h:
4379         * lyxfunc.C:
4380         * text3.C: Restricts the mouse click functionality
4381         of insets like bibtex, include, toc and floatlist to the visible
4382         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4383         up the dialogs. Cursor has to be in front of the inset (i.e.
4384         start of row) for this to function.
4385
4386 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4387
4388         * bufferview_funcs.C (currentState): output row information
4389
4390 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4391
4392         * bufferview_funcs.C (currentState): output paragraph position
4393
4394 2003-09-04  Angus Leeming  <leeming@lyx.org>
4395
4396         * FloatList.h: move out #include "Floating.h".
4397         * LaTeX.h: move out #include "DepTable.h".
4398         * LyXAction.h: move out #include "funcrequest.h".
4399         * buffer.h: move out #include "author.h", "iterators.h".
4400         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4401         * lyx_main.h: move out #include "errorlist.h".
4402         * lyxfunc.h: move out #include "FuncStatus.h".
4403         * lyxtext: move out #include "lyxcursor.h".
4404         * paragraph_pimpl.h: move out #include "counters.h".
4405
4406 2003-09-03  Angus Leeming  <leeming@lyx.org>
4407
4408         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4409         preamble_snippets list, enabling us to add snippets to the preamble
4410         only if the snippet was not there already.
4411
4412 2003-09-04  Angus Leeming  <leeming@lyx.org>
4413
4414         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4415
4416 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4419         update
4420
4421 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4422
4423         * BranchList.C: point fix, earlier forgotten
4424
4425 2003-09-02  Angus Leeming  <leeming@lyx.org>
4426
4427         * box.C (contains): renamed from 'contained' after a fantastic
4428         amount of hot air.
4429
4430 2003-09-02  John Levon  <levon@movementarian.org>
4431
4432         * BufferView.C:
4433         * lyxcursor.h:
4434         * lyxcursor.C:
4435         * lyxfunc.C:
4436         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4437
4438 2003-09-02  John Levon  <levon@movementarian.org>
4439
4440         * text2.C: simplification of cursorEnd(), including partial
4441         fix for bug 1376
4442
4443 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4444
4445         * buffer.C (readFile): add a space
4446
4447 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4450
4451 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4452
4453         * buffer.C (readFile): new function, take a filename and a
4454         ParagraphList::iterator
4455         (readFile): adjust
4456         (readFile): adjust, make it private. don't use setStream, make
4457         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4458         always contain the filename.
4459
4460         * BufferView.C (insertLyXFile): simplify and make it work for
4461         gzipped files.
4462
4463 2003-08-30  John Levon  <levon@movementarian.org>
4464
4465         * Makefile.am: fix dist (from Kayvan)
4466
4467 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * most files: change to use const Buffer refs
4470
4471 2003-08-27  André Pönitz  <poenitz@gmx.net>
4472
4473         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4474         on top of ownerPar().
4475
4476 2003-08-27  John Levon  <levon@movementarian.org>
4477
4478         * funcrequest.C: properly initialise POD members
4479
4480 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4481
4482         * lyxtext.h (top_y): move top_y from here
4483         * text.C:
4484         * text2.C:
4485         * text3.C:
4486         * BufferView.[Ch]:
4487         * BufferView_pimpl.[Ch]: to here
4488         * frontends/screen.C:
4489         * insets/insettabular.C:
4490         * insets/insettext.C: adjust
4491         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4492
4493 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * BufferView.[Ch]:
4496         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4497
4498 2003-08-26  André Pönitz  <poenitz@gmx.net>
4499
4500         * paragraph_func.[Ch] (outerPar): new function
4501
4502         * paragraph.C:
4503         * paragraph_funcs.C:
4504         * paragraph_funcs.h:
4505         * paragraph_pimpl.C:
4506         * text2.C: remove Inset::par_owner
4507
4508 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4509
4510         * lyxrow_funcs.C:
4511         * lyxtext.h:
4512         * text.C:
4513         * text2.C: eliminates the needFullRow/display() stuff
4514         altogether, putting the logic in metrics/draw in the insets.
4515
4516 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * text2.C (redoParagraphInternal, redoParagraphs):
4519         * text.C (redoParagraph): add a call to updateRowPositions at the
4520         end of each 'metrics-like' call. Remove all others.
4521         (getRow): remove the 'y-computing' version.
4522         (getRowNearY): do not compute nor return the real y. Solve the
4523         'y < 0' problem and simplify.
4524
4525 2003-08-22  Angus Leeming  <leeming@lyx.org>
4526
4527         * *.[Ch]: clean-up of licence and author blurbs.
4528         Also move config.h out of a few .h files and into a few .C files.
4529
4530 2003-08-22  André Pönitz  <poenitz@gmx.net>
4531
4532         * lyxrow.[Ch]: add x_ and *fill_ members
4533
4534         * lyxtext.h:
4535         * text.C:
4536         * rowpainter.C:
4537         * text2.C: adjust/remove prepareToPrint() calls
4538
4539 2003-08-22  André Pönitz  <poenitz@gmx.net>
4540
4541         * lyxrow.[Ch]: add  end_ member
4542
4543         * lyxrow_funcs.C: use LyXRow::end_
4544
4545         * lyxtext.h (singleWidth): add LyXFont parameter
4546
4547         * rowpainter.C:
4548         * text2.C: adjust LyXText::singleWidth() calls
4549
4550         * text.C (redoParagraph): simplify row breaking logic
4551
4552
4553 2003-08-19  André Pönitz  <poenitz@gmx.net>
4554
4555         * funcrequest.C: initialize button_ member
4556
4557         * text3.C:
4558         * rowpainter.[Ch]: interface consolidation
4559
4560 2003-08-18  André Pönitz  <poenitz@gmx.net>
4561
4562         * BufferView.C:
4563         * BufferView_pimpl.C:
4564         * lyxfind.C:
4565         * paragraph_funcs.C:
4566         * rowpainter.C:
4567         * text3.C: remove LyXScreen::draw() and fitCursor calls
4568
4569         * BranchList.h: remove spurious semicolons
4570
4571         * MenuBackend.C: fix branchlist related crash
4572
4573 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4574
4575         * BranchList.[Ch]:
4576         * InsetList.[Ch]:
4577         * LColor.[Ch]:
4578         * LyXAction.C:
4579         * Makefile.am:
4580         * MenuBackend.[Ch]:
4581         * bufferparams.[Ch]:
4582         * factory.C:
4583         * lfuns.h:
4584         * lyxfunc.C:
4585         * text3.C: implements the 'branch inset'
4586         idea. This allows the output of various versions of a document
4587         from a single source version, selectively outputing or suppressing
4588         output of parts of the text.
4589         This implementation contains a 'branch list editor' in a separate
4590         tab of the document settings dialog. Branches are user definable
4591         and have a "display colour" to distinguish them on-screen.
4592
4593         ColorHandler was somewhat cleaned up.
4594         (1) make possible a dynamically growing LColor list by allowing
4595         the graphic context cache to grow along (vector);
4596         (2) eliminate an IMHO unnecessary step in colour allocation.
4597
4598 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4599
4600         * BufferView_pimpl.C: compile fix
4601
4602 2003-08-15  André Pönitz  <poenitz@gmx.net>
4603
4604         * rowpainter.C: remove extra metrics calls
4605
4606         * lyxtext.h: merge the two constructors into a single one,
4607           pass reference to owner's par list
4608
4609         * BufferView_pimpl.C:
4610         * text.C:
4611         * text2.C: adjust
4612
4613 2003-08-15  André Pönitz  <poenitz@gmx.net>
4614
4615         * lyxrow_funcs.[Ch]:
4616         * lyxtext.h:
4617         * paragraph.h:
4618         * paragraph_funcs.C:
4619         * rowpainter.C:
4620         * text.C:
4621         * text2.C:
4622         * text3.C:
4623         * text_funcs.C: split LyXText::rowlist_ into individual
4624         Paragraph::rows_ chunks
4625
4626         * BufferView.[Ch]:
4627         * BufferView_pimpl.[Ch]:
4628         * lyxfind.C:
4629         * lyxtext.h:
4630         * text3.C: remove toggleSelection()
4631
4632 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4633
4634         * bufferlist.C: beautify two alerts (shorter text of buttons)
4635         * buffer.C: Remove redundant ' ' from message
4636         * tabular.h:
4637         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4638         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4639         rename VALIGN_CENTER to VALIGN_MIDDLE
4640
4641 2003-08-11  André Pönitz  <poenitz@gmx.net>
4642
4643         * lyxtext.h (getPar):
4644         * text.C: new function
4645
4646 2003-08-11  André Pönitz  <poenitz@gmx.net>
4647
4648         * Makefile.am:
4649         * tracer.[Ch]: remove unneeded files
4650
4651         * InsetList.[Ch]: remove resizeInsetsLyXText()
4652
4653         * lyxtext.h:
4654         * text.C:
4655         * text2.C:
4656         * text3.C: merge insertParagraphs() and appendParagraph()
4657         remove breakAgain(), update()
4658
4659         * BufferView_pimpl.[Ch]:
4660         * bufferview_funcs.[Ch]:
4661         * lyxfunc.C:
4662         * paragraph.[Ch]:
4663         * rowpainter.C:
4664         * tabular.C: adjust after text & InsetList changes.
4665
4666 2003-08-08  André Pönitz  <poenitz@gmx.net>
4667
4668         * text.C (insertChar, backspace): replace rowlist fiddling
4669         with rebreak of full par
4670
4671         * lyxtext.h:
4672         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4673         checkParagraph, updateInset): removed
4674
4675 2003-08-07  André Pönitz  <poenitz@gmx.net>
4676
4677         * paragraph.C:
4678         * text3.C: merge some LFUN handlers, remove dead code
4679
4680 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4681
4682         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4683
4684 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4685
4686         * text2.C (DEPM): fix part of bug 1255 and 1256
4687
4688 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4689
4690         * BufferView_pimpl.C (workAreaDispatch): change to use
4691         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4692         that are no mouse related.
4693
4694 2003-08-05  André Pönitz  <poenitz@gmx.net>
4695
4696         * BufferView.[Ch]:
4697         * BufferView_pimpl.[Ch]:
4698         * bufferview_funcs.C:
4699         * text2.C:
4700         * text3.C: rip out "deep update"
4701
4702         * textcursor.[Ch] (last_sel_cursor): remove unused member
4703
4704 2003-08-04  André Pönitz  <poenitz@gmx.net>
4705
4706         * BufferView.[Ch]:
4707         * BufferView_pimpl.[Ch]:
4708         * ParagraphParameters.C:
4709         * bufferview_funcs.C:
4710         * lyx_cb.C:
4711         * lyxfind.C:
4712         * lyxfunc.C:
4713         * text.C:
4714         * text2.C:
4715         * text3.C: replace "complicated" BufferView::update(...) calls with
4716         simpler ones.
4717
4718         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4719
4720 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4721
4722         * Makefile.am (lyx_SOURCES): add paper.h
4723
4724 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4725
4726         * Makefile.am: move things around so that both lyx-qt and
4727         lyx-xforms can be built (according to --with-frontend). Then lyx
4728         is a symbolic link to lyx-[firstfrontend]
4729
4730 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4731
4732         * Always use std::endl with lyxerr
4733
4734 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4735
4736         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4737
4738 2003-08-01  André Pönitz  <poenitz@gmx.net>
4739
4740         * BufferView.[Ch]:
4741         * BufferView_pimpl.[Ch]:
4742         * lyxfunc.C:
4743         * text3.C: merge BufferView::repaint() and BufferView::update()
4744
4745 2003-08-01  José Matos  <jamatos@lyx.org>
4746
4747         * buffer.[Ch]: file_format is no longer a buffer data element.
4748
4749 2003-08-01  André Pönitz  <poenitz@gmx.net>
4750
4751         * BufferView.C:
4752         * lyxtext.h:
4753         * text.C:
4754         * text2.C: make redoParagraph more independent of current cursor
4755
4756         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4757         * text.C:
4758         * text2.C: remove unneeded members
4759
4760 2003-07-30  André Pönitz  <poenitz@gmx.net>
4761
4762         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4763
4764         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4765           create a single function...
4766
4767         * paragraph_funcs.C (moveItem): ... here.
4768
4769         * text.C:
4770           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4771
4772 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4773
4774         * LColor.[Ch]: Add comment and greyedout logical colors.
4775
4776 2003-07-30  André Pönitz  <poenitz@gmx.net>
4777
4778         * tabular.C: don't use Assert too heavily. This crashes where it
4779           shouldn't
4780
4781 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4782
4783         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4784         is disabled (bug 1232)
4785
4786 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4787
4788         * factory.C: limited 'arg' scope
4789
4790 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4791
4792         * factory.C: fixed Note submenu issues
4793
4794 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * factory.C: submenu for Note/Comment/Greyedout
4797
4798 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4799
4800         * lyx_main.C (LyX):
4801         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4802
4803 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4804
4805         * LaTeXFeatures.C:
4806         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4807         greyedout. Patch provided by Jürgen Spitzmüller.
4808
4809 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4810
4811         * kbmap.C (read): fix error message when reading bind files
4812
4813 2003-07-29  Angus Leeming  <leeming@lyx.org>
4814
4815         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4816         certainly does not do what it purports to do. I am doing it, and
4817         us, a favour by killing it.
4818
4819 2003-07-28  José Matos  <jamatos@lyx.org>
4820
4821         * buffer.C (readBody, do_writeFile):
4822         * paragraph.C(readParagraph): \end_document replaces \the_end.
4823
4824 2003-07-29  André Pönitz  <poenitz@gmx.net>
4825
4826         * BufferView.[Ch]:
4827         * BufferView_pimpl.[Ch]:
4828         * lyxfunc.C:
4829         * text2.C:
4830         * text3.C:
4831         * textcursor.[Ch]: remove toggleToggle & Co
4832
4833 2003-07-28  José Matos  <jamatos@fep.up.pt>
4834
4835         * buffer.C (readParagraph):
4836         * params_func (readParToken, readParagraph):
4837         * paragraph.C (write): \layout -> \begin_layout.
4838
4839 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * lyxlex_pimpl.C (setFile): clean up slightly.
4842
4843         * bufferparams.h: add compressed var
4844
4845         * buffer_funcs.C (readFile): adjust for LyXLex change
4846         (newFile): ditto + simplify
4847
4848         * buffer.C (writeFile): handle writing of compressed files
4849
4850         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4851         Check if the file is compressed and set a bufferparm if so.
4852
4853         * Makefile.am (lyx_LDADD): remove explicit -lz
4854
4855 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4856
4857         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4858         makeDocBookFile): put the real LyX version in the first line of
4859         the file
4860
4861         * version.h:
4862         * version.C.in: remove lyx_docversion
4863
4864         * tabular.C (write_attribute): add a template-based version to
4865         write enums properly
4866
4867 2003-07-28  André Pönitz  <poenitz@gmx.net>
4868
4869         * lyxtext.h:
4870         * text.C:
4871         * text2.C:
4872         * text3.C: use doubles again for x-coordinates. They are needed.
4873
4874 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4875
4876         * messages.C (getLocaleDir): use lyx_localedir()
4877
4878         * lyxlex_pimpl.C (setFile): compress stuff
4879
4880         * buffer.C (writeFile): add some compression stuff
4881         (do_writeFile): new func, dont call expliti close... will this
4882         breake anything?
4883
4884         * Makefile.am (lyx_LDADD): add -lz
4885
4886 2003-07-28  José Matos  <jamatos@fep.up.pt>
4887
4888         * buffer.C: increment file format.
4889         * paragraph_funcs (readParagraph, readParToken):
4890         * paragraph.C (readParagraph): add \end_layout.
4891
4892 2003-07-27  Angus Leeming  <leeming@lyx.org>
4893
4894         * Makefile.am: remove special casing for configure-time setting of
4895         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4896
4897         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4898         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4899
4900 2003-07-26  André Pönitz  <poenitz@gmx.net>
4901
4902         * paragraph_func.[Ch]:
4903         * paragraph.C (realizeFont): inline it whereever it is used
4904
4905         * rowpainter.C:
4906         * text.C:
4907         * text2.C:
4908         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4909
4910
4911 2003-07-26  André Pönitz  <poenitz@gmx.net>
4912
4913         *       lyxtext.h:
4914         * text.C:
4915         * text2.C: get rid of LyXText::need_break_row
4916
4917 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4918
4919         * toc.[Ch]: put namespace toc inside namespace lyx
4920
4921         * MenuBackend.C (expandToc2): adjust for lyx::toc
4922         (expandToc): ditto
4923
4924         * lyxfunc.C (dispatch): adjust for lyx::find
4925
4926         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4927         lyx::find instead. Reorganize a bit.
4928         (LyXReplace): rename to replace
4929         (LyXFind): rename to find
4930
4931         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4932         (dispatch): ditto
4933
4934 2003-07-26  André Pönitz  <poenitz@gmx.net>
4935
4936         * text.C (setHeightOfRow): restrict scope of temporary variable
4937
4938         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4939           code (never has been used?)
4940
4941 2003-07-27  Asger Alstrup  <alstrup@local>
4942
4943         * text.C (fill): Optimise algorithm to exploit that we can reuse
4944         the LyXFont for many characters.
4945         (setHeightOfRow): Same thing.
4946         (rowBreakPoint): Same thing.
4947
4948 2003-07-26  Asger Alstrup  <alstrup@local>
4949
4950         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4951
4952         * text.C (singleWidth): Spurious font copying in hot-spot
4953         singleWidth avoided. Reorder tests for arabic for efficiency.
4954
4955         * text.C (fill): handle empty paragraphs better.
4956
4957 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4958
4959         * ispell.C:
4960         * encoding.h: add includes
4961
4962         * lyxrc.C: remove reading of bind files
4963
4964         * lyx_main.C (init): setup bindings and menus only if we have a
4965         gui.
4966
4967         * kbmap.C (read): new method. Do the actual reading of bind
4968         files.
4969
4970         * converter.C (dvipdfm_options):
4971         * bufferparams.C:
4972         * lyxrc.C (read):
4973         (output): adapt PAPER_* enums.
4974
4975         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4976
4977         * bufferparams.h: remove paper-related enums from there
4978
4979         * paper.h: New file. A trivial header file to hold paper-related
4980         enums. It should later expand to contain many paper-related
4981         horrors access.
4982
4983         * lyxrc.C: declare extern displayTranslator
4984
4985 2003-07-27  José Matos  <jamatos@fep.up.pt>
4986
4987         * tabular.[Ch] (linuxdoc): add support for tables and figures
4988         (linuxdoc).
4989
4990 2003-07-27  José Matos  <jamatos@fep.up.pt>
4991
4992         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4993         consistency in both functions.
4994         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4995
4996 2003-07-26  Asger Alstrup  <alstrup@local>
4997
4998         * rowpainter.C (paintRows): Change algorithm to work directly on
4999         the insets rather than asking every character in the document
5000         whether its an inset.
5001
5002 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * buffer.C (openFileWrite): factorize some code
5005
5006 2003-07-26  Angus Leeming  <leeming@lyx.org>
5007
5008         * lyx_cb.C:
5009         * lyx_main.[Ch]: replace occurances of system_tempdir with
5010         os::getTmpDir().
5011
5012 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * rename Inset to InsetOld
5015
5016 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5017
5018         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5019         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5020         which I think is a bit clearer. EDIT is gone, since it was
5021         premature optimisation, and broken for mathed anyway.
5022         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5023         with cursor positioning in insets as well (math insets still do not
5024         work, but that's a different story anyway.) It mysteriously
5025         crashes sometimes with undo in the first paragraph, but I'm fairly
5026         confident that this is a compiler bug.
5027
5028 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5029
5030         * paragraph.C (Paragraph): adjust for new clone return type
5031         (operator==): ditto
5032         (copyIntoMinibuffer): ditto
5033
5034 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5035
5036         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5037         by not having a special case, and always doing a full rebreak of
5038         the document after undo.
5039
5040 2003-07-23  Angus Leeming  <leeming@lyx.org>
5041
5042         * factory.C (createInset): InsetExternal::setParams now takes a
5043         Buffer const * arg.
5044
5045 2003-07-23  Angus Leeming  <leeming@lyx.org>
5046
5047         * factory.C (createInset): changed interface to the external and
5048         graphics mailers' string2params functions.
5049
5050 2003-07-23  Angus Leeming  <leeming@lyx.org>
5051
5052         * factory.C (createInset): pass a
5053         Buffer const * parameter to InsetExternalMailer's string2params.
5054
5055 2003-07-22  John Levon  <levon@movementarian.org>
5056
5057         * Thesaurus.h: include the right aiksaurus header
5058
5059 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5060
5061         * MenuBackend.C (expand): check menu shortcuts unconditionally
5062
5063 2003-07-21  Angus Leeming  <leeming@lyx.org>
5064
5065         * factory.C (createInset): pass a
5066         buffer_path parameter to InsetGraphicsMailer's string2params.
5067
5068 2003-07-21  Angus Leeming  <leeming@lyx.org>
5069
5070         * BufferView_pimpl.C (buffer):
5071         * buffer.C (d-tor):
5072         * lyx_main.C (LyX):
5073         * lyxfunc.C (dispatch):
5074         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5075         rather than the grfx shortcut.
5076
5077 2003-07-21  André Pönitz  <poenitz@gmx.net>
5078
5079         * rowpainter.C: remove unused variables
5080
5081         * tabular_funcs.C:
5082         * tabular_funcs.h: move to tabular.C
5083         * Makefile.am: adjust
5084
5085         * tabular.[Ch]: basic optical cleaning
5086
5087         * author.h: pass references, not values
5088
5089 2003-07-18  André Pönitz  <poenitz@gmx.net>
5090
5091         * lyxtext.h:
5092         * metricsinfo.C:
5093         * metricsinfo.h:
5094         * rowpainter.C:
5095         * text.C:
5096         * text2.C:
5097         * text3.C: two-phase drawing for InsetText and InsetTabular
5098         some float -> int changes.
5099
5100 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5101
5102         * lyx_main.C: fix the fix
5103
5104 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5105
5106         * lyx_main.C: fix a crash in batch mode if no files specified
5107         * converter.C: ws
5108
5109 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5110
5111         * format.[Ch] (papersize): moved to BufferParams
5112         * converter.[Ch] (dvips_options): moved to BufferParams
5113         (dvipdfm_options): moved to anon namespace
5114         * bufferparams.[Ch]: added above functions.
5115
5116 2003-07-17  André Pönitz  <poenitz@gmx.net>
5117
5118         * lyxtext.h:
5119         * rowpainter.C:
5120         * text2.C: don't call inset->update() anymore
5121
5122         * metricsinfo.[Ch]: add convenience constructor
5123
5124 2003-07-16  André Pönitz  <poenitz@gmx.net>
5125
5126         * lyxcursor.[Ch]:
5127         * lyxfunc.[Ch]:
5128         * text.C:
5129         * text2.C: replace the LyXCursor::irow_ member with
5130          on-demand computation of the value
5131
5132 2003-07-16  John Levon  <levon@movementarian.org>
5133
5134         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5135
5136 2003-07-15  André Pönitz  <poenitz@gmx.net>
5137
5138         * text.C:
5139         * text2.C: remove no more needed refresh_row
5140
5141 2003-07-15  André Pönitz  <poenitz@gmx.net>
5142
5143         * lyxtext.h:
5144         * rowpainter.C:
5145         * text2.C:
5146         * text3.C: refresh_status tristate -> need_update bool
5147
5148 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5149
5150         * lyxtext.h (init): remove reinit argument (act as if always true)
5151         * text2.C: adjust to that
5152
5153 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5154
5155         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5156         * text3.C: use it to delete selections in some cases
5157         (bugs 441, 673, 702, 954).
5158
5159 2003-07-14  André Pönitz  <poenitz@gmx.net>
5160
5161         * rowpainter.[Ch]: reduce interface
5162
5163 2003-07-14  André Pönitz  <poenitz@gmx.net>
5164
5165         * BufferView_pimpl.C:
5166         * text2.C: adjust after removing unused BufferView * argument
5167
5168 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5169
5170         * text2.C (init): fix a crash fired on resize
5171
5172 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5173
5174         * buffer.[Ch]: added new closing signal
5175         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5176         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5177         BufferView::Pimpl via the closing the signal
5178
5179 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5180
5181         * buffer.[Ch]: take out all bv-related from buffer
5182         * BufferView.C:
5183         * BufferView_pimpl.[Ch]: connect to new signals
5184         * CutAndPaste.C: removed useless asserts
5185         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5186         * lyxvc.[Ch]:
5187         * vc-backend.[Ch]:
5188         * lyxfunc.C: moved view-related funciontality from vc here
5189         * paragraph.C: removed outdated comments
5190         * text.C: ws
5191
5192 2003-07-10  André Pönitz  <poenitz@gmx.net>
5193
5194         * BufferView_pimpl.C:
5195         * tabular.h:
5196         * tabular_funcs.C:
5197         * text.C:
5198         * text2.C: remove InsetText::InnerCache, clean up consequences
5199
5200 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5201
5202         * ispell.C: fix two typos in error messages
5203
5204 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5205
5206         * Extend Note inset to other forms of annotation like Comment
5207         and Greyedout. Right button click gives dialog.
5208
5209         Files modified or added (+):
5210
5211         * insetnote.[Ch]
5212         * FormNote.[Ch]      +
5213         * ControlNote.[Ch]   +
5214         * form_note.fd       +
5215         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5216         frontends/controllers
5217         * xforms/Dialogs.C
5218         * factory.C
5219
5220 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5221
5222         * aspell.C: add missing namespace lyx::support
5223
5224 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5225
5226         * BufferView.[Ch] (newFile): Add
5227         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5228         * LaTeX.[Ch] (message): added this signal and use it
5229         * buffer.[Ch] (busy, message): added these signals and use them
5230         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5231         * converter.C:
5232         * exporter.C:
5233         * format.C:
5234         * importer.C: use buffer signals instead of direct bv calling
5235         * lyx_cb.[Ch] (ShowMessage): removed
5236         * lyx_main.C:
5237         * lyxfunc.C:
5238         * paragraph_funcs.C:
5239         * text2.C: use buffer signals
5240
5241 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * introduce namespace lyx::graphics
5244
5245 2003-07-02  André Pönitz  <poenitz@gmx.net>
5246
5247         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5248
5249 2003-07-01  André Pönitz  <poenitz@gmx.net>
5250
5251         * text.C:
5252         * text2.C:
5253         * text3.C:
5254         * text_funcs.[Ch]:
5255         * textcursor.h:
5256         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5257           text*.C to text_func.C
5258
5259 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5260
5261         * introduce namespace lyx::support
5262
5263 2003-06-30  André Pönitz  <poenitz@gmx.net>
5264
5265         * Chktex.C:
5266         * funcrequest.C:
5267         * lyxtext.h:
5268         * text.C: re-enable --with-included-string
5269
5270 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * textcursor.C: add <config.h>
5273
5274         * text.C (getWord): remove const from word_location arg
5275
5276         * lyxvc.C (getLogFile): fix const type order
5277
5278         * lyxtext.h: remove const from word_location arg, add arg name
5279
5280         * lyxlayout.h: currect type on labeltype.
5281
5282         * importer.C: correct \file
5283
5284         * converter.C (intToFormat): use std:: on ret val, ws changes
5285
5286         * bufferlist.h: correct \file
5287
5288         * buffer.C (makeLinuxDocFile): fix const type order
5289         (makeDocBookFile): ditto
5290         (fillWithBibKeys): use std:: on stdlib args.
5291
5292         * CutAndPaste.C: fix authors.
5293         (availableSelections): use std:: on return vector
5294
5295 2003-06-27  André Pönitz  <poenitz@gmx.net>
5296
5297         * BufferView_pimpl.C:
5298         * bufferview_funcs.C:
5299         * lyxcursor.C:
5300         * lyxcursor.h:
5301         * lyxfunc.C:
5302         * lyxtext.h:
5303         * rowpainter.C:
5304         * text.C:
5305         * text2.C:
5306         * text3.C: remove LyXCursor::row_ member
5307
5308         * lyxtext.h:
5309         * text.C: rename fullRebreak() to partialRebreak() and implement
5310           a fullRebreak() that really bereks fully
5311
5312         * textcursor.h: new struct for cursor-related data
5313
5314 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5315
5316         * lyx_main.C (LyX): get full path of document loaded on the
5317         command line
5318
5319 2003-06-26  André Pönitz  <poenitz@gmx.net>
5320
5321         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5322           remove unused/broken operator>,<,>=.
5323
5324         *       text.C: remove only use of broken operator<= in an Assert().
5325
5326 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5327
5328         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5329         moved errorlist_.clear to showErrorList
5330
5331 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5332
5333         * converter.C (scanLog, runLaTeX):
5334         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5335         move the bv->showErrorList call to the callers
5336         * lyxfunc.C: i.e. here...
5337         * text2.C: and here
5338         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5339         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5340         namespace, the second to...
5341         * buffer_funcs (BufferFormat, parseErrors): added
5342         * errorlist.C (ErrorList(TeXErrors const &)): removed
5343
5344 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5345
5346         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5347
5348 2003-06-24  "Garst R. Reese" <reese@isn.net>
5349
5350         * debug.C: fix typo
5351
5352 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5353
5354         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5355
5356         * version.C.in: change docversion to 1.4
5357
5358 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5359
5360         * buffer.C: fix a bug just introduced
5361
5362 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5363
5364         * buffer.[Ch]: added the parseError signal and use it, removed
5365         sgmlError
5366         * BufferView.[Ch] (addError): moved to ...
5367         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5368         to the Buffer::parseError signal to catch (guess what) parse errors
5369         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5370
5371 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5372
5373         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5374         ability to create a buffer and to return an existing one from
5375         the list. Moved these functions to...
5376         * buffer_funcs.[Ch]: added
5377         * BufferView.[Ch] (loadLyXFile): added
5378         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5379         job removed from bufferlist::loadLyXFile.
5380         * buffer.C (setReadOnly): make it work without view
5381         (i.e added an if (users))
5382
5383 2003-06-19  Angus Leeming  <leeming@lyx.org>
5384
5385         * lfuns.h:
5386         * LyXAction.C (init):
5387         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5388         with LFUN_DIALOG_SHOW <name> <data>.
5389
5390 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5391
5392         * CutAndPaste.C (availableSelections): small compilation fix for
5393         ancient (gcc 2.9x) compilers
5394
5395 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5396
5397         * text3.C (cursorNext): add tmp var
5398
5399         * text2.C (updateCounters): for function calling out of for clause
5400         (replaceSelectionWithString): ditto
5401         (insertStringAsParagraphs): ditto
5402         (getColumnNearX): add tmp var
5403         (setCursorFromCoordinates): add tmp var
5404         (cursorDownParagraph): add tmp var
5405         (deleteEmptyParagraphMechanism): add tmp var
5406
5407         * text.C (insertChar): add tmp var
5408
5409         * rowpainter.C (paintDepthBar): add tmp var
5410
5411         * CutAndPaste.C (availableSelections): potentially check all
5412         paragraphs in a cut to fill the shown strings.
5413
5414 2003-06-18  André Pönitz  <poenitz@gmx.net>
5415
5416         * kbmap.[Ch]: use vector<> instead of list<>
5417
5418 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5419
5420         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5421         pasteSelection with index
5422
5423         * text2.C (pasteSelection): modify, call pasteSelection with index
5424
5425         * paragraph.C (asString): reimplement version with no interval to
5426         call the one with interval.
5427
5428         * lyxtext.h: add index arg to pasteSelection
5429
5430         * MenuBackend.C (MenuItem): handle PasteRecent
5431         (Menu::read::Menutags): add md_pasterecent
5432         (read): handle it
5433         (expandPasteRecent): new function
5434         (expand): use it
5435
5436         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5437
5438         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5439         the limited stack
5440         (availableSelections): new function
5441
5442 2003-06-17  Angus Leeming  <leeming@lyx.org>
5443
5444         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5445
5446 2003-06-17  Angus Leeming  <leeming@lyx.org>
5447
5448         * lfuns.h:
5449         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5450
5451         * lyxfunc.C (dispatch): invoke it.
5452
5453 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5454
5455         * iterators.C (operator++, ParPosition): reintroduce some
5456         const_cast for the benefit of older compilers.
5457
5458 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5459
5460         * text3.C (dispatch): do not modify clipboard when doing
5461         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5462         LFUN_DELETE_SKIP on a selection selection
5463
5464 2003-06-16  André Pönitz  <poenitz@gmx.net>
5465
5466         * BufferView.C:
5467         * buffer.C:
5468         * buffer.h:
5469         * paragraph.C:
5470         * tabular.[Ch]: IU of clone() and getLabelList();
5471
5472 2003-06-13  André Pönitz  <poenitz@gmx.net>
5473
5474         * tabular.h: compactification
5475
5476 2003-06-12  André Pönitz  <poenitz@gmx.net>
5477
5478         * tabular.C:
5479         * tabular.h:
5480         * tabular_funcs.h: some renaming plus whitespace
5481
5482 2003-06-12  André Pönitz  <poenitz@gmx.net>
5483
5484         * BufferView.C:
5485         * BufferView_pimpl.C:
5486         * CutAndPaste.C:
5487         * buffer.C:
5488         * iterators.[Ch]:
5489         * lyxfunc.C:
5490         * text.C:
5491         * toc.C: Return a Paragraph & for ParIterator::operator*()
5492
5493 2003-06-11  John Levon  <levon@movementarian.org>
5494
5495         * lyx_main.C:
5496         * ToolbarBackend.h:
5497         * ToolbarBackend.C: add "Toolbars" section and
5498         put the flags there
5499
5500 2003-06-10  Angus Leeming  <leeming@lyx.org>
5501
5502         * lfuns.h:
5503         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5504
5505         * lyxfunc.C (dispatch): invoke it.
5506
5507 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5508
5509         * main.C: protect <ios> with HAVE_IOS
5510         (main): protect sync_with_stdio with HAVE_IOS
5511
5512 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5513
5514         * text2.C (cutSelection): adjust
5515         (pasteSelection): adjust
5516
5517         * messages.C: handle get of empty string
5518
5519         * main.C (main): use sync_with_stdio(false)
5520
5521         * lyxfunc.C (dispatch): adjust
5522
5523         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5524         (WriteAs): remove unneeded BufferView arg.
5525
5526         * bufferparams.h: use correct types on papersize, papersize2 and
5527         paperpackage.
5528
5529         * bufferparams.C (readToken): adjust for type
5530         (writeLaTeX): add missing cases to switch.
5531
5532         * bufferlist.C (quitWriteBuffer): adjust
5533         (close): adjust
5534
5535         * buffer.C (asciiParagraph): remove some commented code.
5536
5537         * CutAndPaste.C: remove current_view extern variable.
5538         (cutSelection): add BufferParams arg.
5539         (eraseSelection): add BufferParams arg.
5540         (pasteSelection): add Buffer const & arg
5541
5542 2003-06-07  John Levon  <levon@movementarian.org>
5543
5544         * buffer.C:
5545         * paragraph_funcs.C:
5546         * paragraph_pimpl.C:
5547         * text.C:
5548         * text2.C:
5549         * paragraph.h:
5550         * paragraph.C: allow InsetERT to freely space lines,
5551         and some consolidation of code
5552
5553 2003-06-06  José Matos  <jamatos@fep.up.pt>
5554
5555         * buffer.C (makeDocBookFile): fix bug #821
5556
5557 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5558
5559         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5560
5561 2003-06-04  Angus Leeming  <leeming@lyx.org>
5562
5563         * buffer.C: bump format to 224.
5564
5565 2003-06-05  André Pönitz  <poenitz@gmx.net>
5566
5567         * text2.C (redoParagraphs): remove two const_cast<>
5568
5569 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5570
5571         * ParagraphList.h: remove last remnants of NO_STD_LIST
5572
5573 2003-06-03  Angus Leeming  <leeming@lyx.org>
5574
5575         * factory.C (createInset): small change to the way InsetExternal's params
5576         are set.
5577
5578 2003-06-04  André Pönitz  <poenitz@gmx.net>
5579
5580         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5581
5582         * paragraph_pimpl.h:
5583         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5584
5585         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5586
5587         * undo_funcs.C: make some simple cases of undo work again
5588
5589 2003-06-03  John Levon  <levon@movementarian.org>
5590
5591         * ispell.C: HPUX doesn't have sys/select.h
5592         (from Albert Chin)
5593
5594 2003-06-03  John Levon  <levon@movementarian.org>
5595
5596         * CutAndPaste.C: update tabular and include inset
5597         buffer references
5598
5599         * buffer.h:
5600         * paragraph.h:
5601         * paragraph.C: remove owningBuffer(), don't pass Buffer
5602         to clone()
5603
5604         * factory.C: insetGraphicsParams changed
5605
5606 2003-06-02  John Levon  <levon@movementarian.org>
5607
5608         * LyXAction.C:
5609         * factory.C:
5610         * lfuns.h:
5611         * lyxfunc.C:
5612         * text3.C: remove insetparent
5613
5614 2003-06-02  John Levon  <levon@movementarian.org>
5615
5616         * buffer.h:
5617         * buffer.C: fix inset_iterator.end(), move out of line
5618         (bug 1149)
5619
5620 2003-06-01  John Levon  <levon@movementarian.org>
5621
5622         * text3.C: use a proper cut/paste when doing inset
5623         insert (from Jürgen Spitzmüller)
5624
5625 2003-06-01  John Levon  <levon@movementarian.org>
5626
5627         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5628
5629 2003-05-30  André Pönitz  <poenitz@gmx.net>
5630
5631         * rowpainter.C: unify second drawing phase
5632
5633 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * trans_mgr.C: remove one case of current_view
5636
5637         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5638
5639         * paragraph_funcs.h: remove paragraph.h include
5640
5641         * paragraph.h: delete NO_STD_LIST stuff
5642
5643         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5644
5645         * buffer.h: remove paragraph.h include
5646
5647         * ParagraphList.C: delete file
5648
5649         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5650
5651         * toc.C (getTocList): adjust
5652
5653         * paragraph_pimpl.C (validate): adjust
5654
5655         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5656
5657         * paragraph.C (Paragraph): adjust
5658         (getPositionOfInset): use const_iterator, adjust
5659         (bibitem): use const_iterator, adjust
5660         (setInsetOwner): adjust
5661
5662         * iterators.C (operator++): adjust
5663
5664         * InsetList.[Ch]: Replace selfmade iterator with standard
5665         vector::iterator also introduce const_iterator. Remove getPos,
5666         getInset and setInset from InsetTable. Adjust accordingly.
5667
5668         * BufferView.C (lockInset): adjust
5669         (ChangeInsets): adjust
5670
5671         * tabular.[Ch]: delete commented same_id functions
5672
5673 2003-05-28  John Levon  <levon@movementarian.org>
5674
5675         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5676
5677 2003-05-28  André Pönitz  <poenitz@gmx.net>
5678
5679         * metricsinfo.[Ch]: remove 'fullredraw' member
5680
5681 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5682
5683         * lyxtextclass.C (operator): remove caching.
5684
5685 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5686
5687         * text3.C: adjust
5688
5689         * text2.C (cursorBottom): adjust
5690         (setCounter): use ParagraphList::find, adjust
5691
5692         * text.C (workWidth): use ParagraphList::find, adjust
5693
5694         * lyxcursor.C (LyXCursor): adjust
5695
5696         * buffer.C (inset_iterator): adjust
5697
5698         * ParagraphList.h: make iterator(value_type) private, make
5699         ParagraphList a friend of iterator.
5700
5701         * ParagraphList.C (find): new function
5702
5703         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5704
5705 2003-05-27  André Pönitz  <poenitz@gmx.net>
5706
5707         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5708
5709 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5710
5711         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5712
5713 2003-05-26  John Levon  <levon@movementarian.org>
5714
5715         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5716
5717 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5718
5719         * remove same_id from function signatures, adjust.
5720
5721 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5724
5725         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5726
5727         * paragraph.C (Paragraph): get rid of same_ids parameter
5728
5729         * ParagraphList.C (insert): adjust
5730         (push_back): adjust
5731
5732 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * paragraph_funcs.C (breakParagraph): adjust
5735         (breakParagraphConservative): adjust
5736
5737         * buffer.C (readParagraph): adjust
5738
5739         * ParagraphList.C (insert): take a reference instead of a pointer
5740         (insert): adjust
5741
5742         * paragraph.[Ch] (id): new function
5743
5744         * bufferlist.C (newFile): adjust
5745
5746         * ParagraphList.C (ParagraphList): adjust
5747         (assign): adjust
5748         (push_back): take a reference instead of a pointer.
5749
5750         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5751
5752         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5753         instead.
5754
5755         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5756         set else use old code.
5757
5758         * ParagraphList.C: remove all NO_NEXT code and only compile this
5759         code of NO_STD_LIST is set.
5760
5761 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * BufferView_pimpl.C:
5764         * TextCache.C:
5765         * TextCache.h:
5766         * bufferlist.C:
5767         * errorlist.h:
5768         * format.C:
5769         * format.h:
5770         * graph.C:
5771         * lyxfunc.C:
5772         * lyxrc.C:
5773         * graphics/GraphicsConverter.C:
5774         * graphics/PreviewLoader.C: header adjustment
5775
5776 2003-05-23  Angus Leeming  <leeming@lyx.org>
5777
5778         * LaTeXFeatures.[Ch] (useBabel): new method.
5779         * bufferparams.C (writeLaTeX): use it.
5780
5781 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * ParagraphList.h (set): remove unused function.
5784
5785 2003-05-23  André Pönitz  <poenitz@gmx.net>
5786
5787         * BufferView.C:
5788         * BufferView_pimpl.C:
5789         * buffer.C:
5790         * buffer.h:
5791         * lyxfunc.C:
5792         * undo_funcs.C: setUndo reworked
5793
5794         * iterators.[Ch]: add access to topmost ParagraphList
5795
5796         * lyxtext.[Ch] (workWidth): add a const
5797
5798 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5799
5800         * texrow.[Ch] (increasePos): remove function
5801         * exporter.C (export): removed unused var and outdated comment
5802
5803 2003-05-23  Angus Leeming  <leeming@lyx.org>
5804
5805         * latexrunparams.h: rename fragile as moving_arg.
5806         * paragraph.C (simpleTeXOnePar): ditto.
5807         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5808
5809 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5812         (createUndo): ditto
5813         (textUndoOrRedo): comment out a currently unused var.
5814
5815         * paragraph.h (NO_NEXT): enable NO_NEXT
5816
5817         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5818
5819         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5820
5821         * exporter.C (Export): adjust for removeAutoInsets removal.
5822
5823         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5824
5825         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5826
5827         * BufferView.[Ch] (removeAutoInsets): delete function
5828
5829 2003-05-22  Angus Leeming  <leeming@lyx.org>
5830
5831         * latexrunparams.h: add a free_spacing variable.
5832
5833         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5834         to pass moving_arg, as the data is stored in runparams.fragile.
5835
5836         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5837         to Inset::latexOptional or to simpleTeXOnePar.
5838
5839         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5840         free_spacing arg to Inset::latexOptional.
5841
5842         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5843         free_spacing arg.
5844
5845 2003-05-22  Angus Leeming  <leeming@lyx.org>
5846
5847         * latexrunparams.h: add fragile and use_babel variables.
5848
5849         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5850         * buffer.C (makeLaTeXFile): store this returned value in
5851         runparams.use_babel, thus passing it to the inset::latex methods.
5852
5853         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5854         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5855
5856         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5857         longer has a fragile arg, as it is stored in runparams.fragile.
5858
5859         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5860         moving_arg parameter as the data is stored in runparams.fragile.
5861
5862         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5863         a fragile parameter as the data is stored in runparams.fragile.
5864
5865 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5866
5867         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5868
5869 2003-05-22  Angus Leeming  <leeming@lyx.org>
5870
5871         * latexrunparams.h: add a 'bool nice' which defaults to false.
5872
5873         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5874         now encapsulated within runparams.
5875
5876         * bufferlist.C (updateIncludedTeXfiles):
5877         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5878
5879 2003-05-22  Angus Leeming  <leeming@lyx.org>
5880
5881         * latexrunparams.h: new file containing struct LatexRunParams.
5882         * Makefile.am: add new file.
5883
5884         * LaTeX.[Ch] (c-tor, run):
5885         * buffer.[Ch] (makeLaTeXFile):
5886         * bufferlist.[Ch] (updateIncludedTeXfiles):
5887         * converter.C (convert, scanLog):
5888         * converter.[Ch] (runLaTeX):
5889         * exporter.C (Export):
5890         * paragraph.[Ch] (simpleTeXOnePar):
5891         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5892         * paragraph_funcs.[Ch] (latexParagraphs):
5893         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5894         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5895         pass around a LatexRunParams parameter.
5896
5897 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * paragraph.[Ch]: remove unused constructor
5900
5901         * ParagraphList.C (erase): new function, taking two iterators
5902
5903 2003-05-22  André Pönitz  <poenitz@gmx.net>
5904
5905         * undo_funcs.C: remove duplicated code
5906
5907         * iterator.[Ch]: operator=
5908
5909 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5910
5911         * tabular.C (SetMultiColumn): ws changes
5912
5913         * rowpainter.C (paintFirst): get rid of a ->previous
5914
5915         * lyx_cb.C (getPossibleLabel): parlist simplification
5916
5917         * BufferView.C (ChangeInsets): simplify slightly.
5918
5919 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5920
5921         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5922         * lfuns.h: new LFUN_SPACE
5923         * lyxfunc.C: protected space has a new lfun
5924         * paragraph_funcs.C: read new space insets
5925         * text3.C:
5926         * factory.C: handle new space insets
5927
5928 2003-05-22  André Pönitz  <poenitz@gmx.net>
5929
5930         * BufferView.C:
5931         * BufferView_pimpl.C:
5932         * buffer.[Ch]:
5933         * lyxfunc.C:
5934         * undo_funcs.C: return a ParIterator from getParFromID.
5935
5936         * iterators.[Ch]: add two const's
5937
5938 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5939
5940         * toc.C (getTocList): adjust
5941
5942         * iterators.[Ch]: rework for parlist
5943
5944         * buffer.C (par_iterator_begin): adjust
5945         (par_iterator_end): adjust
5946
5947         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5948
5949         * BufferView.C (removeAutoInsets): adjust
5950         (ChangeInsets): adjust
5951
5952 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5953
5954         * text.C (top_y): fix bug 1110
5955
5956 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5957
5958         * errorlist.[Ch]: added
5959         * buffer.C:
5960         * BufferView.[Ch]:
5961         * BufferView_pimpl.C:
5962         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5963         instead
5964
5965 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5966
5967         * Makefile.am: ensure that lyx is relinked upon changes to the
5968         various "convenience" libs.
5969
5970 2003-05-20  Angus Leeming  <leeming@lyx.org>
5971
5972         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5973         files are compiled in alphabetical order again.
5974
5975         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5976
5977 2003-05-19  Angus Leeming  <leeming@lyx.org>
5978
5979         * gettext.[Ch]: remove "char const * _(char const *)".
5980
5981 2003-05-19  André Pönitz  <poenitz@gmx.net>
5982
5983         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5984
5985         * Makefile.am:
5986         * BufferView.C:
5987         * DepTable.h:
5988         * LaTeXFeatures.C:
5989         * buffer.C:
5990         * lyxfont.C:
5991         * lyxlex.h:
5992         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5993
5994 2003-05-19  André Pönitz  <poenitz@gmx.net>
5995
5996         * buffer.C:
5997         * lyxlayout.[Ch]:
5998         * lyxtextclass.[Ch]:
5999         * paragraph.C:
6000         * paragraph_funcs.[Ch]:
6001         * text2.C:
6002         * text3.C: more insetenv work
6003
6004 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6005
6006         * ParagraphParameters.C (params2string): small bug fixed
6007
6008 2003-05-16  André Pönitz  <poenitz@gmx.net>
6009
6010         * debug.C:
6011         * bufferview_funcs.C: patch from Kornel Benko to prevent
6012           crash when _(...) is called twice in a statement
6013
6014 2003-05-16  André Pönitz  <poenitz@gmx.net>
6015
6016         * BufferView.C:
6017         * lyxfunc.C:
6018         * text.C:
6019         * text2.C:
6020         * text3.C:
6021         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6022
6023 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6024
6025         * lyx_main.C (init): remove spurious static_cast
6026
6027 2003-05-14  André Pönitz  <poenitz@gmx.net>
6028
6029         * BufferView.C: fix format string
6030
6031 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6032
6033         * BufferView.[Ch] (insertErrors): removed
6034         * BufferView.[Ch] (showErrorList): added
6035         * buffer.C (runChkTeX):
6036         * converter.C (scanLog): call showErrorList instead of inserterrors
6037
6038 2003-05-13  André Pönitz  <poenitz@gmx.net>
6039
6040         * BufferView_pimpl.C:
6041         * buffer.C:
6042         * bufferview_func.C:
6043         * MenuBackend.C:
6044         * lyxfunc.C:
6045         * lyxrc.C:
6046         * tex-accent.C:
6047         * text3.C:
6048         * toc.C:
6049         * tabular_funcs.h: tostr() from its own header
6050
6051         * ParagraphParameters.C:
6052         * ToolbarBackend.C:
6053         * bufferparams.C:
6054         * format.C:
6055         * lyxlex_pimpl.C:
6056         * text3.C: STRCONV()
6057
6058 2003-05-12  André Pönitz  <poenitz@gmx.net>
6059
6060         * BufferView.C:
6061         * BufferView_pimpl.C:
6062         * CutAndPaste.C:
6063         * LaTeX.C:
6064         * LaTeXFeatures.C:
6065         * ParagraphParameters.C:
6066         * buffer.C:
6067         * bufferlist.C:
6068         * bufferparams.C:
6069         * bufferview_funcs.C:
6070         * converter.C:
6071         * counters.C:
6072         * debug.C:
6073         * exporter.C:
6074         * format.C:
6075         * importer.C:
6076         * lyx_cb.C:
6077         * lyx_main.C:
6078         * lyxfont.C:
6079         * lyxfunc.C:
6080         * lyxvc.C:
6081         * paragraph.C:
6082         * paragraph_funcs.C:
6083         * tabular.C:
6084         * tabular_funcs.C:
6085         * text2.C:
6086         * text3.C:  boost::format -> bformat  all over the place
6087
6088
6089 2003-05-09  André Pönitz  <poenitz@gmx.net>
6090
6091         * LColor.[Ch]: Pimpl the #include <map> away
6092
6093 2003-05-09  John Levon  <levon@movementarian.org>
6094
6095         * bufferlist.C: never remove emergency saves
6096
6097 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * Makefile.am: better lib building
6100
6101 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6102
6103         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6104         instead.
6105         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6106         (simpleTeXSpecialChars): adjust
6107         (simpleTeXSpecialChars): adjust
6108         * paragraph.C (simpleTeXOnePar): adjust
6109         * buffer.C (makeLaTeXFile): adjust
6110
6111         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6112
6113         * text2.C (changeDepth): parlist cleanup
6114         (getColumnNearX): ditto
6115
6116         * rowpainter.C (getLabelFont): parlist cleanup
6117
6118         * bufferlist.C (newFile): parlist cleanup
6119
6120         * CutAndPaste.C (eraseSelection): parlist cleanup
6121
6122         * BufferView_pimpl.C (trackChanges): parlist cleanup
6123         (dispatch): ditto
6124
6125         * BufferView.C (lockInset): parlist cleanup.
6126         (ChangeInsets): ditto
6127
6128 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * CutAndPaste.h: Update file header.
6131
6132         * CutAndPaste.C: Update file header.
6133         Store the parts cut out of the Document in a limited_stack.
6134         (copySelection): adjust
6135         (pasteSelection): new function, takes the index in the limited stack.
6136         (nrOfParagraphs): adjust
6137         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6138         simplify error inset insertion.
6139         (checkPastePossible): adjust
6140
6141 2003-05-06  John Levon  <levon@movementarian.org>
6142
6143         * text2.C: don't cast wrap inset to float
6144
6145 2003-05-05  André Pönitz  <poenitz@gmx.net>
6146
6147         * iterator.C:
6148         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6149
6150         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6151           few naked Paragraph *.
6152
6153 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6154
6155         * bufferparams.C: Output warning if a document with missing
6156         TeX document class is loaded
6157         * exporter.C: Disable TeX exports if the document class is missing
6158         * lyxtextclass.C:
6159         * lyxtextclass.h:
6160         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6161         isTeXClassAvailable()
6162
6163 2003-05-03  John Levon  <levon@movementarian.org>
6164
6165         * BufferView.h:
6166         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6167         explicit cursor show/hide
6168
6169         * BufferView_pimpl.h:
6170         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6171         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6172
6173         * lyxfunc.C: hide cursor before dispatching.
6174
6175         * lyx_cb.C:
6176         * lyxfind.C:
6177         * text.C:
6178         * text3.C: remove explicit cursor hides
6179
6180 2003-05-02  André Pönitz  <poenitz@gmx.net>
6181
6182         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6183
6184         * undo_funcs.C:
6185         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6186           linked lists
6187
6188         * text2.C: tiny whitespace
6189
6190 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * undo_funcs.C: almost only ws changes.
6193
6194         * ParagraphList.C (splice): just return if pl is empty.
6195
6196 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6197
6198         * ParagraphList.C (splice): new function.
6199
6200         * CutAndPaste.C (pasteSelection): use it
6201
6202 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * CutAndPaste.C (pasteSelection): remove the last next and
6205         previous from this file.
6206
6207 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * CutAndPaste.C (pasteSelection): more clean up, user proper
6210         ParagraphList functions for pasteing.
6211
6212         * ParagraphList.C (insert): new function, three arg insert
6213
6214 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * ParagraphList.C (insert): new function, three arg insert
6217
6218         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6219         not on paragraphs.
6220
6221 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6222
6223         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6224
6225 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6226
6227         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6228
6229 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6230
6231         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6232         (copySelection): clean up a bit.
6233         (pasteSelection): use make_pair
6234
6235         * ParagraphList.C (ParagraphList): implement copy constructor
6236         (operator=): implement, base on copy constructor.
6237         (assign): new func
6238
6239         * paragraph.C (erase): return a bool
6240
6241         * paragraph_pimpl.C (erasePos): remove function, move contents...
6242         (erase): ... here. Return a bool.
6243         (erase): call erase instead of erasePos.
6244
6245 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6246
6247         * ParagraphList.h: define PitPosPair
6248         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6249         ParagraphList, fix a bug on pasting multiple pars
6250         * text2.C: change interface to C&P
6251
6252 2003-04-30  André Pönitz  <poenitz@gmx.net>
6253
6254         * undo_func.C: revert part of yesterday's patch 2
6255
6256 2003-04-30  John Levon  <levon@movementarian.org>
6257
6258         * LColor.C: s/tabular/table/
6259
6260 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * text3.C (dispatch): do not convert iterator -> pointer
6263         * undo_funcs.C (setCursorParUndo): ditto
6264         * text_funcs.C (transposeChars): ditto
6265
6266         * text2.C (setLayout): ws changes only
6267
6268         * text.C (breakParagraph): do not convert iterator -> pointer
6269         (insertChar): ditto
6270         (acceptChange): ditto
6271         (rejectChange): ditto
6272         (changeCase): ditto
6273         (Delete): ditto
6274         (backspace): ditto
6275
6276         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6277         pointer
6278
6279 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6280
6281         * text3.C (gotoInset): YABG (yet another bad getChar)
6282
6283 2003-04-29  André Pönitz  <poenitz@gmx.net>
6284
6285         * paragraph.h: make operator= private unimplemented as long as
6286           it is unusable
6287
6288         * ParagraphList.C: whitespace
6289
6290         * paragraph.[Ch]:
6291         * paragraph_pimpl.[Ch]:
6292         * paragraph_funcs.C:
6293         * CutAndPaste.C:
6294         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6295
6296         * text2.C:
6297           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6298
6299 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6300
6301         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6302         * paragraph.[Ch] (erase):
6303         * paragraph_pimpl.[Ch] (erase): change return type and value
6304         * text2.C (cutSelection): some rework
6305
6306 2003-04-28  John Levon  <levon@movementarian.org>
6307
6308         * bufferlist.C: changes for unsaved changes dialog
6309
6310 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * bufferlist.C (newFile): set language (messages_) for new
6313         documents also.
6314
6315         * buffer.C (readFile): ws changes only.
6316
6317 2003-04-28  André Pönitz  <poenitz@gmx.net>
6318
6319         * undo_funcs.C:
6320         * lyxfunc.C:
6321         * buffer.[Ch]:
6322         * BufferView_pimpl.C:
6323         * BufferView.C: getParFromID related ParagraphList::iterator changes
6324
6325 2003-04-28  André Pönitz  <poenitz@gmx.net>
6326
6327         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6328           Changes
6329
6330 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * messages.C: remove one more localedir class variable.
6333
6334 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6335
6336         * messages.C (getLocaleDir): singleton generation function
6337         (Pimpl): use it.
6338         (Messages): add a default constructor.
6339
6340         * main.C (main): do not setup localedir here, do not call
6341         gettext_init.
6342
6343         * gettext.C (_): use it.
6344         (gettext_init): delete funciton
6345
6346 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * gettext.C (getLyXMessages): new singleton generating function.
6349
6350         * buffer.C (updateDocLang): adjust
6351
6352         * Makefile.am (messages.o): add target
6353         (main.o): remove target
6354
6355 2003-04-27  John Levon  <levon@movementarian.org>
6356
6357         * bufferlist.C:
6358         * lyx_cb.C:
6359         * lyxfunc.C:
6360         * lyxvc.C: specify cancel button in Alert::prompt
6361
6362 2003-04-26  John Levon  <levon@movementarian.org>
6363
6364         * text3.C:
6365         * lyxfunc.C:
6366         * lfuns.h:
6367         * LyXAction.C: add LFUN_INSET_SETTINGS
6368
6369         * lyxfunc.C: don't enable tabular-feature when there's
6370         just any locking inset
6371
6372 2003-04-26  John Levon  <levon@movementarian.org>
6373
6374         * bufferlist.C: re-add Cancel to buffer close question
6375
6376         * lyxfunc.C: fix import UI a bit
6377
6378 2003-04-25  John Levon  <levon@movementarian.org>
6379
6380         * gettext.C: remove the broken asserts for now
6381
6382 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6383
6384         * messages.C: make case where setlocale cannot comply work better.
6385
6386         * buffer.C (updateDocLang): new function
6387         (changeLanguage): use it
6388         (readFile): use it
6389
6390         * text2.C (setCounter): use B_ a bit.
6391
6392         * lyxlayout.C (Read): be sure to trim the label strings.
6393
6394         * messages.C (Messages): fix typo in comment
6395
6396         * buffer.C (readFile): set message_ after file is loaded.
6397         (makeDocBookFile): remove double return
6398         (changeLanguage): reset message_ upon language change.
6399         (B_): new func, use this to get translated buffer strings.
6400
6401         * main.C: add myself and Jean Marc as authors.
6402
6403 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * messages.[hC]: pimplify Messages, and three different pimpls to be
6406         used in different circumstances.
6407
6408         * gettext.[Ch]: change for use with new message code.
6409
6410 2003-04-24 André Pönitz <poenitz@gmx.net>
6411
6412         * factory.C: support for eqref
6413
6414 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * messages.[Ch]: add missing char
6417
6418         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6419
6420         * messages.[Ch]: New files
6421
6422 2003-04-18  John Levon  <levon@movementarian.org>
6423
6424         * BufferView.h:
6425         * BufferView.C:
6426         * BufferView_pimpl.C:
6427         * lfuns.h:
6428         * LyXAction.C:
6429         * lyxtext.h:
6430         * text2.C: remove layout-copy/paste (bug 778)
6431
6432 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6433
6434         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6435
6436 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6437
6438         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6439         if they succeed. Act accordingly.
6440
6441 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6442
6443         * text2.C (setCharFont): adjust
6444         (setCounter): adjust
6445         (insertStringAsLines): adjust
6446
6447         * text.C (leftMargin): adjust
6448         (setHeightOfRow): adjust
6449
6450         * rowpainter.C (paintFirst): adjust
6451         (paintLast): adjust
6452
6453         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6454         (outerHook): ditto
6455         (isFirstInSequence): ditto
6456         (getEndLabel): ditto
6457         (outerFont): adjust
6458
6459         * paragraph.C (getParLanguage): comment out some hard stuff.
6460
6461         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6462         (sgmlError): ditto
6463         (simpleDocBookOnePar): ditto
6464         (makeDocBookFile): use ParagraphList::iterator
6465
6466         * CutAndPaste.C (pasteSelection): adjust
6467
6468 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * text2.C (getFont): adjust
6471         (getLayoutFont): adjust
6472         (getLabelFont): adjust
6473
6474         * paragraph_funcs.C (TeXOnePar): adjust
6475
6476         * buffer.C (simpleLinuxDocOnePar): adjust
6477         (simpleDocBookOnePar): adjust
6478
6479         * CutAndPaste.C (pasteSelection): adjust
6480
6481         * BufferView.C (getEncoding): adjust
6482
6483         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6484
6485 2003-04-16  John Levon  <levon@movementarian.org>
6486
6487         * lyxfind.C: use parlist stuff for search/changes
6488
6489 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6492
6493         * text2.C (deleteEmptyParagraphMechanism): adjust
6494
6495         * text2.[Ch] (ownerParagraph): delete func (both of them
6496
6497 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6500
6501 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * ParagraphList.C: prepare for NO_NEXT
6504
6505 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * text2.C (getFont): adjust
6508         (getLayoutFont): adjust
6509         (getLabelFont): adjust
6510
6511         * paragraph.C (getFont): adjust
6512         (getLabelFont): adjust
6513         (getLayoutFont): adjust
6514
6515         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6516
6517 2003-04-15  John Levon  <levon@movementarian.org>
6518
6519         From Angus Leeming
6520
6521         * lyx_main.C: handle Include in .ui files
6522
6523 2003-04-15  John Levon  <levon@movementarian.org>
6524
6525         * MenuBackend.C: make the doc files length shorter
6526
6527         * ToolbarBackend.h:
6528         * ToolbarBackend.C: handle toolbar placement flags,
6529         Minibuffer
6530
6531 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6532
6533         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6534         adjust
6535
6536         * paragraph_funcs.C (TeXOnePar): adjust
6537
6538         * paragraph.C (getLabelFont): add outerfont arg, adjust
6539         (getLayoutFont): ditto
6540         (simpleTeXOnePar): adjust
6541
6542         * paragraph_pimpl.C (realizeFont): delete func
6543
6544 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6545
6546         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6547         row argument, constify cur argument.
6548
6549 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6550
6551         * text2.C (getFont): adjust
6552         (getLayoutFont): adjust
6553         (getLabelFont): adjust
6554
6555         * paragraph_funcs.C (TeXOnePar): adjust
6556         (outerFont): new func...
6557         (realizeFont): ...moved out from here, changed this to facilitate
6558         transition
6559
6560         * paragraph.C (getFont): take outerfont as arg, adjust
6561         (simpleTeXOnePar): add outerfont arg, adjust
6562
6563         * buffer.C (simpleLinuxDocOnePar): adjust
6564         (simpleDocBookOnePar): adjust
6565
6566         * CutAndPaste.C (pasteSelection): adjust
6567
6568         * BufferView.C (getEncoding): adjust
6569
6570 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * text2.C (setCharFont): adjust
6573         (setCounter): adjust
6574
6575         * text.C (leftMargin): adjust
6576         (setHeightOfRow): adjust
6577
6578         * rowpainter.C (paintFirst): adjust
6579         (paintLast): adjust
6580
6581         * paragraph_pimpl.C (realizeFont): adjust
6582
6583         * paragraph.C (isFirstInSequence): move from here...
6584         * paragraph_funcs.C (isFirstInSequence): ...to here
6585
6586         * paragraph.C (outerHook): move from here...
6587         * paragraph_funcs.C (outerHook): ...to here
6588
6589         * paragraph.C (depthHook): move from here...
6590         * paragraph_funcs.C (depthHook): ...to here
6591
6592         * paragraph.C (getEndLabel): move from here...
6593         * paragraph_funcs.C (getEndLabel): ...to here
6594
6595         * text2.C (realizeFont): move from here...
6596         * paragraph_funcs.C (realizeFont): ...to here
6597
6598 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6599
6600         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6601
6602 2003-04-14  Angus Leeming  <leeming@lyx.org>
6603
6604         * LColor.[Ch]: scrap LColor mathcursor.
6605
6606 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6607
6608         * lyxlex.[Ch] (text): delete function
6609         * trans.C (Load): adjust
6610         * paragraph_funcs.C (readParToken): adjust
6611
6612 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6613
6614         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6615         vector<char> instead of a char[].
6616
6617         * lyxlex_pimpl.C (getString): adjust
6618         (next): adjust
6619         (lex): use getString
6620         (eatLine): adjust
6621         (nextToken): adjust
6622
6623         * lyxlex.C (text): use pimpl_->getString()
6624         (getBool): ditto
6625         (findToken): ditto
6626
6627 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6630         (makeFontEntriesLayoutSpecific): temp var for par.size()
6631         (setLayout): temp var for ownerParagraphs().end()
6632         (fullRebreak): temp var for rows().end()
6633         (selectionAsString): temp var for boost::next(startpit), realize
6634         that the while really is a regular for loop.
6635         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6636         setCursor in one place.
6637         (setParagraph): temp vr for ownerParagraphs().end()
6638         (updateCounters): make the while loop a for loop
6639         (cutSelection): temp var for ownerParagraphs().end()
6640         (updateInset): make the do {} while() a regular for loop
6641         (getCursorX): use temp vars
6642         (setCurrentFont): use temp vars
6643         (getColumnNearX): use temp vars
6644
6645 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6646
6647         * text.C (transformChar): use temp var for getChar
6648         (computeBidiTables): use temp var for row->par()
6649         (fill): move temp vars for row->par() and pit->layout() earlier in
6650         the function.
6651         (labelFill): use temp var for row->par()
6652         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6653         asc and desc, realize that pit never changes and that firstpit is
6654         just a duplicate and not needed. Exchange rit->par() with pit in a
6655         lot of places.
6656         (breakAgain): use a temp var for boost::next(rit)
6657         (breakAgainOneRow): ditto
6658         (breakParagraph): use a temp var for rows().begin()
6659         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6660         (cursorRightOneWord): use temp var for cursor.par() and
6661         cursor.pos(), remove usage of tmpcursor.
6662         (cursorLeftOneWord): use temp var for cursor.par() and
6663         cursor.pos() only set cur at end of function.
6664
6665 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6666
6667         * text.C, text2.C: exchange all usage of Paragraph::next with
6668         boost::next(ParagraphList::iterator)
6669
6670         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6671
6672         * text2.C (cursorTop): simplify implementation
6673         (cursorBottom): ditto
6674         (setParagraph): use ParagraphList::iterator
6675         (setCurrentFont): adjust
6676         (getColumnNearX): adjust
6677         (cursorRight): adjust
6678         (cursorLeft): remove usage of Paragraph::previous
6679         (cursorUpParagraph): ditto
6680         (deleteEmptyParagraphMechanism): slight cleanup
6681
6682         * text.C (isBoundary): take a Paragraph const & instead of a
6683         pointer as arg.
6684         (addressBreakPoint): ditto
6685         (leftMargin): remove usage of Paragraph::previous.
6686         (setHeightOfRow): ditto
6687         (cursorLeftOneWord): ditto
6688         (selectNextWordToSpellcheck): ditto
6689         (Delete): ditto
6690         (backspace): ditto
6691         (breakParagraph): remove one usage of Paragraph::next
6692         (redoParagraph): ditto
6693         (acceptChange): ditto
6694         (insertChar): adjust
6695         (rowBreakPoint): adjust
6696
6697         * bufferview_funcs.C (toggleAndShow): adjust
6698
6699 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6700
6701         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6702         methods to access it.
6703         * lyxtext.h:
6704         * text.C: Added updateRowPositions to compute all row positions.
6705         Make top_y and getRowNearY() to use the cached y position
6706
6707 2003-04-11  John Levon  <levon@movementarian.org>
6708
6709         * text.C (rowBreakPoint): reintroduce the labelEnd
6710         checks, code copied from the row fill stuff. Deep voodoo.
6711
6712         * text.C (fill): add a comment and debugging for the
6713         next poor soul.
6714
6715 2003-04-11  John Levon  <levon@movementarian.org>
6716
6717         * text.C: make sure fullrow insets get wrapped to the next line,
6718         even when they're in a manual label
6719
6720 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * text2.C (insertParagraph): make it take ParagraphList::iterator
6723         as arg.
6724         (setLayout): make it return ParagraphList::iterator
6725         (redoParagraphs): ditto
6726         (setCounter): ditto
6727         (checkParagraph): ditto
6728
6729         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6730
6731         * text2.C: adjust several funcs.
6732         (realizeFont): take a ParagraphList::iterator as arg.
6733         (getLayoutFont): ditto
6734         (getLabelFont): ditto
6735         (setCharFont): ditto
6736
6737         * text.C: adjust several funcs.
6738
6739 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6740
6741         * text.C (selectNextWordToSpellcheck): don't accidentally
6742         skip insets
6743
6744 2003-04-10  John Levon  <levon@movementarian.org>
6745
6746         * ToolbarBackend.C (getIcon): special handling for
6747         LFUN_MATH_DELIM
6748
6749 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6750
6751         * text2.C (cursorRight): a getChar assert fixed
6752
6753 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * text2.C (getFont): change to take a ParagraphList::iterator
6756         instead of Paragraph*
6757         Adjust several functions.
6758
6759         * text.C (transformChar): change to take a ParagraphList::iterator
6760         instead of Paragraph*
6761         (singleWidth): ditto
6762         Adjust several functions.
6763
6764         * rowpainter.C: adjust several functions
6765         * rowpainter.h:store a ParagraphList::iterator and not a
6766         Paragraph&.
6767
6768
6769 2003-04-09  John Levon  <levon@movementarian.org>
6770
6771         * lyxfunc.C:
6772         * lfuns.h:
6773         * LyXAction.h:
6774         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6775         and the "help" bits as well
6776
6777 2003-04-09  John Levon  <levon@movementarian.org>
6778
6779         * ToolbarBackend.h:
6780         * ToolbarBackend.C: allow multiple toolbars
6781
6782 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * undo_funcs.C (setCursorParUndo): adjust
6785
6786         * text_funcs.C (transposeChars): adjust
6787
6788         * text3.C (gotoNextInset): adjust
6789         (dispatch): adjust
6790
6791         * text2.C (setLayout): adjust
6792         (changeDepth): adjust
6793         (setFont): adjust
6794         (redoParagraphs): adjust
6795         (selectionAsString): adjust
6796         (setParagraph): adjust
6797         (insertInset): adjust
6798         (cutSelection): adjust
6799         (copySelection): adjust
6800         (pasteSelection): adjust
6801         (insertStringAsLines): adjust
6802         (updateInset): adjust
6803         (setCursor): change to take a ParagraphList::iterator parameter
6804         (setCursorIntern): change to take a ParagraphList::iterator parameter
6805         (setCurrentFont): adjust
6806         (cursorLeft): adjust
6807         (cursorRight): adjust
6808         (deleteEmptyParagraphMechanism): adjust
6809
6810         * text.C (breakParagraph): adjust
6811         (insertChar): adjust
6812         (acceptChange): adjust
6813         (rejectChange): adjust
6814         (selectNextWordToSpellcheck): adjust
6815         (changeCase): adjust
6816         (Delete): adjust
6817         (backspace): adjust
6818
6819         * lyxfind.C (SearchForward): adjust
6820         (SearchBackward): adjust
6821         (nextChange): adjust
6822
6823         * lyxcursor.C (par): adjust
6824
6825         * lyxcursor.h: store a ParagraphList::iterator instead of a
6826         Paragraph*
6827
6828         * lyx_cb.C (getPossibleLabel): adjust
6829
6830         * bufferview_funcs.C (toggleAndShow): adjust
6831
6832         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6833         (dispatch): adjust
6834
6835         * BufferView.C (removeAutoInsets): adjust
6836         (lockedInsetStoreUndo): adjust
6837
6838 2003-04-09  John Levon  <levon@movementarian.org>
6839
6840         * ToolbarBackend.C: try icon without argument
6841         if with argument fails
6842
6843 2003-04-08  John Levon  <levon@movementarian.org>
6844
6845         * ToolbarBackend.h:
6846         * ToolbarBackend.C: add getIcon(), handle tooltip,
6847         and change from "Icon" to "Item".
6848
6849 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6850
6851         * BufferView.C (lockInset): another bad getchar crunched
6852
6853 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6854
6855         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6856         again)
6857
6858 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6859
6860         * lyxfind.C (searchForward, searchBackwards): bug 782
6861
6862 2003-04-07  John Levon  <levon@movementarian.org>
6863
6864         * paragraph.C: remove dead comment
6865
6866         * text.C: remove troublesome depth-fiddling code
6867         in leftMargin() and rightMargin() (bug 1017)
6868
6869         * text.C: fix breaking of rows in nested lists
6870         (bug 1004)
6871
6872         * text2.C (updateCounters): fix up depth values
6873         (bug 1013)
6874
6875 2003-04-07  John Levon  <levon@movementarian.org>
6876
6877         * BufferView_pimpl.C: clear message when doc finishes resizing,
6878         and after a mouse event
6879
6880         * lyxfunc.C: clear message after exiting inset
6881
6882 2003-04-07  John Levon  <levon@movementarian.org>
6883
6884         * bufferview_funcs.C: show math status not outside
6885         status in the statusbar
6886
6887 2003-04-07  John Levon  <levon@movementarian.org>
6888
6889         * lyxfunc.C: note status changed after a depth change
6890
6891 2003-04-04  Angus Leeming  <leeming@lyx.org>
6892
6893         * LaTeX.h: move AuxInfo operator==, != out of line.
6894         Remove LaTeX virtual destructor; nothing derives from it.
6895         Move operator()() out of public area and rename it startscript().
6896         Change protected for private.
6897
6898 2003-04-04  Angus Leeming  <leeming@lyx.org>
6899
6900         * lyxfunc.C:
6901         * text2.C: remove unneeded #includes.
6902
6903 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6904
6905         * text2.C (dEPM): fix the heigth of the next row
6906
6907 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6908
6909         * text.C: squashed an invalid getChar requester + some ws changes
6910
6911 2003-04-03  John Levon  <levon@movementarian.org>
6912
6913         * bufferview_funcs.h:
6914         * bufferview_funcs.C:
6915         * lyxfunc.C:
6916         * lyxtext.h:
6917         * text2.C: make getStatus work for the env depth lfuns
6918
6919 2003-04-03  John Levon  <levon@movementarian.org>
6920
6921         * bufferview_funcs.h:
6922         * bufferview_funcs.C:
6923         * lyxfunc.C:
6924         * lyxtext.h:
6925         * text2.C: parlistize decDepth(), by merging it with incDepth()
6926
6927 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6928
6929         * lyxrow.h: store a ParagraphList::iterator instead of a
6930         Paragraph* and adjust other class functions to suit.
6931
6932         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6933         above.
6934
6935 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6936
6937         * text2.C (setCursor): do not anchor to cursor row for the time being
6938
6939 2003-04-02  John Levon  <levon@movementarian.org>
6940
6941         * LyXAction.C:
6942         * lfuns.h:
6943         * lyx_main.C:
6944         * lyxtext.h:
6945         * text.C:
6946         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6947
6948 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6949
6950         * paragraph.h: make ParagraphList and ParagraphList::iterator
6951         friends of Paragraph.
6952
6953         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6954
6955         * ParagraphList.C: Use the private next_ and previous_ from
6956         Paragraph.
6957
6958 2003-04-01  John Levon  <levon@movementarian.org>
6959
6960         * ToolbarBackend.h:
6961         * ToolbarBackend.C:
6962         * Makefile.am: rename, remove defaults gunk
6963
6964         * MenuBackend.h:
6965         * MenuBackend.C: remove defaults gunk
6966
6967         * Languages.h:
6968         * Languages.C: remove defaults gunk
6969
6970         * lyx_main.h:
6971         * lyx_main.C: error out if files couldn't be found.
6972
6973 2003-04-02  John Levon  <levon@movementarian.org>
6974
6975         * text2.C: make incDepth() use parlist
6976
6977 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6978
6979         * undo_funcs.C (firstUndoParagraph): adjust
6980
6981         * text3.C (gotoInset): adjust
6982         (dispatch): adjust, and rewrite loop.
6983
6984         * text2.C (init): adjust, and rewrite loop.
6985         (redoParagraphs): adjust
6986         (updateInset): adjust, and rewrite loop.
6987         (deleteEmptyParagraphMechanism): adjust
6988
6989         * tabular.C (LyXTabular): adjust
6990         (SetMultiColumn): adjust
6991         (TeXRow): adjust
6992
6993         * lyxtext.[Ch] (ownerParagraph): delete function
6994         (ownerParagraphs): new function returns a ParagraphList.
6995
6996         * BufferView.C (removeAutoInsets): adjust
6997         (insertErrors): adjust
6998         (setCursorFromRow): adjust
6999
7000 2003-04-01  Angus Leeming  <leeming@lyx.org>
7001
7002         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7003         in the frontends.
7004
7005 2003-04-02  John Levon  <levon@movementarian.org>
7006
7007         * lyxtext.h:
7008         * text.C:
7009         * Makefile.am:
7010         * text_funcs.h:
7011         * text_funcs.C: make transposeChars a free function
7012
7013         * lyxrow_funcs.C: remove wrong comment
7014
7015 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7016
7017         * lyxtext.h: adjust
7018         * rowpainter.C: adjust
7019         * text.C: adjust
7020         * text2.C: adjust
7021         * text3.C: adjust
7022
7023         * lyxrow_funcs. [Ch]: new files
7024
7025         * lyxrow.[Ch]: remove next and previous pointers
7026         (next,previous): remove accessor functions
7027         (isParEnd): move to lyxrow_funcs
7028         (lastPos): move to lyxrow_funcs
7029         (nextRowIsAllInset): move to lyxrow_funcs
7030         (lastPrintablePos): move to lyxrow_funcs
7031         (numberOfSeparators): move to lyxrow_funcs
7032         (numberOfHfills): move to lyxrow_funcs
7033         (numberOfLabelHfills): move to lyxrow_funcs
7034         (hfillExpansion): move to lyxrow_funcs
7035
7036         * lyxfunc.C: adjust
7037
7038         * bufferview_funcs.C (toggleAndShow): adjust
7039
7040         * RowList.h: Remove class RowList from file leave just a
7041         std::list<Row>.
7042
7043         * RowList.C: delete file
7044
7045         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7046         and lyxrow_funcs.h
7047
7048 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * text3.C (cursorPrevious): adjust
7051         (cursorNext): adjust
7052         (dispatch): adjust
7053
7054         * text2.C (redoHeightOfParagraph): adjust
7055         (redoDrawingOfParagraph): adjust
7056         (setCursor): adjust
7057
7058         * text.C (breakParagraph): adjust
7059         (insertChar): adjust
7060         (backspace): adjust
7061
7062         * rowpainter.C (RowPainter): adjust
7063         (leftMargin): simplify and adjust
7064         (most rowpainter functions): adjust.
7065
7066         * rowpainter.h: store the row as RowList::iterator not as Row*
7067
7068         * lyxcursor.C (row): taka RowList::iterator as arg
7069         (irow): ditto
7070
7071         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7072         of Row*.
7073
7074 2003-04-01  Angus Leeming  <leeming@lyx.org>
7075
7076         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7077         stuff like bool Bool.
7078
7079 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7080
7081         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7082         rewrite a loop
7083
7084 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7085
7086         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7087         RowList::iterator.
7088
7089         * lyxtext.h (rows): drop one version and leve a const variant that
7090         returns a RowList::iterator.
7091
7092 2003-03-31  Angus Leeming  <leeming@lyx.org>
7093
7094         * text.C (fill): ensure that the signature is the same as that in the
7095         header file.
7096
7097 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * text2.C (redoParagraphs): adjust
7100         (updateCounters): adjust
7101         (checkParagraph): adjust
7102         (getColumnNearX): adjust and reformat a bit.
7103
7104         * text.C (top_y): adjust
7105         (workWidth): adjust
7106         (leftMargin): adjust
7107         (prepareToPrint): adjust
7108         (getRow): adjust
7109         (getRowNearY): adjust
7110
7111         * lyxtext.h: make rowlist_ mutable.
7112
7113         * RowList.h: add const_iterator
7114         * RowList.C: adjust for RowList::const_iterator.
7115
7116         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7117         adjust.
7118
7119 2003-03-31  John Levon  <levon@movementarian.org>
7120
7121         * lyxrc.h:
7122         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7123
7124         * lyx_main.C: set default fonts from using lyx_gui funcs
7125
7126         * exporter.C: pdf_mode moved from lyxrc
7127
7128         * lyx_cb.C:
7129         * lyxfunc.C: changes from above
7130
7131 2003-03-31  John Levon  <levon@movementarian.org>
7132
7133         * lyx_main.C: fix to the last fix
7134
7135 2003-03-31  John Levon  <levon@movementarian.org>
7136
7137         * bufferlist.C: "Load original" -> "Load Original"
7138
7139         * converter.C:
7140         * exporter.C:
7141         * importer.C:
7142         * lyx_main.C:
7143         * format.C: more Alert cleanups
7144
7145 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * text2.C (removeParagraph): make it take a RowList::iterator as
7148         arg, adjust.
7149         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7150         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7151
7152         * text.C (anchor_row): make it take a RowList::iterator as arg,
7153         adjust.
7154         (computeBidiTables): make it take a const reference to Row instead
7155         of Row pointer, adjust.
7156         (leftMargin): make it take a RowList::iterator as arg, adjust.
7157         (rowBreakPoint): adjust
7158         (breakAgainOneRow): make it take a RowList::iterator as arg,
7159         adjust.
7160         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7161
7162         * bufferview_funcs.C (toggleAndShow): adjust
7163
7164 2003-03-30  John Levon  <levon@movementarian.org>
7165
7166         * Makefile.am:
7167         * BoostFormat.h:
7168         * boost-inst.C: moved to support
7169
7170         * several files: changes as a result
7171
7172 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7173
7174         * text2.C (LyXText): adjust.
7175         (init): adjust
7176         (removeRow): make it take a RowList::iterator as arg, adjust.
7177         (fullRebreak): adjust
7178         (deleteEmptyParagraphMechanism): adjust
7179         (clearPaint): adjust
7180         (postPaint): adjust
7181
7182         * text.C (top_y): adjust
7183         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7184         (breakAgain): make it take a RowList::iterator as arg, adjust.
7185         (breakParagraph): adjust
7186         (insertChar): adjust
7187         (backspace): adjust
7188
7189         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7190         need_break_row, and refresh_row.
7191
7192         * text3.C (dispatch): adjust
7193
7194         * text2.C (checkParagraph): adjust
7195         (setCursor): adjust
7196         (setCursorFromCoordinates): adjust
7197
7198         * text.C (top_y): adjust
7199         (workWidth): adjust
7200         (getRow): make it return a RowList::iterator, adjust
7201         (getRowNearY): make it return a RowList::iterator, adjust
7202
7203         * text2.C (init): adjust
7204         (insertRow): remove function
7205         (insertParagraph): adjust
7206         (redoParagraphs): adjust
7207         (fullRebreak): adjust
7208         (updateCounters): adjust
7209
7210         * text.C (top_y): rewrite to use RowList iterators.
7211         (top_y): adjust
7212         (setHeightOfRow): rewrite to sue RowList iterators.
7213         (appendParagraph): adjust
7214         (breakAgain): adjust
7215         (breakAgainOneRow): adjust
7216         (breakParagraph): adjust
7217         (getRow): adjust
7218         (getRowNearY): adjust, and remove commented code.
7219
7220         * lyxtext.h (firstRow): delete function
7221         (lastRow): delete function
7222         (rows): new function (const and non-const versions.)
7223         (insertRow): delete function
7224
7225         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7226
7227 2003-03-29  John Levon  <levon@movementarian.org>
7228
7229         * BufferView_pimpl.C: always update scrollbar top
7230         because pasting text when we're anchored could mean we
7231         miss an update altogether
7232
7233 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * text2.C (init): use rowlist_.end() and not 0.
7236         (insertRow): change to take a RowList::iterator as arg, adjust
7237         for this.
7238         (insertParagraph): change to take a RowList::iterator as arg,
7239         adjust for this.
7240         (redoParagraphs): remove some debug msgs.
7241
7242         * text.C (appendParagraph): change to take a RowList::iterator
7243         arg, adjust for this.
7244         (breakAgain): add an assert
7245         (breakAgainOneRow): ditto
7246
7247 2003-03-29  John Levon  <levon@movementarian.org>
7248
7249         * text2.C: do not clear selection after inc/decDepth
7250         (bug 550)
7251
7252 2003-03-29  John Levon  <levon@movementarian.org>
7253
7254         * BufferView.C:
7255         * buffer.C: fix broken strerrors according to Lars
7256
7257 2003-03-29  John Levon  <levon@movementarian.org>
7258
7259         * converters.C: more Alert cleanups
7260
7261 2003-03-29  John Levon  <levon@movementarian.org>
7262
7263         * bufferview_funcs.C: remove pointless Alert
7264
7265         * buffer.C: fix confusing error message when
7266         a template is chmoded 000
7267
7268 2003-03-29  John Levon  <levon@movementarian.org>
7269
7270         * BufferView.C:
7271         * BufferView.h:
7272         * BufferView_pimpl.C: Alert fixes
7273
7274         * Makefile.am:
7275         * tabular.C:
7276         * tabular-old.C: remove unused table compat reading
7277
7278 2003-03-29  John Levon  <levon@movementarian.org>
7279
7280         * BufferView.C:
7281         * buffer.C:
7282         * lyx_cb.h:
7283         * lyx_cb.C: more Alert cleanups
7284
7285         * lyxfunc.C: don't allow chktex if not latex document
7286
7287 2003-03-29  John Levon  <levon@movementarian.org>
7288
7289         * lyx_cb.C:
7290         * BufferView.C:
7291         * buffer.C: warnings pushed down from support/,
7292         kill err_alert
7293
7294 2003-03-29  John Levon  <levon@movementarian.org>
7295
7296         * lyxfunc.C: safety check for C-r (revert)
7297
7298 2003-03-29  John Levon  <levon@movementarian.org>
7299
7300         * bufferlist.h:
7301         * bufferlist.C: several UI fixes using Alert::prompt.
7302         Fix the pointless looping quit code. Fix stupid revert
7303         behaviour (bug 938)
7304
7305         * lyxvc.h:
7306         * lyxvc.C:
7307         * lyx_cb.C: use Alert::prompt
7308
7309         * lyx_main.C: remove a silly question
7310
7311         * lyxfunc.C: remove a couple of silly questions,
7312         use Alert::prompt
7313
7314 2003-03-28  John Levon  <levon@movementarian.org>
7315
7316         * text2.C: fix bug 974 (End on empty par)
7317
7318 2003-03-28  John Levon  <levon@movementarian.org>
7319
7320         * BufferView_pimpl.C:
7321         * LyXAction.C:
7322         * lfuns.h: remove do-nothing math greek lfuns
7323
7324 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7325
7326         * lyxgluelength.h (isValidGlueLength): add default arg on
7327         parameter 2. Remove default arg from friend in class.
7328
7329         * lyxlength.h (isValidLength): add default arg on parameter 2.
7330         Remove default arg from friend in class.
7331
7332         * text2.C (LyXText): adjust, initialize refresh_row.
7333         (init): adjust
7334         (removeRow): adjust
7335         (insertRow): adjust
7336         (insertParagraph): adjst
7337         (redoParagraphs): adjust
7338         (fullRebreak): adjust
7339         (updateCounters): adjust
7340         (deleteEmptyParagraphMechanism): first attempt at fixing a
7341         crashing bug.
7342
7343         * text.C (top_y): adjust
7344         (setHeightOfRow): adjust
7345         (getRow): adjust
7346         (getRowNearY): adjust
7347
7348         * lyxtext.h: include RowList.h
7349         (~LyXText): not needed anymore, deleted.
7350         (firstRow): modify for RowList
7351         (lastRow): new function
7352         Delete firstrow and lastrow class variables, add a Rowlist
7353         rowlist_ class variable.
7354
7355         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7356         paragraph is empty.
7357
7358         * RowList.C (insert): fix case where it == begin().
7359
7360 2003-03-26  Angus Leeming  <leeming@lyx.org>
7361
7362         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7363         the thesaurus dialog.
7364
7365 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7368
7369         * RowList.[Ch]: new files
7370
7371         * ParagraphList.C (erase): handle the case where it == begin
7372         correctly.
7373
7374 2003-03-25  John Levon  <levon@movementarian.org>
7375
7376         * Makefile.am:
7377         * aspell_local.h:
7378         * aspell.C: add new aspell support
7379
7380         * lyxrc.h:
7381         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7382         have it accessible.
7383
7384 2003-03-25  Angus Leeming  <leeming@lyx.org>
7385
7386         * lfuns.h:
7387         * LyXAction.C (init): new LFUN_INSET_INSERT.
7388
7389         * BufferView_pimpl.C (dispatch): split out part of the
7390         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7391
7392         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7393         LFUN_INSET_APPLY.
7394
7395 2003-03-25  Angus Leeming  <leeming@lyx.org>
7396
7397         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7398
7399 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * text2.C:
7402         * text3.C: remove useless row->height(0)
7403
7404 2003-03-25  John Levon  <levon@movementarian.org>
7405
7406         * lyxtext.h:
7407         * text2.C:
7408         * text3.C: rename the refreshing stuff to better names
7409
7410 2003-03-24  John Levon  <levon@movementarian.org>
7411
7412         * BufferView_pimpl.h:
7413         * BufferView_pimpl.C: update layout choice on a mouse
7414         press/release
7415
7416 2003-03-23  John Levon  <levon@movementarian.org>
7417
7418         * Makefile.am: fix commandtags.h reference
7419
7420 2003-03-22  John Levon  <levon@movementarian.org>
7421
7422         * BufferView_pimpl.C:
7423         * lyxtext.h:
7424         * rowpainter.C:
7425         * rowpainter.h:
7426         * text.C:
7427         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7428
7429 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7430
7431         * lyxtext.h:
7432         * text.C: take the rtl methods out of line
7433
7434 2003-03-21 André Pönitz <poenitz@gmx.net>
7435
7436         * metricsinfo.[Ch]: new files containing structures to be passed around
7437         during the two-phase-drawing...
7438
7439 2003-03-21 André Pönitz <poenitz@gmx.net>
7440
7441         * lyxtextclass.C: read 'environment' tag.
7442
7443 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7444
7445         * text2.C (removeRow): fix bug 964
7446
7447 2003-03-20  John Levon  <levon@movementarian.org>
7448
7449         * rowpainter.C:
7450         * text.C:
7451         * text2.C: paint cleanups. Inset::update() dropped font
7452         parameter
7453
7454 2003-03-19  John Levon  <levon@movementarian.org>
7455
7456         * lyxfunc.C: only fitcursor/markDirty if available()
7457
7458 2003-03-19  John Levon  <levon@movementarian.org>
7459
7460         * commandtags.h: rename to ...
7461
7462         * lfuns.h: ... this, and renumber / cleanup
7463
7464 2003-03-19  John Levon  <levon@movementarian.org>
7465
7466         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7467         fit the cursor after an lfun
7468
7469         * BufferView.h:
7470         * BufferView.C:
7471         * BufferView_pimpl.h:
7472         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7473
7474         * LyXAction.C: layout-character should have ReadOnly
7475
7476         * ParagraphParameters.C:
7477         * buffer.C:
7478         * bufferview_funcs.C:
7479         * lyx_cb.C:
7480         * lyxfind.C:
7481         * lyxtext.h:
7482         * text.C:
7483         * text2.C:
7484         * text3.C:
7485         * undo_funcs.C: changes from above
7486
7487 2003-03-18  John Levon  <levon@movementarian.org>
7488
7489         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7490         remove it from update()
7491
7492         * lyxfunc.C: update layout choice after an lfun
7493
7494         * text3.C: remove extra updateLayoutChoice()s
7495
7496 2003-03-18  John Levon  <levon@movementarian.org>
7497
7498         * text.C: top_y change means full repaint, fix
7499         a drawing bug with cursor movement
7500
7501 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7502
7503         * lyxtext.h:
7504         * text.C:
7505         * text2.C: anchor row on setCursor
7506
7507 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7508
7509         * lyxtext.h: remove almost all mutable keywords
7510         * text.C:
7511         * text2.C:
7512         * text3.C: remove const keywords accordingly
7513
7514 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7515
7516         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7517         anon namespace
7518         (TeXEnvironment): ditto
7519         (TeXOnePar): ditto
7520
7521 2003-03-17  John Levon  <levon@movementarian.org>
7522
7523         * text.C (rowBreakPoint): remove attempt to fix displayed
7524         math insets inside a manual label
7525
7526 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * lyxtext.h: remove BufferView* as first arg from almost all class
7529         functions.
7530         * other files: adjust.
7531
7532 2003-03-17  John Levon  <levon@movementarian.org>
7533
7534         * lyxtext.h:
7535         * undo_funcs.C:
7536         * text2.C: more paint cleanups
7537
7538         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7539
7540         * rowpainter.h:
7541         * rowpainter.C: remove "smart" background painting code
7542
7543 2003-03-16  John Levon  <levon@movementarian.org>
7544
7545         * lyxtext.h:
7546         * text.C:
7547         * text2.C:
7548         * text3.C: add helper functions for setting refresh_row/y
7549
7550 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7551
7552         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7553         newline inset which *can* get inserted in the pass_thru layouts.
7554         This is primarily for literate documents.
7555
7556 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7557
7558         * buffer.C: increment LYX_FORMAT to 223
7559
7560 2003-03-14 André Pönitz <poenitz@gmx.net>
7561
7562         * textclass.h: prepare for environment handling, ws changes
7563         * lyxlayout.C: read latexheader and latexfooter tags
7564
7565 2003-03-14  John Levon  <levon@movementarian.org>
7566
7567         * text2.C: rewrite ::status() a bit
7568
7569 2003-03-13  John Levon  <levon@movementarian.org>
7570
7571         * lyxtext.h: add some docs
7572
7573 2003-03-13  John Levon  <levon@movementarian.org>
7574
7575         * lyxtext.h:
7576         * text.C:
7577         * text2.C:
7578         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7579
7580 2003-03-13  John Levon  <levon@movementarian.org>
7581
7582         * text3.C: fix appendix redrawing
7583
7584 2003-03-13  John Levon  <levon@movementarian.org>
7585
7586         * text.C (setHeightOfRow):
7587         * rowpainter.h:
7588         * rowpainter.C: make appendix mark have the text
7589           "Appendix" so the user knows what it is
7590
7591         * LColor.h:
7592         * LColor.C: s/appendixline/appendix/ from above
7593
7594 2003-03-13  John Levon  <levon@movementarian.org>
7595
7596         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7597
7598         * text.C: fix a getChar(pos) bug properly
7599
7600 2003-03-13  Angus Leeming  <leeming@lyx.org>
7601
7602         * commandtags.h:
7603         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7604         Probably only temporary. Let's see how things pan out.
7605
7606         * BufferView.C (unlockInset):
7607         * BufferView_pimpl.C (fitCursor):
7608         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7609
7610         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7611         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7612
7613         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7614         new functions that convert ParagraphParameters to and from a string.
7615
7616         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7617         BufferView::Pimpl's dispatch.
7618         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7619
7620 2003-03-13 André Pönitz <poenitz@gmx.net>
7621
7622         * lyxfunc.C:
7623         * text3.C:
7624         * factory.C: make it aware of InsetEnv
7625
7626 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7627
7628         * text2.C (setCursor): never ask for one past last
7629         (setCursor): add some debugging messages.
7630
7631         * text.C (singleWidth): never ask for one past last
7632         (singleWidth): ditto
7633         (leftMargin): ditto
7634         (rightMargin): ditto
7635         (rowBreakPoint): ditto
7636         (setHeightOfRow): ditto
7637         (prepareToPrint): ditto
7638
7639         * rowpainter.C (paintBackground): never ask for one past last
7640         (paintText): never ask for one past last
7641
7642         * paragraph_pimpl.C (getChar): make the assert stricter, never
7643         allow the one past last pos to be taken
7644
7645         * paragraph.C (getChar): ws changes only
7646
7647         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7648         (numberOfSeparators): ditto
7649         (numberOfHfills): ditto
7650
7651 2003-03-12  John Levon  <levon@movementarian.org>
7652
7653         * author.h:
7654         * author.C:
7655         * bufferparams.h:
7656         * bufferparams.C:
7657         * paragraph_funcs.C: fix per-buffer authorlists
7658
7659 2003-03-12  John Levon  <levon@movementarian.org>
7660
7661         * text.C: fix newline in right address
7662
7663 2003-03-12  Angus Leeming  <leeming@lyx.org>
7664
7665         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7666         duplicate those in LyXFunc::dispatch.
7667
7668         * commandtags.h:
7669         * LyXAction.C:
7670         * ToolbarDefaults.C:
7671         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7672         Add LFUN_FONTFREE_UPDATE.
7673
7674         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7675         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7676
7677         * bufferview_func.[Ch]: several new functions to facilliate
7678         transfer of data to and from the character dialog.
7679
7680 2003-03-12  John Levon  <levon@movementarian.org>
7681
7682         * buffer.C:
7683         * paragraph.h:
7684         * paragraph.C:
7685         * paragraph_funcs.C:
7686         * paragraph_pimpl.C:
7687         * sgml.C:
7688         * tabular.C:
7689         * text.C:
7690         * text3.C: remove META_NEWLINE in favour of an inset
7691
7692         * rowpainter.h:
7693         * rowpainter.C: remove paintNewline (done by inset)
7694
7695 2003-03-12  John Levon  <levon@movementarian.org>
7696
7697         * paragraph_pimpl.C: complain about bad getChar()s
7698         for a while at least
7699
7700 2003-03-12  John Levon  <levon@movementarian.org>
7701
7702         * buffer.h:
7703         * buffer.C: move paragraph read into a separate function,
7704         a little renaming to reflect that.
7705
7706         * bufferparams.h:
7707         * bufferparams.C: remove the author_ids map, not necessary now
7708
7709         * factory.h:
7710         * factory.C: moved Buffer::readInset to here
7711
7712         * paragraph_funcs.h:
7713         * paragraph_funcs.C: readParagraph free function moved from
7714         buffer.C
7715
7716         * tabular.C: name change
7717
7718 2003-03-12  John Levon  <levon@movementarian.org>
7719
7720         * buffer.C:
7721         * ParagraphParameters.C: move par params input to
7722         a read() method
7723
7724         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7725         behave like a normal read from the stream wrt reading
7726         a line vs. a \\token
7727
7728 2003-03-12  John Levon  <levon@movementarian.org>
7729
7730         * paragraph.C:
7731         * ParagraphParameters.h:
7732         * ParagraphParameters.C: move output code to a
7733         ::write() method
7734
7735 2003-03-12  John Levon  <levon@movementarian.org>
7736
7737         * BufferView.C (insertLyXFile):
7738         * buffer.h:
7739         * buffer.C:
7740         * tabular.C: use a parlist iterator for creating the
7741           document.
7742
7743 2003-03-12  John Levon  <levon@movementarian.org>
7744
7745         * buffer.C: make current_change static local not
7746           static file-scope
7747
7748 2003-03-12  John Levon  <levon@movementarian.org>
7749
7750         * buffer.C: fix insertStringAsLines for change tracking
7751
7752 2003-03-12  John Levon  <levon@movementarian.org>
7753
7754         * BufferView.C:
7755         * tabular.C:
7756         * buffer.h:
7757         * buffer.C:
7758         * bufferparams.h:
7759         * bufferparams.C: move author list into params. Rename some
7760           functions. Move the header reading into a separate token
7761           loop. Move the header token reading into BufferParams.
7762
7763 2003-03-12  John Levon  <levon@movementarian.org>
7764
7765         * changes.C: put debug inside lyxerr.debugging() checks
7766
7767 2003-03-11 André Pönitz <poenitz@gmx.net>
7768
7769         * factory.C: make it aware of InsetHFill
7770
7771 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7772
7773         * buffer.C (latexParagraphs): move function from here...
7774         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7775         args.
7776
7777 2003-03-10  Angus Leeming  <leeming@lyx.org>
7778
7779         * LyXAction.C (init): fix bug in poplating array with multiple entries
7780         with the same LFUN (spotted by JMarc).
7781
7782 2003-03-10  John Levon  <levon@movementarian.org>
7783
7784         * text.C:
7785         * text2.C: move getColumnNearX() near its
7786         only call site
7787
7788 2003-03-10  John Levon  <levon@movementarian.org>
7789
7790         * text.C: fix break before a minipage
7791
7792 2003-03-10  John Levon  <levon@movementarian.org>
7793
7794         * text.C: fix the last commit
7795
7796 2003-03-09  John Levon  <levon@movementarian.org>
7797
7798         * lyxtext.h:
7799         * text.C:
7800         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7801         bug 365 (don't break before insets unless needed). Don't
7802         return a value > last under any circumstances.
7803
7804 2003-03-09  Angus Leeming  <leeming@lyx.org>
7805
7806         * BufferView_pimpl.C (trackChanges, dispatch): call
7807         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7808
7809 2003-03-09  Angus Leeming  <leeming@lyx.org>
7810
7811         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7812         than Dialogs::showAboutlyx().
7813
7814 2003-03-09  Angus Leeming  <leeming@lyx.org>
7815
7816         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7817         than Dialogs::showTabularCreate().
7818
7819 2003-03-09  John Levon  <levon@movementarian.org>
7820
7821         * lyxtext.h:
7822         * text.C:
7823         * text2.C: 3rd arg to nextBreakPoint was always the same.
7824           Use references.
7825
7826 2003-03-08  John Levon  <levon@movementarian.org>
7827
7828         * lyxrow.C:
7829         * paragraph.C:
7830         * paragraph.h:
7831         * rowpainter.C:
7832         * text.C:
7833         * text2.C: Remove the "main" bit from the "main body"
7834           notion.
7835
7836 2003-03-08  John Levon  <levon@movementarian.org>
7837
7838         * text.C (leftMargin): The left margin of an empty
7839         manual label paragraph should not include the label width
7840         string length.
7841
7842         * text.C (prepareToPrint): don't attempt to measure hfills
7843         for empty manual label paragraphs - the answer should be 0
7844
7845 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * CutAndPaste.C: remove commented code and reindent.
7848
7849 2003-03-08  John Levon  <levon@movementarian.org>
7850
7851         * lyxfunc.h:
7852         * lyxfunc.C: move reloadBuffer()
7853
7854         * BufferView.h:
7855         * BufferView.C: to here
7856
7857         * lyxvc.C: add comment
7858
7859         * vc-backend.h:
7860         * vc-backend.C: call bv->reload() to avoid
7861           getStatus() check on MENURELOAD
7862
7863 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7864
7865         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7866         to an old format .dep file.
7867
7868 2003-03-07  Angus Leeming  <leeming@lyx.org>
7869
7870         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7871         when the LFUN_MOUSE_RELEASE should have been handled by
7872         inset->localDispatch.
7873
7874 2003-03-07  Angus Leeming  <leeming@lyx.org>
7875
7876         * BufferView_pimpl.C (dispatch):
7877         * LyXAction.C (init):
7878         * ToolbarDefaults.C (init):
7879         * commandtags.h:
7880         * lyxfunc.C (getStatus):
7881         remove LFUN_INSET_GRAPHICS.
7882
7883         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7884
7885 2003-03-07  Angus Leeming  <leeming@lyx.org>
7886
7887         * commandtags.h:
7888         * LyXAction.C (init):
7889         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7890
7891         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7892
7893         * commandtags.h:
7894         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7895
7896         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7897         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7898
7899 2003-03-07  Angus Leeming  <leeming@lyx.org>
7900
7901         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7902         remove "ert".
7903
7904 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * ParagraphList.C (front): new function
7907         (back): implement
7908
7909 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7910
7911         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7912         and top_row_offset_. removed var first_y.
7913         * text.C (top_y):
7914         * text2.C (LyXText, removeRow):
7915         * text3.C:
7916         * BufferView_pimpl.C:
7917         use these methods instead of using first_y
7918
7919 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * text2.C (pasteSelection): adjust for checkPastePossible
7922
7923         * CutAndPaste.C: remove Paragraph * buf and replace with
7924         ParagraphList paragraphs.
7925         (DeleteBuffer): delete
7926         (cutSelection): change the tc type to textclass_type
7927         (copySelection): change the tc type to textclass_type
7928         (copySelection): adjust for ParagraphList
7929         (pasteSelection): change the tc type to textclass_type
7930         (pasteSelection): adjust for Paragraphlist
7931         (nrOfParagraphs): simplify for ParagraphList
7932         (checkPastePossible): simplify for ParagraphList
7933         (checkPastePossible): remove unused arg
7934
7935         * ParagraphList.C (insert): handle the case where there are no
7936         paragraphs yet.
7937
7938         * CutAndPaste.h: make CutAndPaste a namespace.
7939
7940         * text3.C (dispatch): adjust
7941
7942         * text.C (breakParagraph): add a ParagraphList as arg
7943
7944         * paragraph_funcs.C (breakParagraph): change to take a
7945         BufferParams and a ParagraphList as args.
7946         (breakParagraphConservative): ditto
7947         (mergeParagraph): ditto
7948         (TeXDeeper): add a ParagraphList arg
7949         (TeXEnvironment): ditto
7950         (TeXOnePar): ditto
7951
7952         * buffer.C (readLyXformat2): adjust
7953         (insertStringAsLines): adjust
7954         (latexParagraphs): adjust
7955
7956         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7957         (cutSelection): adjust
7958         (pasteSelection): adjust
7959
7960         * BufferView_pimpl.C (insertInset): adjust
7961
7962 2003-03-05  Angus Leeming  <leeming@lyx.org>
7963
7964         * commandtags.h:
7965         * LyXAction.C (init):
7966         * BufferView_pimpl.C (dispatch):
7967         * lyxfunc.C (getStatus):
7968         remove LFUN_CHILD_INSERT.
7969
7970         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7971
7972 2003-03-05  Angus Leeming  <leeming@lyx.org>
7973
7974         * commandtags.h:
7975         * LyXAction.C (init):
7976         * src/factory.C (createInset):
7977         * lyxfunc.C (getStatus):
7978         * text3.C (dispatch):
7979         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7980
7981         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7982
7983 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7984
7985         * ParagraphList.C (insert): handle insert right before end()
7986         (erase): fix cases where it can be first or last paragraph.
7987
7988 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7989
7990         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7991         Paragraph::next and Paragraph::previous
7992         (TeXOnePar): ditto
7993
7994         * text.C (breakParagraph): adjust
7995
7996         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7997         BufferParams& as arg.
7998         (breakParagraph): use ParagraphList::insert
7999         (breakParagraphConservative): take a Buffer* instead of a
8000         BufferParams& as arg.
8001         (breakParagraphConservative): use ParagraphList::insert.
8002
8003         * buffer.C (insertStringAsLines): un-const it
8004         (insertStringAsLines): adjust
8005
8006         * ParagraphList.C (insert): new function
8007
8008         * CutAndPaste.C (pasteSelection): adjust
8009
8010         * text.C (backspace): adjust
8011
8012         * tabular.C (SetMultiColumn): adjust
8013
8014         * CutAndPaste.C (cutSelection): adjust
8015         (pasteSelection): adjust
8016
8017         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8018         Buffer const * as arg
8019
8020         * ParagraphList.C (erase): new function
8021         * paragraph_funcs.C (mergeParagraph): use it
8022         (mergeParagraph): make it take a Buffer* instead of a
8023         BufferParams* as arg
8024
8025         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8026         as arg
8027         (breakParagraphConservative): ditto
8028
8029         * paragraph.h: remove the breakParagraph friend
8030
8031         * paragraph.C (eraseIntern): new function
8032         (setChange): new function
8033
8034         * paragraph_funcs.C (mergeParagraph): make it take a
8035         ParagraphList::iterator instead of a Paragraph *, adjust
8036         accordingly.
8037
8038         * paragraph.h: move an #endif so that the change tracking stuff
8039         also works in the NO_NEXT case.
8040
8041 2003-03-04  Angus Leeming  <leeming@lyx.org>
8042
8043         * commandtags.h:
8044         * LyXAction.C: new LFUN_INSET_MODIFY.
8045
8046         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8047         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8048
8049 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8050
8051         * several files: ws changes only
8052
8053         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8054         (TeXEnvironment): ditto
8055         (TeXDeeper): ditto
8056
8057         * buffer.C (makeLaTeXFile): adjust
8058         (latexParagraphs): make it take ParagraphList::iterator as args
8059
8060 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * buffer.C (latexParagraphs): adjust
8063
8064         * paragraph.C (TeXOnePar): move function...
8065         (optArgInset): move function...
8066         (TeXEnvironment): move function...
8067         * paragraph_pimpl.C (TeXDeeper): move function...
8068         * paragraph_funcs.C: ...here
8069
8070         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8071
8072 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8073
8074         * buffer.C (readInset): remove compability code for old Figure and
8075         InsetInfo insets
8076
8077 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8078
8079         * buffer.C: ws changes
8080         (readInset):
8081
8082         * BufferView_pimpl.C: ditto
8083         * author.C: ditto
8084         * buffer.h: ditto
8085         * bufferlist.h: ditto
8086         * changes.h: ditto
8087         * lyxfunc.C: ditto
8088
8089 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8090
8091         * converter.[Ch]: split into itself +
8092         * graph.[Ch]
8093         * format.[Ch]
8094         * Makefile.am: += graph.[Ch] + format.[Ch]
8095         * MenuBackend.C
8096         * buffer.C
8097         * exporter.C
8098         * importer.C
8099         * lyx_main.C
8100         * lyxfunc.C
8101         * lyxrc.C: added #include "format.h"
8102
8103 2003-02-27  Angus Leeming  <leeming@lyx.org>
8104
8105         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8106           a label.
8107
8108         * factory.C (createInset): add "label" to the factory.
8109
8110         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8111           string and do no more.
8112
8113 2003-02-27  Angus Leeming  <leeming@lyx.org>
8114
8115         * commandtags.h:
8116         * LyXAction.C (init):
8117         * factory.C (createInset):
8118         * BufferView_pimpl.C (dispatch):
8119           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8120
8121         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8122
8123         * lyxfunc.C (dispatch):
8124         * text3.C (dispatch): pass name to params2string.
8125
8126 2003-02-26  Angus Leeming  <leeming@lyx.org>
8127
8128         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8129           blocks together.
8130           Rearrange the ~includes. Strip out the unnecessary ones.
8131
8132         * factory.C (createInset): reformat.
8133           create new insets for the various LFUN_XYZ_APPLY lfuns.
8134
8135 2003-02-26  John Levon  <levon@movementarian.org>
8136
8137         * lyxrow.h:
8138         * lyxrow.C: add isParStart,isParEnd helpers
8139
8140         * paragraph.h: make isInserted/DeletedText take refs
8141
8142         * paragraph_funcs.h:
8143         * paragraph_funcs.C: remove #if 0'd code
8144
8145         * lyxtext.h:
8146         * text3.C:
8147         * text2.C:
8148         * text.C: use lyxrow helpers above.
8149           Move draw and paint routines to RowPainter.
8150           Make several methods use refs not pointers.
8151           Make backgroundColor() const.
8152           Add markChangeInDraw(), isInInset().
8153           Merge changeRegionCase into changeCase.
8154           Make workWidth() shouldn't-happen code into an Assert.
8155
8156         * rowpainter.h:
8157         * rowpainter.C: new class for painting a row.
8158
8159         * vspace.h:
8160         * vspace.C: make inPixels take a ref
8161
8162 2003-02-26  Angus Leeming  <leeming@lyx.org>
8163
8164         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8165         LFUN_REF_APPLY.
8166
8167 2003-02-25  John Levon  <levon@movementarian.org>
8168
8169         * ispell.C: give the forked command a more accurate name
8170
8171 2003-02-22  John Levon  <levon@movementarian.org>
8172
8173         * toc.h:
8174         * toc.C: make TocItem store an id not a Paragraph *
8175           (bug #913)
8176
8177 2003-02-21  Angus Leeming  <leeming@lyx.org>
8178
8179         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8180           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8181           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8182           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8183           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8184           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8185
8186         * BufferView_pimpl.C (dispatch):
8187         * LyXAction.C (init):
8188         * factory.C (createInset):
8189         * lyxfunc.C (getStatus, dispatch):
8190         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8191
8192 2003-02-21  Angus Leeming  <leeming@lyx.org>
8193
8194         * BufferView_pimpl.C (MenuInsertLyXFile):
8195         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8196         * lyxfunc.C (menuNew, open, doImport):
8197           no longer pass a LyXView & to fileDlg.
8198
8199 2003-02-21  Angus Leeming  <leeming@lyx.org>
8200
8201         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8202         * LyXAction.C: change, BIBKEY to BIBITEM.
8203         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8204         Change InsetBibKey to InsetBibitem.
8205         Change BIBKEY_CODE to BIBITEM_CODE.
8206         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8207         * factory.C: replace insetbib.h with insetbibitem.h.
8208         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8209         * paragraph.C: replace insetbib.h with insetbibitem.h.
8210         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8211         Change bibkey() to bibitem().
8212         * text.C: remove insetbib.h.
8213         * text2.C: replace insetbib.h with insetbibitem.h.
8214         change bibkey() to bibitem().
8215         * text3.C: remove insetbib.h.
8216         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8217
8218 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8219
8220         * lyxrc.C (output): enclose user email in quotes (in case there are
8221         several words)
8222
8223 2003-02-18  John Levon  <levon@movementarian.org>
8224
8225         * buffer.h: add std::
8226
8227 2003-02-17  John Levon  <levon@movementarian.org>
8228
8229         * SpellBase.h:
8230         * ispell.h:
8231         * ispell.C:
8232         * pspell.h:
8233         * pspell.C: reworking. Especially in ispell, a large
8234           number of clean ups and bug fixes.
8235
8236         * lyxfunc.C: fix revert to behave sensibly
8237
8238 2003-02-17 André Pönitz <poenitz@gmx.net>
8239
8240         * LyXAction.C:
8241         * commandtags.h: new LFUN_INSERT_BIBKEY
8242
8243         * layout.h:
8244         * lyxlayout.C:
8245         * buffer.C:
8246         * factory.C:
8247         * text.C:
8248         * text2.C:
8249         * text3.C:
8250         * paragraph.[Ch]:
8251         * paragraph_func.C: remove special bibkey handling
8252
8253 2003-02-17  John Levon  <levon@movementarian.org>
8254
8255         * text.C (Delete): fix case where delete at the end of
8256           the very first paragraph would not merge the pars
8257
8258 2003-02-17  John Levon  <levon@movementarian.org>
8259
8260         * lyxrow.C: fix lastPrintablePos()
8261
8262 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8263
8264         * bufferparams.C (writeLaTeX): add a std:here
8265
8266         * buffer.C: and remove a using directive there
8267
8268 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8269
8270         * buffer.C (makeLaTeXFile): move the code that generates the
8271           preamble...
8272
8273         * bufferparams.C (writeLaTeX): ... in this new method
8274
8275         * LaTeXFeatures.C (getEncodingSet): make const
8276           (getLanguages): make const
8277
8278         * MenuBackend.C (binding): returns the binding associated to this
8279           action
8280           (add): sets the status of each item by calling getStatus. Adds
8281           some intelligence.
8282           (read): add support for OptSubMenu
8283           (expand): remove extra separator at the end of expanded menu
8284
8285 2003-02-15  John Levon  <levon@movementarian.org>
8286
8287         * BufferView.C:
8288         * BufferView_pimpl.C:
8289         * bufferlist.h:
8290         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8291           inset code that had no actual effect. Remove unneeded status
8292           code.
8293
8294 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8295
8296         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8297           in preamble
8298
8299 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8300
8301         * text.C (drawLengthMarker): also draw an arrow marker for
8302           symbolic lengths (medskip...)
8303
8304 2003-02-14  John Levon  <levon@movementarian.org>
8305
8306         * tabular.h:
8307         * tabular.C: better method names
8308
8309 2003-02-14  John Levon  <levon@movementarian.org>
8310
8311         * BufferView_pimpl.C:
8312         * bufferlist.C:
8313         * buffer.C:
8314         * converter.C:
8315         * lyx_cb.C:
8316         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8317           it's a more accurate name. Remove some pointless uses.
8318
8319 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8320
8321         * text2.C (LyXText): change order of initilizers to shut off
8322           warnings
8323
8324 2003-02-14  John Levon  <levon@movementarian.org>
8325
8326         * buffer.C: use ParIterator for getParFromID()
8327
8328         * paragraph.h:
8329         * paragraph.C:
8330         * paragraph_pimpl.h:
8331         * paragraph_pimpl.C: remove unused getParFromID()
8332
8333 2003-02-14  John Levon  <levon@movementarian.org>
8334
8335         * buffer.C: remove some very old #if 0'd parse code
8336
8337 2003-02-13  John Levon  <levon@movementarian.org>
8338
8339         * text.h:
8340         * text.C:
8341         * text2.C: move hfillExpansion(), numberOfSeparators(),
8342           rowLast(), rowLastPrintable(), numberofHfills(),
8343           numberOfLabelHfills() ...
8344
8345         * lyxrow.h:
8346         * lyxrow.C: ... to member functions here.
8347
8348         * paragraph.h:
8349         * paragraph.C:
8350         * lyxtext.h:
8351         * text.C: remove LyXText::beginningOfMainBody(), and call
8352           p->beginningOfMainBody() directly. Move the check for
8353           LABEL_MANUAL into the latter.
8354
8355         * text.h:
8356         * text.C:
8357         * text2.C:
8358         * vspace.C:
8359         * BufferView.h:
8360         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8361
8362         * text.h:
8363         * text.C:
8364         * text2.C:
8365         * text3.C:
8366         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8367           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8368
8369 2003-02-13  John Levon  <levon@movementarian.org>
8370
8371         * CutAndPaste.C: remove debug
8372
8373 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8374
8375         * paragraph.C (asString): remove two unused variables
8376
8377         * lyxtextclass.C (readTitleType):
8378           (Read):
8379           (LyXTextClass): handle new members titletype_ and titlename_
8380
8381         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8382
8383 2003-02-09  John Levon  <levon@movementarian.org>
8384
8385         * buffer.h:
8386         * buffer.C: replace hand-coded list with a map for the dep clean
8387
8388 2003-02-08  John Levon  <levon@movementarian.org>
8389
8390         * LaTeX.C: consolidate code into showRunMessage() helper
8391
8392 2003-02-08  John Levon  <levon@movementarian.org>
8393
8394         * lyxfind.C:
8395         * lyxtext.h:
8396         * text2.C:
8397         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8398           and pass the size in explicitly
8399
8400         * BufferView_pimpl.h:
8401         * BufferView_pimpl.C:
8402         * BufferView.h:
8403         * BufferView.C: add getCurrentChange()
8404
8405         * BufferView_pimpl.h:
8406         * BufferView_pimpl.C: handle change lfuns
8407
8408         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8409           for changes. Mark pasted paragraphs as new.
8410
8411         * support/lyxtime.h:
8412         * support/lyxtime.C:
8413         * DepTable.C: abstract time_t as lyx::time_type
8414
8415         * LColor.h:
8416         * LColor.C: add colours for new text, deleted text, changebars
8417
8418         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8419           package use "usenames" option.
8420
8421         * commandtags.h:
8422         * lyxfunc.C:
8423         * LyXAction.C: add change lfuns
8424
8425         * Makefile.am:
8426         * author.h:
8427         * author.C: author handling
8428
8429         * buffer.h:
8430         * buffer.C: add a per-buffer author list, with first entry as
8431           current author. Handle new .lyx tokens for change tracking. Output
8432           author list to .lyx file. Output dvipost stuff to .tex preamble.
8433           Bump lyx format to 222.
8434
8435         * bufferlist.h:
8436         * bufferlist.C: add setCurrentAuthor() to reset current author details
8437           in all buffers.
8438
8439         * bufferparams.h:
8440         * bufferparams.C: add param for tracking
8441
8442         * bufferview_funcs.C: output change info in minibuffer
8443
8444         * Makefile.am:
8445         * changes.h:
8446         * changes.C: add change-tracking structure
8447
8448         * debug.h:
8449         * debug.C: add CHANGES debug flag
8450
8451         * lyxfind.h:
8452         * lyxfind.C: add code for finding the next change piece
8453
8454         * lyxrc.h:
8455         * lyxrc.C: add user_name and user_email
8456
8457         * lyxrow.h:
8458         * lyxrow.C: add a metric for the top of the text line
8459
8460         * lyxtext.h:
8461         * text.C: implement accept/rejectChange()
8462
8463         * lyxtext.h:
8464         * text.C: paint changebars. Paint new/deleted text in the chosen
8465         colours. Strike through deleted text.
8466
8467         * paragraph.h:
8468         * paragraph.C:
8469         * paragraph_pimpl.h:
8470         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8471           in the current change to the insert functions. Rework erase to
8472           mark text as deleted, adding an eraseIntern() and a range-based
8473           erase(). Implement per-paragraph change lookup and
8474           accept/reject.
8475
8476         * paragraph_funcs.C: Fixup paste for change tracking.
8477
8478         * tabular.C: mark added row/columns as new.
8479
8480         * text.C: fix rowLast() to never return -1. Don't allow
8481           spellchecking of deleted text. Track transpose changes. Don't
8482           allow paragraph break or merge where appropriate.
8483
8484         * text2.C: leave cursor at end of selection after a cut.
8485
8486 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8487
8488         * text.C (getLengthMarkerHeight):
8489         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8490         visible on screen too.
8491
8492 2003-02-07  John Levon  <levon@movementarian.org>
8493
8494         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8495
8496 2003-02-05  Angus Leeming  <leeming@lyx.org>
8497
8498         * lyxserver.C (read_ready): revert my patch of 11 September last year
8499         as it sends PC cpu through the roof. Presumably this means that
8500         the lyxserver will no longer run on an Alpha...
8501
8502 2003-01-30  Angus Leeming  <leeming@lyx.org>
8503
8504         * factory.C (createInset): create an InsetCommandParam of type "index"
8505         and use it to 'do the right thing'.
8506
8507         * text2.C (getStringToIndex): ensure that cursor position is always
8508         reset to the reset_cursor position.
8509
8510 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8511
8512         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8513         disabled.
8514
8515 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8516
8517         * bufferview.C:
8518         * lyxcb.C:
8519         * lyxfunc.C: Output messages with identical spelling, punctuation,
8520         and spaces
8521
8522 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8523
8524         * MenuBackend.C (expandFormats): List only viewable export formats
8525         in "View" menu
8526
8527         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8528         message
8529
8530         * lyxfunc.C (getStatus): Make sure that formats other than
8531         "fax" can also be disabled
8532
8533 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8534
8535         * text3.C (dispatch): put the lfuns that insert insets in 3
8536         groups, and call doInsertInset with appropriate arguments.
8537         (doInsertInset): new function, that creates an inset and inserts
8538         it according to some boolean parameters.
8539
8540 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8541
8542         * buffer.C (readFile): remember to pass on 'par' when calling
8543         readFile recursively.
8544
8545 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8546
8547         * MenuBackend.C (expandFormats): add "..." to import formats.
8548
8549 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * paragraph.C (asString): Remove XForms RTL hacks.
8552
8553 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8554         * buffer.C: fix typo
8555
8556 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * Makefile.am (LIBS): delete var
8559         (lyx_LDADD): add @LIBS@ here instead.
8560
8561 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8562
8563         * Clarify the meaning of "wheel mouse jump"
8564
8565 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8566
8567         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8568         tabular in a float
8569
8570 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8571
8572         * importer.C (Loaders): do not preallocate 3 elements in the
8573         vector, since one ends up with 6 elements otherwise
8574
8575 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8576
8577         * DepTable.C (write): write the file name as last element of the
8578         .dep file (because it may contain spaces)
8579         (read): read info in the right order
8580
8581 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8582
8583         * paragraph_pimpl.C (simpleTeXBlanks):
8584         (simpleTeXSpecialChars):
8585         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8586
8587         * tabular.C (latex): add some missing case statements. Reindent.
8588
8589         * MenuBackend.C (expandToc): remove unused variable.
8590
8591 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8592
8593         * LColor.C:
8594         * LaTeX.C:
8595         * LyXAction.C:
8596         * MenuBackend.C:
8597         * buffer.C:
8598         * exporter.C:
8599         * lyxfunc.C:
8600         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8601         and the like.
8602
8603 2003-01-05  John Levon  <levon@movementarian.org>
8604
8605         * BufferView.h:
8606         * BufferView.C: add getEncoding()
8607
8608         * kbsequence.h:
8609         * kbsequence.C: do not store last keypress
8610
8611         * lyxfunc.h:
8612         * lyxfunc.C: store last keypress here instead. Pass encoding
8613           to getISOEncoded()
8614
8615 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8616
8617         * lyx_main.C (init): remove annoying error message when following
8618         symbolic links (bug #780)
8619
8620 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8621
8622         * text.C (insertChar):
8623         * lyxrc.C (getDescription): remove extra spaces
8624
8625 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8626
8627         * lyxrc.C (getDescription): remove extra spaces
8628
8629 2002-12-20  John Levon  <levon@movementarian.org>
8630
8631         * text3.C: hack fix for page up/down across tall rows
8632
8633 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8634
8635         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8636         not been invoked
8637
8638 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8639
8640         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8641         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8642         thesaurus is not compiled in
8643
8644 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8645
8646         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8647
8648 2002-12-16  Angus Leeming  <leeming@lyx.org>
8649
8650         * lyxrc.[Ch]:
8651         * lyx_main.C (init): remove override_x_deadkeys stuff.
8652
8653 2002-12-12  John Levon  <levon@movementarian.org>
8654
8655         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8656           insert. Only remove shift modifier under strict
8657           circumstances.
8658
8659 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * MenuBackend.C (expandToc): fix crash.
8662
8663 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * MenuBackend.C (expandToc): gettext on float names.
8666
8667 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8668
8669         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8670         implement bool empty() [bug 490]
8671
8672 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8673
8674         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8675
8676 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8677
8678         * several files: ws changes
8679
8680 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * text2.C (setCounter): clean up a bit, use boost.format.
8683         (updateCounters): initialize par upon declaration.
8684
8685         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8686         if the layout exists. We do not just store the layout any more.
8687         (SwitchLayoutsBetweenClasses): use boost.format
8688
8689 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8690
8691         * converter.C (convert): if from and to files are the same, use a
8692         temporary files as intermediary
8693
8694 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8695
8696         * commandtags.h:
8697         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8698
8699 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8700
8701         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8702
8703 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8704
8705         * tabular.C (asciiPrintCell): use string(size, char) instead of
8706         explicit loop.
8707
8708         * sgml.C (openTag): fix order of arguments to string constructor
8709         (closeTag): ditto
8710
8711         * lyxfunc.C (dispatch): use boost.format
8712
8713         * lots of files: change "c" -> 'c'
8714
8715 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8716
8717         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8718
8719 2002-11-25  Angus Leeming  <leeming@lyx.org>
8720
8721         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8722
8723         * lyx_main.C (init): compile fix.
8724
8725 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8726
8727         * lyx_cb.C (start): boost.formatify
8728         do not include <iostream>
8729
8730         * lengthcommon.C: ws only
8731
8732         * boost-inst.C,BoostFormat.h: add more explict instantations
8733
8734 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8735
8736         * lots of files: handle USE_BOOST_FORMAT
8737
8738 2002-11-21  John Levon  <levon@movementarian.org>
8739
8740         * pspell.C: fix compile
8741
8742 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8743
8744         * lyxfunc.C (dispatch): use boost::format
8745         (open): ditto
8746         (doImport): ditto
8747
8748         * lyxfont.C (stateText): use boost::format
8749
8750         * lyx_main.C (LyX): use boost::format
8751         (init): ditto
8752         (queryUserLyXDir): ditto
8753         (readRcFile): ditto
8754         (parse_dbg): ditto
8755         (typedef boost::function): use the recommened syntax.
8756
8757         * importer.C (Import): use boost::format
8758
8759         * debug.C (showLevel): use boost::format
8760
8761         * converter.C (view): use boost::format
8762         (convert): ditto
8763         (move): ditto
8764         (scanLog): ditto
8765
8766         * bufferview_funcs.C (currentState): use boost::format
8767
8768         * bufferlist.C (emergencyWrite): use boost::format
8769
8770         * buffer.C (readLyXformat2): use boost::format
8771         (parseSingleLyXformat2Token): ditto
8772
8773         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8774
8775         * LaTeX.C (run): use boost::format
8776
8777         * Chktex.C (scanLogFile): use boost::format
8778
8779         * BufferView_pimpl.C (savePosition): use boost::format
8780         (restorePosition): ditto
8781         (MenuInsertLyXFile): ditto
8782
8783         * BoostFormat.h: help file for explicit instation.
8784
8785 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8786
8787         * tabular.C (latex): Support for block alignment in fixed width
8788         columns.
8789
8790 2002-11-17  John Levon  <levon@movementarian.org>
8791
8792         * BufferView_pimpl.C:
8793         * lyx_cb.C:
8794         * lyxfunc.C: split filedialog into open/save
8795
8796 2002-11-08  Juergen Vigna  <jug@sad.it>
8797
8798         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8799         by my last patch (hopefully).
8800
8801 2002-11-08  John Levon  <levon@movementarian.org>
8802
8803         * iterators.h:
8804         * iterators.C:
8805         * buffer.h:
8806         * buffer.C:
8807         * paragraph.h:
8808         * paragraph.C:
8809         * toc.h:
8810         * toc.C: ParConstIterator, and use it (from Lars)
8811
8812 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8813
8814         * lyxtextclass.[Ch]: revise and add doxygen comments
8815
8816 2002-11-07  John Levon  <levon@movementarian.org>
8817
8818         * text.C: fix progress value for spellchecker
8819
8820         * toc.C: fix navigate menu for insetwrap inside minipage
8821
8822         * paragraph_funcs.C: added FIXME for suspect code
8823
8824 2002-11-07  John Levon  <levon@movementarian.org>
8825
8826         * BufferView_pimpl.C: fix redrawing of insets
8827           on buffer switch
8828
8829 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8830
8831         * text2.C (updateCounters): fix bug 668
8832
8833 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8834
8835         * text3.C (dispatch): Do not make the buffer dirty when moving the
8836         cursor.
8837
8838 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8839
8840         * vc-backend.C: STRCONV
8841         (scanMaster): ditto
8842
8843         * text2.C (setCounter): STRCONV
8844
8845         * paragraph.C (asString): STRCONV
8846
8847         * lyxlength.C (asString): STRCONV
8848         (asLatexString): ditto
8849
8850         * lyxgluelength.C (asString): STRCONV
8851         (asLatexString): ditto
8852
8853         * lyxfunc.C (dispatch): STRCONV
8854         (open): ditto
8855
8856         * lyxfont.C (stateText): STRCONV
8857
8858         * importer.C (Import): STRCONV
8859
8860         * counters.C (labelItem): STRCONV
8861         (numberLabel): ditto
8862         (numberLabel): remove unused ostringstream o
8863
8864         * chset.C: STRCONV
8865         (loadFile): ditto
8866
8867         * bufferview_funcs.C (currentState): STRCONV
8868
8869         * buffer.C (readFile): STRCONV
8870         (asciiParagraph): ditto
8871         (makeLaTeXFile): ditto
8872
8873         * Spacing.C (writeEnvirBegin): STRCONV
8874
8875         * LaTeXFeatures.C (getLanguages): STRCONV
8876         (getPackages): ditto
8877         (getMacros): ditto
8878         (getBabelOptions): ditto
8879         (getTClassPreamble): ditto
8880         (getLyXSGMLEntities): ditto
8881         (getIncludedFiles): ditto
8882
8883         * LaTeX.C: STRCONV
8884         (run): ditto
8885         (scanAuxFile): ditto
8886         (deplog): ditto
8887
8888         * LString.h: add the STRCONV macros
8889
8890         * BufferView_pimpl.C (savePosition): STRCONV
8891         (restorePosition): ditto
8892         (MenuInsertLyXFile): ditto
8893
8894         * vc-backend.C (scanMaster): change from submatch[...] to
8895         submatch.str(...)
8896
8897         * funcrequest.C: include config.h
8898
8899         * factory.C: include config.h
8900
8901         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8902
8903         * box.C: include config.h
8904
8905         * LaTeX.C (scanAuxFile): change from submatch[...] to
8906         submatch.str(...)
8907         (deplog): ditto
8908
8909 2002-10-25  Angus Leeming  <leeming@lyx.org>
8910
8911         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8912
8913         * ispell.[Ch] (setError): new method.
8914         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8915         Use setError() insetead of goto END.
8916
8917         * lyx_cb.C (AutoSave): move out child process into new class
8918         AutoSaveBuffer.
8919
8920 2002-10-30  John Levon  <levon@movementarian.org>
8921
8922         * text3.C: make start appendix undoable
8923
8924 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8925
8926         * lyxlength.C (inPixels): Fix returned value.
8927
8928         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8929         environment.
8930
8931 2002-10-24  Angus Leeming  <leeming@lyx.org>
8932
8933         * lyxgluelength.h: no need to forward declare BufferParams
8934         or BufferView, so don't.
8935
8936 2002-10-21  John Levon  <levon@movementarian.org>
8937
8938         * BufferView.C: menuUndo ->undo, redo
8939
8940         * BufferView.h: document, remove dead, make some methods private
8941
8942         * paragraph_funcs.h:
8943         * paragraph_funcs.C:
8944         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8945
8946         * buffer.h:
8947         * buffer.C:
8948         * sgml.h:
8949         * sgml.C: move sgml open/close tag into sgml.C
8950
8951         * bufferview_funcs.h: unused prototype
8952
8953         * lyxfunc.h:
8954         * lyxfunc.C: remove unused
8955
8956         * lyxtext.h:
8957         * text.C: remove unused
8958
8959 2002-10-21  John Levon  <levon@movementarian.org>
8960
8961         * BufferView.h:
8962         * BufferView.C:
8963         * BufferView_pimpl.h:
8964         * BufferView_pimpl.C: fix mouse wheel handling based on
8965           patch from Darren Freeman
8966
8967 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8968
8969         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8970
8971 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8972
8973         * lyxlength.C (inPixels): Fix hanfling of negative length.
8974         Fix LyXLength::MU case.
8975
8976 2002-10-16  John Levon  <levon@movementarian.org>
8977
8978         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8979
8980 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8981
8982         * converter.C (view): add support for $$i (file name) and $$p
8983         (file path) for the viewer command. If $$i is not specified, then
8984         it is appended to the command (for compatibility with old syntax)
8985
8986 2002-10-14  Juergen Vigna  <jug@sad.it>
8987
8988         * undo_funcs.C (textHandleUndo): alter the order in which the
8989         new undopar is added to the LyXText, as we have to set first
8990         the right prev/next and then add it as otherwise the rebuild of
8991         LyXText is not correct. Also reset the cursor to the right paragraph,
8992         with this IMO we could remove the hack in "redoParagraphs()".
8993
8994 2002-10-09  Angus Leeming  <leeming@lyx.org>
8995
8996         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8997         to turn off an optimisation if a new inset is to be inserted.
8998
8999 2002-10-11 André Pönitz <poenitz@gmx.net>
9000
9001         * lyxtext.h: make some functions public to allow access
9002         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9003
9004 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9005
9006         * text3.C (dispatch): when changing layout, avoid an infinite loop
9007         [bug #652]
9008
9009 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9010
9011         * lyxrc.C (read): treat a viewer or converter command of "none" as
9012         if it were empty.
9013
9014         * MenuBackend.C (expandFormats): for an update, also allow the
9015         formats that are not viewable
9016
9017         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9018         script if it is newer than the lyxrc.defaults in user directory
9019
9020 2002-10-07 André Pönitz <poenitz@gmx.net>
9021
9022         * text.C: Vitaly Lipatov's small i18n fix
9023
9024 2002-09-25  Angus Leeming  <leeming@lyx.org>
9025
9026         * ispell.h: doxygen fix.
9027
9028 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9029
9030         * buffer.h (readFile): Add a new argument to the method, to allow
9031         reading of old-format templates.
9032
9033 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9034
9035         * toc.C (getTocList): Get TOC from InsetWrap.
9036
9037 2002-09-16  John Levon  <levon@movementarian.org>
9038
9039         * lyxfunc.C: check tabular for cut/copy too
9040
9041 2002-09-12  John Levon  <levon@movementarian.org>
9042
9043         * LyXAction.C: tidy
9044
9045         * factory.h:
9046         * factory.C: add header
9047
9048         * paragraph_funcs.h:
9049         * paragraph_funcs.C: cleanup
9050
9051 2002-09-11  John Levon  <levon@movementarian.org>
9052
9053         * PrinterParams.h: odd/even default to true
9054
9055 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9056
9057         * PrinterParams.h: update printer parameters for new xforms dialog
9058
9059 2002-09-11  Angus Leeming  <leeming@lyx.org>
9060
9061         * lyxserver.C (read_ready): re-write to make it more transparent
9062         and to make it work in coherent fashion under Tru64 Unix.
9063
9064 2002-09-11  André Pönitz <poenitz@gmx.net>
9065
9066         * commandtags.h:
9067         * LyXAction.C:
9068         * text3.C: implement LFUN_WORDSEL
9069
9070 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9073         make floatlist_ a boost::shared_ptr<FloatList>
9074
9075         * lyxtextclass.C: include FloatList.h
9076         (LyXTextClass): initialize floatlist_
9077         (TextClassTags): add TC_NOFLOAT
9078         (Read): match "nofloat" to TC_NOFLOAT and use it.
9079         (readFloat): modify call to floatlist_
9080         (floats): ditto
9081         (floats): ditto
9082
9083         * FloatList.[Ch] (FloatList): remove commented out float
9084         initialization.
9085         (erase): new function
9086
9087 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9088
9089         * MenuBackend.C (expandToc): fix crash when there is no document
9090         open
9091
9092 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9093
9094         * many files: Add insetwrap.
9095
9096 2002-09-09  John Levon  <levon@movementarian.org>
9097
9098         * text2.C: remove confusing and awkward depth wraparound
9099
9100 2002-09-09  John Levon  <levon@movementarian.org>
9101
9102         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9103
9104         * buffer.h:
9105         * buffer.C: remove getIncludeonlyList()
9106
9107         * paragraph.C:
9108         * lyxfunc.C: remove headers
9109
9110 2002-09-09  Juergen Vigna  <jug@sad.it>
9111
9112         * text.C (getColumnNearX): fix form Michael this is most
9113         probably a cut&paste bug.
9114
9115 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9116
9117         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9118
9119         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9120         references, ws changes.
9121
9122         * text2.C (init): update counters after init
9123         (insertParagraph): no need to set counter on idividual paragraphs.
9124         (setCounter): access the counters object in the textclass object
9125         on in the buffer object.
9126         (updateCounters): ditto
9127
9128         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9129         shared_ptr<Counters> to avoid loading counters.h in all
9130         compilation units.
9131         (LyXTextClass): initialize ctrs_
9132         (TextClassTags): add TC_COUNTER, and ...
9133         (Read): use it here.
9134         (CounterTags): new tags
9135         (readCounter): new function
9136         (counters): new funtion
9137         (defaultLayoutName): return a const reference
9138
9139         * counters.C (Counters): remove contructor
9140         (newCounter): remove a couple of unneeded statements.
9141         (newCounter): simplify a bit.
9142         (numberLabel): some small formatting changes.
9143
9144         * buffer.[Ch]: remove all traces of counters, move the Counters
9145         object to the LyXTextClass.
9146
9147 2002-09-06  Alain Castera  <castera@in2p3.fr>
9148
9149         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9150         package to set the horizontal alignment on fixed width columns.
9151
9152         * lyx_sty.C:
9153         * lyx_sty.h: added tabularnewline macro def.
9154
9155         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9156
9157 2002-09-06  John Levon  <levon@movementarian.org>
9158
9159         * LyXAction.C: tooltips for sub/superscript
9160
9161         * MenuBackend.C: a bit more verbose
9162
9163         * lyxfunc.C: tiny clean
9164
9165         * undo_funcs.C: document undo_frozen
9166
9167 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * counters.C (Counters): add missing algorithm counter.
9170
9171         * text2.C (setCounter): lookup the counter with layouts latexname
9172         instead of by section number.
9173         (setCounter): use a hackish way to lookup the correct enum
9174         counter.
9175         a float name->type change
9176         reset enum couners with counter name directly instead of depth value.
9177
9178         * counters.C (Counters): remove the push_backs, change to use the
9179         float type not the float name.
9180         (labelItem): remove unused string, float name->type change
9181
9182         * counters.h: don't include vector, loose the enums and sects vectors
9183
9184 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9185
9186         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9187         (Read): add float->TC_FLOAT to textclassTags
9188         (Read): and handle it in the switch
9189         (readFloat): new function
9190
9191         * FloatList.C (FloatList): comment out the hardcoded float
9192         definitions.
9193
9194         * lyxlayout.h: ws change.
9195
9196 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9197
9198         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9199
9200 2002-09-03  Angus Leeming  <leeming@lyx.org>
9201
9202         * BufferView_pimpl.h: qualified name is not allowed in member
9203         declaration: WorkArea & Pimpl::workarea() const;
9204
9205         * factory.C: added using std::endl directive.
9206
9207         * text3.C: added using std::find and std::vector directives.
9208
9209 2002-08-29  André Pönitz <poenitz@gmx.net>
9210
9211         * lyxtext.h:
9212         * text2.C: remove unused member number_of_rows
9213
9214         * Makefile.am:
9215         * BufferView2.C: remove file, move contents to...
9216         * BufferView.C: ... here
9217
9218         * BufferView_pimpl.C:
9219         * factory.C: move more inset creation to factory
9220
9221         * vspace.C: avoid direct usage of LyXText, ws changes
9222
9223         * BufferView.[Ch]:
9224                 don't provide direct access to WorkArea, use two simple
9225                 acessors haveSelction() and workHeight() instead
9226
9227
9228 2002-08-29  John Levon  <levon@movementarian.org>
9229
9230         * BufferView_pimpl.C (dispatch): do not continue when
9231           no buffer
9232
9233 2002-08-28  André Pönitz <poenitz@gmx.net>
9234
9235         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9236
9237         * BufferView.h:
9238         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9239
9240 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9241
9242         * buffer.C: increment LYX_FORMAT to 221
9243
9244         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9245         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9246
9247         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9248
9249         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9250
9251 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9252
9253         * factory.C (createInset): use LyXTextClass::floats
9254
9255         * MenuBackend.C (expandFloatListInsert):
9256         (expandFloatInsert):
9257         (expandToc):
9258
9259         * text2.C (setCounter):
9260
9261         * LaTeXFeatures.C (useFloat):
9262         (getFloatDefinitions):
9263
9264         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9265
9266         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9267         floatlist_, with accessor floats().
9268
9269         * FloatList.h: remove global FloatList
9270
9271 2002-08-26  André Pönitz <poenitz@gmx.net>
9272
9273         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9274
9275         * BufferView.h:
9276         * BufferView2.C:
9277         * BufferView_pimpl.C:
9278         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9279
9280 2002-08-25  John Levon  <levon@movementarian.org>
9281
9282         * LyXAction.C: fix margin note description
9283
9284 2002-08-24  John Levon  <levon@movementarian.org>
9285
9286         * buffer.C:
9287         * bufferlist.C:
9288         * bufferview_funcs.C:
9289         * lyxfont.C:
9290         * undo_funcs.C: cleanups
9291
9292         * lyxfunc.C: disable CUT/COPY when no selection
9293
9294 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9295
9296         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9297         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9298
9299         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9300         Add backward compatibility to "mono", "gray" and "no".
9301
9302 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9303
9304         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9305         (and file_format >= 200).
9306
9307 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9308
9309         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9310
9311 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9312
9313         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9314
9315 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9316
9317         * BufferView_pimpl.C:
9318         * LyXAction.C:
9319         * buffer.C:
9320         * commandtags.h:
9321         * lyxfunc.C:
9322         * paragraph.[Ch]:
9323         * text2.C:
9324         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9325         inset and code to make it  work with the paragraph code. The inset
9326         can be anywhere in the paragraph, but will only do the expected
9327         thing in LaTeX if the layout file contains the parameter line
9328                         OptionalArgs    1
9329         (or more generally, a nonzero value) for that layout.
9330
9331 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9332
9333         * paragraph.h: remove the declaration of undefined counters class
9334         function.
9335
9336 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9337
9338         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9339         Dr. Richard Hawkins.
9340
9341 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9342
9343         * paragraph_funcs.h: remove some unneeded includes
9344
9345         * text.C (backspace): pasteParagraph now in global scipe
9346
9347         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9348         (pasteSelection): ditto
9349
9350         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9351         * paragraph_funcs.C (pasteParagraph): ... here
9352
9353 2002-08-20  André Pönitz <poenitz@gmx.net>
9354
9355         * commandtags.h: new LFUNs for swapping/copying table row/colums
9356
9357         * LyXAction.C:
9358         * lyxfunc.C: support for new lfuns
9359
9360 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9361
9362         * tabular.C:
9363         * buffer.[Ch]: remove NO_COMPABILITY stuff
9364
9365 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9366
9367         * boost.C (throw_exception): new file, with helper function for
9368         boost compiled without exceptions.
9369
9370         * paragraph.h:
9371         * lyxlength.C:
9372         * buffer.C:
9373         * ParameterStruct.h:
9374         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9375
9376         * bufferlist.C (emergencyWriteAll): use boost bind
9377
9378         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9379
9380         * text.C: include paragraph_funcs.h
9381         (breakParagraph): breakParagraph is now in global scope
9382
9383         * paragraph_funcs.[Ch]: new files
9384
9385         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9386         global scope
9387
9388         * buffer.C: include paragraph_funcs.h
9389         (insertStringAsLines): breakParagraph is now in global scope
9390
9391         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9392         paragraph_funcs.C
9393
9394         * CutAndPaste.C: include paragraph_funcs.h
9395         (cutSelection): breakParagraphConservative is now in global scope
9396         (pasteSelection): ditto
9397
9398         * buffer.h: declare oprator== and operator!= for
9399         Buffer::inset_iterator
9400
9401         * bufferlist.C (emergencyWrite): don't use fmt(...)
9402
9403         * text3.C: add using std::endl
9404
9405         * BufferView.C (moveCursorUpdate): remove default arg
9406
9407 2002-08-20  André Pönitz <poenitz@gmx.net>
9408
9409         * buffer.[Ch]: move inline functions to .C
9410
9411         * BufferView2.C:
9412         * BufferView_pimpl.C:
9413         * text.C:
9414         * buffer.[Ch]: use improved inset_iterator
9415
9416         * buffer.C:
9417         * paragraph.[Ch]: write one paragraph at a time
9418
9419 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9420
9421         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9422         style if style is not specified.
9423
9424 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * text2.C (setCounter): when searching for right label for a
9427         caption, make sure to recurse to parent insets (so that a caption
9428         in a minipage in a figure float works) (bug #568)
9429
9430 2002-08-20  André Pönitz <poenitz@gmx.net>
9431
9432         * text3.C: new file for LyXText::dispatch() and helpers
9433
9434         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9435
9436         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9437
9438 2002-08-19  André Pönitz <poenitz@gmx.net>
9439
9440         * lyxtext.h:
9441         * text.C: new LyXText::dispatch()
9442
9443         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9444
9445 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9446
9447         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9448
9449         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9450         Hebrew text.
9451
9452 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9453
9454         * Makefile.am: use $(variables) instead of @substitutions@
9455
9456 2002-08-15  André Pönitz <poenitz@gmx.net>
9457
9458         * lyxfunc.C:
9459         * BufferView_pimpl.C: streamlining mathed <-> outer world
9460         interaction
9461
9462         * commandtags.h:
9463         * LyXAction.C: remove unused LFUN_MATH
9464
9465 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9466
9467         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9468
9469 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9470
9471         * paragraph.C (Paragraph): reformat a bit
9472         (cutIntoMinibuffer): use builtin InsetList function instad of
9473         doing it manually.
9474         (getInset): ditto
9475
9476         * buffer.C: include boost/bind.hpp, add using std::for_each
9477         (writeFileAscii): use ParagraphList iterators
9478         (validate): use for_each for validate traversal of paragraphs
9479         (getBibkeyList): use ParagraphList iterators
9480         (resizeInsets): use for_each to resizeInsetsLyXText for all
9481         paragraphs.
9482         (getParFromID): use ParagraphList iterators
9483
9484         * BufferView2.C (lockInset): use paragraph list and iterators
9485
9486 2002-08-14  John Levon  <levon@movementarian.org>
9487
9488         * lyxserver.C: remove spurious xforms include
9489
9490 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9491
9492         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9493
9494 2002-08-13  André Pönitz <poenitz@gmx.net>
9495
9496         * LyXAction.[Ch]:
9497         * lyxfunc.C: further cleaning
9498
9499 2002-08-13  André Pönitz <poenitz@gmx.net>
9500
9501         * funcrequest.h: new constructor
9502
9503         * funcrequest.C: move stuff here from .h
9504
9505         * Makefile.am:
9506         * BufferView_pimpl.C:
9507         * LyXAction.C:
9508         * toc.C:
9509         * lyxfunc.C: subsequent changes
9510
9511         * lyxfunc.h: new view() member function
9512
9513         * lyxfunc.C: subsequent changes
9514
9515 2002-08-13  Angus Leeming  <leeming@lyx.org>
9516
9517         * BufferView2.C:
9518         * BufferView_pimpl.C:
9519         * buffer.C:
9520         * converter.C:
9521         * importer.C:
9522         * lyxfunc.C:
9523         * lyxvc.C:
9524         * toc.C:
9525         * vc-backend.C:
9526         changes due to the changed LyXView interface that now returns references
9527         to member variables not pointers.
9528
9529 2002-08-13  Angus Leeming  <leeming@lyx.org>
9530
9531         * WordLangTuple (word, lang_code): return references to strings,
9532         not strings.
9533
9534         * BufferView.h:
9535         * SpellBase.h:
9536         * lyxtext.h: forward-declare WordLangTuple.
9537
9538         * BufferView2.C:
9539         * ispell.C:
9540         * pspell.C:
9541         * text.C: #include "WordLangTuple.h".
9542
9543         * lyxtext.h:
9544         * text.C: (selectNextWordToSpellcheck): constify return type.
9545
9546 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9547
9548         * buffer.C:
9549         * buffer.h:
9550         * lyxtext.h:
9551         * paragraph.C:
9552         * paragraph_pimpl.h:
9553         * text.C:
9554         * text2.C:
9555         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9556         suggested by Angus.
9557         Made updateCounter always count from start of buffer, and removed
9558         second argument (par).
9559         Reverted floats number display to '#'. Perhaps I'll try again when the
9560         code base is sanitized a bit.
9561
9562 2002-08-12  Angus Leeming  <leeming@lyx.org>
9563
9564         * buffer.[Ch] (getLabelList): constify.
9565
9566 2002-08-07  André Pönitz <poenitz@gmx.net>
9567
9568         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9569
9570         * funcrequest.h: extension to keep mouse (x,y) position
9571
9572 2002-08-12  Juergen Vigna  <jug@sad.it>
9573
9574         * BufferView2.C (insertErrors): forbid undo when inserting error
9575         insets.
9576
9577         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9578
9579 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9580
9581         * ParagraphList.[Ch]: new files
9582
9583         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9584
9585         * BufferView2.C (lockInset): ParagraphList changes
9586         * toc.C: ditto
9587         * text2.C: ditto
9588         * bufferlist.C: ditto
9589         * buffer.h: ditto
9590         * buffer.C: ditto
9591
9592 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9593
9594         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9595         unused class variable counter_,
9596
9597         * paragraph.[Ch] (getFirstCounter): delete unused function
9598
9599         * counters.C: include LAssert.h
9600         (reset): add a new function with no arg, change other version to
9601         not have def. arg and to not allow empty arg.
9602
9603         * text2.C (setCounter): remove empty arg from call to Counters::reset
9604
9605 2002-08-11  John Levon  <levon@movementarian.org>
9606
9607         * Makefile.am: add WordLangTuple.h
9608
9609 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9610
9611         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9612         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9613
9614         * insets/insettext.C: InsetList changes
9615
9616         * graphics/GraphicsSupport.C (operator()): InsetList changes
9617
9618         * toc.C (getTocList): InsetList changes
9619
9620         * paragraph_pimpl.[Ch]: InsetList changes
9621
9622         * paragraph.[Ch]: InsetList changes
9623
9624         * buffer.C (inset_iterator): InsetList changes
9625         (setParagraph): ditto
9626         * buffer.h (inset_iterator): ditto
9627         * iterators.C (operator++): ditto
9628         * iterators.h: ditto
9629
9630         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9631
9632         * InsetList.[Ch]: new files, most InsetList handling moved out of
9633         paragraph.C.
9634
9635         * BufferView2.C (removeAutoInsets): InsetList changes
9636         (lockInset): ditto
9637         (ChangeInsets): ditto
9638
9639 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9640
9641         * paragraph_pimpl.h (empty): new function
9642
9643         * paragraph.[Ch] (empty): new function
9644
9645         * other files: use the new Paragraph::empty function
9646
9647 2002-08-09  John Levon  <levon@movementarian.org>
9648
9649         * lyxtext.h: remove unused refresh_height
9650
9651 2002-08-09  John Levon  <levon@movementarian.org>
9652
9653         * Makefile.am:
9654         * sgml.h:
9655         * sgml.C:
9656         * buffer.C:
9657         * paragraph.h:
9658         * paragraph.C: move sgml char escaping out of paragraph
9659
9660         * paragraph.h:
9661         * paragraph.C: remove id setter
9662
9663         * buffer.C:
9664         * paragraph.C:
9665         * paragraph_pimpl.C: remove dead tex_code_break_column
9666
9667         * bufferview_funcs.C: small cleanup
9668
9669         * lyxfunc.C: remove dead proto
9670
9671         * lyxtext.h: make some stuff private. Remove some dead stuff.
9672
9673         * lyxgluelength.C: make as[LyX]String() readable
9674
9675 2002-08-08  John Levon  <levon@movementarian.org>
9676
9677         * LyXAction.h:
9678         * LyXAction.C:
9679         * MenuBackend.C:
9680         * ToolbarDefaults.C:
9681         * lyxfunc.C:
9682         * lyxrc.C:
9683         * toc.C: lyxaction cleanup
9684
9685 2002-08-08  John Levon  <levon@movementarian.org>
9686
9687         * BufferView2.C: small cleanup
9688
9689         * lyxfind.h:
9690         * lyxfind.C: move unnecessary header into the .C
9691
9692 2002-08-08  John Levon  <levon@movementarian.org>
9693
9694         * funcrequest.h: just tedious nonsense
9695
9696         * lyx_main.h:
9697         * lyx_main.C: cleanups
9698
9699         * buffer.C:
9700         * vspace.C: remove dead header lyx_main.h
9701
9702 2002-08-07  Angus Leeming  <leeming@lyx.org>
9703
9704         * Paragraph.[Ch]:
9705         * paragraph_pimpl.h:
9706         Forward declare class Counters in paragraph.h by moving the ctrs member
9707         variable into Paragraph::Pimpl.
9708         (counters): new method, returning a reference to pimpl_->ctrs.
9709
9710         * text2.C: ensuing changes.
9711
9712 2002-08-07  John Levon  <levon@movementarian.org>
9713
9714         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9715
9716         * BufferView_pimpl.C: announce X selection on double/triple
9717           click
9718
9719         * lyx_main.C: use correct bool in batch dispatch
9720
9721         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9722
9723 2002-08-07  André Pönitz <poenitz@gmx.net>
9724
9725         * funcrequest.h: new class to wrap a kb_action and its argument
9726
9727         * BufferView.[Ch]:
9728         * BufferView_pimpl[Ch]:
9729         * LaTeX.C:
9730         * LyXAction.[Ch]:
9731         * lyxfunc.[Ch]:
9732         * lyxrc.C: subsequent changes
9733
9734
9735 2002-08-07  John Levon  <levon@movementarian.org>
9736
9737         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9738           document options change.
9739
9740 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9741
9742         * counters.[Ch]
9743         * text2.C
9744         * paragraph.[Ch]
9745         * makefile.am: move counters functionality over from
9746         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9747
9748 2002-08-06  John Levon  <levon@movementarian.org>
9749
9750         * WordLangTuple.h: new file for word + language code tuple
9751
9752         * SpellBase.h:
9753         * pspell.h:
9754         * pspell.C:
9755         * ispell.h:
9756         * ispell.C:
9757         * lyxtext.h:
9758         * text.C:
9759         * text2.C:
9760         * BufferView.h:
9761         * BufferView2.C: use WordLangTuple
9762
9763         * layout.h:
9764         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9765
9766 2002-08-06  John Levon  <levon@movementarian.org>
9767
9768         * lyx_main.C: fix cmdline batch handling
9769
9770 2002-08-06  André Pönitz <poenitz@gmx.net>
9771
9772         * lyxrc.C: set default for show_banner to true
9773
9774 2002-08-06  John Levon  <levon@movementarian.org>
9775
9776         * pspell.C: fix a crash, and allow new aspell to work
9777
9778 2002-08-06  John Levon  <levon@movementarian.org>
9779
9780         * lyxfunc.C:
9781         * kbmap.C: small cleanup
9782
9783         * vspace.h:
9784         * vspace.C: add const
9785
9786 2002-08-05  John Levon  <levon@movementarian.org>
9787
9788         * LyXAction.C: back to tabular-insert
9789
9790 2002-08-04  John Levon  <levon@movementarian.org>
9791
9792         * BufferView.h:
9793         * BufferView.C: cosmetic change
9794
9795         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9796
9797         * bufferlist.C:
9798         * buffer.h:
9799         * buffer.C:
9800         * lyxcb.h:
9801         * lyxcb.C:
9802         * lyxserver.C:
9803         * lyxvc.C:
9804         * vc-backend.C:
9805         * BufferView2.C: purge all "Lyx" not "LyX" strings
9806
9807         * lyxcursor.h:
9808         * lyxcursor.C: attempt to add some documentation
9809
9810         * lyxfunc.C:
9811         * commandtags.h:
9812         * LyXAction.C:
9813         * ToolbarDefaults.C:
9814         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9815           merge with LFUN_TABULAR_INSERT
9816
9817         * Makefile.am:
9818         * SpellBase.h:
9819         * ispell.h:
9820         * ispell.C:
9821         * pspell.h:
9822         * pspell.C: split up i/pspell implementations into separate
9823           files, many cleanups
9824
9825         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9826
9827         * text2.C: some cleanup
9828
9829         * lyxfunc.C: don't check for isp_command == "none" any more, it
9830           didn't make any sense
9831
9832 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9833
9834         * counters.[Ch]
9835         * text2.C
9836         * paragraph.[Ch]
9837         * makefile.am: move counters functionality over
9838         from text2.C/paragraph.[Ch] to counters.[Ch], and
9839         make proper C++.
9840 2002-08-02  John Levon  <levon@movementarian.org>
9841
9842         * buffer.C: s/lyxconvert/lyx2lyx/
9843
9844 2002-08-02  Angus Leeming  <leeming@lyx.org>
9845
9846         * lyxlex.C: revert John's change as it breaks reading of the user
9847         preamble.
9848
9849 2002-08-02  Angus Leeming  <leeming@lyx.org>
9850
9851         * importer.C (Import):
9852         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9853         changes due to LyXView::view() now returning a boost::shared_ptr.
9854
9855 2002-08-02  John Levon  <levon@movementarian.org>
9856
9857         * lyxlex.C: small cleanup
9858
9859 2002-08-02  John Levon  <levon@movementarian.org>
9860
9861         * text2.C (status): small cleanup, no logic change
9862
9863 2002-08-01  John Levon  <levon@movementarian.org>
9864
9865         * buffer.h:
9866         * buffer.C (writeFile): don't output alerts, caller
9867           handles this
9868
9869         * bufferlist.C:
9870         * lyx_cb.C: from above
9871
9872         * lyxfunc.C: allow to open non-existent files
9873
9874 2002-07-31  John Levon  <levon@movementarian.org>
9875
9876         * lyxserver.C: don't let incidental errors get
9877           in the way (errno)
9878
9879 2002-07-30  John Levon  <levon@movementarian.org>
9880
9881         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9882
9883 2002-07-30  John Levon  <levon@movementarian.org>
9884
9885         * lyxserver.h:
9886         * lyxserver.C: remove I/O callback too
9887
9888 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9889
9890         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9891         log.
9892
9893 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9894
9895         * many files: strip,frontStrip -> trim,ltrim,rtrim
9896
9897 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9898
9899         * PrinterParams.h: remove extern containsOnly, and include
9900         support/lstrings.h instead.
9901
9902         * LaTeX.C (scanAuxFile): modify because of strip changes
9903         (deplog): ditto
9904         * buffer.C (makeLaTeXFile): ditto
9905         * bufferparams.C (writeFile): ditt
9906         * lyxfont.C (stateText): ditto
9907         * lyxserver.C (read_ready): ditto
9908         * vc-backend.C (scanMaster): ditto
9909
9910         * BufferView_pimpl.h: ws changes
9911
9912         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9913
9914 2002-07-26  André Pönitz <poenitz@gmx.net>
9915
9916         * kb_sequence.C: remove unnedred usings
9917
9918 2002-07-26  Juergen Vigna  <jug@sad.it>
9919
9920         * lyxfind.C (LyXReplace): we have to check better if the returned
9921         text is not of theLockingInset()->getLockingInset().
9922
9923 2002-07-25  Juergen Vigna  <jug@sad.it>
9924
9925         * lyxfind.C (LyXReplace): don't replace if we don't get the
9926         right LyXText.
9927
9928         * undo_funcs.C (createUndo): remove debugging code.
9929
9930 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * buffer.C (parseSingleLyXformat2Token): Use default placement
9933         when reading old floats.
9934
9935         * FloatList.C (FloatList): Change the default placement of figure
9936         and tables to "tbp".
9937
9938 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9939
9940         * MenuBackend.C: using std::max
9941
9942 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9943
9944         * MenuBackend.C (expandToc):
9945         (expandToc2): code moved from xforms menu frontend. It is now
9946         generic and TOCs are transparent to menu frontends.
9947
9948 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9949
9950         * toc.C (getTocList): protect against buf=0
9951
9952         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9953         Menu as first parameter. Now, this calls itself recursively to
9954         expand a whole tree (this will be useful for TOC handling)
9955         (expandFloatInsert): remove 'wide' version of floats
9956
9957         * MenuBackend.h (submenuname): returns the name of the submenu.
9958         (submenu): returns the submenu itself, provided it has been
9959         created by MenuBackend::expand
9960
9961 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9962
9963         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9964         insets which have noFontChange == true. (bug #172)
9965
9966 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9967
9968         * BufferView_pimpl.C: add connection objects and use them...
9969         (Pimpl): here.
9970
9971 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9972
9973         * MenuBackend.C (expandLastfiles):
9974         (expandDocuments):
9975         (expandFormats):
9976         (expandFloatListInsert):
9977         (expandFloatInsert):
9978         (expand): split expand in parts
9979
9980 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9981
9982         * lyx_gui.C: use lyx_gui::exit()
9983
9984 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * LyXAction.C: show the failing pseudo action
9987
9988 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9989
9990         * buffer.C (readFile): Run the lyxconvert script in order to read
9991         old files.
9992
9993 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * LyXAction.C:
9996         * commandtags.h:
9997         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9998
9999 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * LyXAction.C:
10002         * commandtags.h:
10003         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10004
10005 2002-07-22  Herbert Voss  <voss@lyx.org>
10006
10007         * lengthcommon.C:
10008         * lyxlength.[Ch]: add support for the vertical lengths
10009
10010 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10011
10012         * toc.[Ch]: std:: fixes
10013
10014 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10015
10016         * lyxrc.C: do not include lyx_main.h
10017
10018         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10019         for layouts
10020
10021         * lyxrc.C:
10022         * encoding.C:
10023         * bufferlist.C:
10024         * BufferView2.C: include "lyxlex.h"
10025
10026         * tabular.h:
10027         * bufferparams.h: do not #include "lyxlex.h"
10028
10029         * lyxtextclasslist.C (Add): remove method
10030         (classlist): renamed to classlist_
10031
10032         * paragraph_pimpl.C:
10033         * paragraph.C:
10034         * text2.C:
10035         * CutAndPaste.C:
10036         * bufferview_funcs.C:
10037         * bufferlist.C:
10038         * text.C:
10039         * LaTeXFeatures.C:
10040         * buffer.C:
10041         * toc.C (getTocList): use BufferParams::getLyXTextClass
10042
10043         * toc.C (getTocList): use InsetFloat::addToToc
10044
10045         * toc.[Ch]: new files, containing helper functions to handle table
10046         of contents
10047
10048         * lyxfunc.C (dispatch): no need to remove spaces around command
10049         given as a string
10050         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10051         first command of the sequence; it is not very clever, but I do not
10052         have a better idea, actually
10053
10054         * LyXAction.C (LookupFunc): make sure to remove space at the
10055         beginning and end of the command
10056
10057 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * MenuBackend.C (getMenubar): new method: return the menubar of
10060         this menu set
10061         (read): treat differently reading of menu and menubar (in
10062         particular, the menubar has no name now)
10063         (Menu::menubar): remove
10064
10065         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10066         saving is finished
10067
10068 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10069
10070         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10071         a bibitem inset in a RTL paragraph.
10072
10073 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10074
10075         * paragraph_pimpl.C: constify
10076
10077         * BufferView_pimpl.C:
10078         * LaTeX.C:
10079         * lyxfunc.C: fix dispatch in a nicer way
10080
10081 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10082
10083         * lyxfunc.C (dispatch):
10084         * BufferView_pimpl.C:
10085         * BufferView_pimpl.h:
10086         * BufferView.C:
10087         * BufferView.h: rename Dispatch() to dispatch()
10088
10089         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10090
10091         * lyxlayout.C (Read): honor DependsOn tag
10092
10093         * lyxlayout.[Ch] (depends_on): new method
10094
10095         * version.C.in: update lyx_docversion
10096
10097         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10098
10099         * paragraph.C (validate): remove from here...
10100         * paragraph_pimpl.C (validate): ... and move here
10101         (isTextAt): make it const
10102
10103         * buffer.C (getLists): ws cleanup
10104
10105 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10106
10107         * language.C (read): Use iso8859-1 encoding in latex_lang
10108         (this prevents LyX from crashing when using iso10646-1 encoding).
10109
10110 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10111
10112         * text2.C (toggleInset): if cursor is inside an inset, close the
10113         inset and leave cursor _after_ it
10114
10115 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10116
10117         * lyxfunc.C: move minibuffer completion handling out of here
10118
10119 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10120
10121         * BufferView_pimpl.C:
10122         * LaTeX.C: fix dispatch calls
10123
10124 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10125
10126         * text.C (drawChars): Fix Arabic text rendering.
10127
10128 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * LyXAction.C:
10131         * commandtags.h:
10132         * lyxfunc.C: remove message-push/pop
10133
10134         * lyxserver.C:
10135         * lyxfunc.h:
10136         * lyxfunc.C: rationalise some code by removing verboseDispatch
10137           in favour of a bool argument to dispatch()
10138
10139 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10140
10141         * lyx_main.C (init): make sure to read symlinks as absolute paths
10142
10143 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10144
10145         * lyxfunc.h:
10146         * lyxfunc.C: no need for commandshortcut to be a member
10147
10148 2002-07-15  André Pönitz <poenitz@gmx.net>
10149
10150         * converter.C: add support for $$s (scripts from lib/scripts dir)
10151         * lyx_main.C: white space
10152
10153 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10154
10155         * bufferlist.C:
10156         * lyxrc.h:
10157         * lyxrc.C: remove second exit confirmation
10158
10159 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10160
10161         * BufferView.h:
10162         * BufferView.C:
10163         * BufferView2.C:
10164         * BufferView_pimpl.h:
10165         * BufferView_pimpl.C:
10166         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10167
10168 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10169
10170         * MenuBackend.C (expand): add numeric shortcuts to document menu
10171
10172         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10173
10174 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10175
10176         * lyxfont.C (setLyXFamily):
10177         (setLyXSeries):
10178         (setLyXShape):
10179         (setLyXSize):
10180         (setLyXMisc):
10181         (lyxRead):
10182         * debug.C (value):
10183         * buffer.C (asciiParagraph): use ascii_lowercase
10184
10185 2002-07-15  Mike Fabian  <mfabian@suse.de>
10186
10187         * lyxlex_pimpl.C (search_kw):
10188         * lyxlex.C (getLongString):
10189         * converter.h (operator<):
10190         * converter.C (operator<):
10191         * buffer.C (parseSingleLyXformat2Token):
10192         (asciiParagraph):
10193         * ToolbarDefaults.C (read):
10194         * MenuBackend.C (checkShortcuts):
10195         (read):
10196         * LColor.C (getFromGUIName):
10197         (getFromLyXName): use the compare_ascii_no_case instead of
10198         compare_no_case, because in turkish, 'i' is not the lowercase
10199         version of 'I', and thus turkish locale breaks parsing of tags.
10200
10201 2002-07-16  Angus Leeming  <leeming@lyx.org>
10202
10203         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10204         now takes a Buffer const & argument.
10205
10206 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10207
10208         * BufferView.C (resize): check there's a buffer to resize
10209
10210 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10211
10212         * lyxfunc.C: remove dead code
10213
10214         * lyxserver.h:
10215         * lyxserver.C: use lyx_guii::set_read_callback
10216
10217 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10218
10219         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10220         an inset in a RTL paragraph.
10221
10222 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10223
10224         * lyxfunc.C: repaint after a font size update
10225
10226 2002-07-15  André Pönitz <poenitz@gmx.net>
10227
10228         * lyxlength.C: inBP should be able to return negative values
10229
10230 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * lyxfunc.C: use lyx_gui::update_fonts()
10233
10234 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * lyxfunc.C: use lyx_gui::update_color()
10237
10238 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * bufferlist.C:
10241         * lyxfunc.h:
10242         * lyxfunc.C:
10243         * lyxrc.h:
10244         * lyxrc.C: remove file->new asks for name option, and let
10245           buffer-new take an argument
10246
10247 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10248
10249         * BufferView_pimpl.C: remove unneeded extra repaint()
10250
10251 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * LyXAction.C: allow command-sequence with NoBuffer
10254
10255         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10256
10257 2002-07-10  Angus Leeming  <leeming@lyx.org>
10258
10259         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10260
10261 2002-07-09  Angus Leeming  <leeming@lyx.org>
10262
10263         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10264
10265 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10266
10267         * lengthcommon.h: whitespace
10268
10269         * lyxfunc.C: update scrollbar after goto paragraph
10270
10271         * lyxtext.h: factor out page break drawing, and fix it so
10272           page break/added space paints as selected nicely
10273
10274 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * BufferView_pimpl.C: add FIXMEs, clean up a little
10277
10278 2002-07-09  André Pönitz <poenitz@gmx.net>
10279
10280         * lyxfont.[Ch]: support for wasy symbols
10281
10282 2002-07-08  André Pönitz <poenitz@gmx.net>
10283
10284         * BufferView_pimpl.C: apply John's patch for #93.
10285
10286 2002-07-05  Angus Leeming  <leeming@lyx.org>
10287
10288         * BufferView_pimpl.C (buffer): generate previews if desired.
10289
10290         * LColor.h: add "preview" to the color enum.
10291
10292         * LColor.C (LColor): add a corresponding entry to the items array.
10293
10294         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10295         with this buffer.
10296
10297 2002-07-05  Angus Leeming  <leeming@lyx.org>
10298
10299         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10300         The body of the code is now in the method that is passed an ostream &
10301         rather than a file name.
10302         Pass an additional only_preamble parameter, useful for the forthcoming
10303         preview stuff.
10304
10305 2002-07-03  André Pönitz <poenitz@gmx.net>
10306
10307         * lyxfunc.C: simplify getStatus() a bit for math stuff
10308
10309 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10310
10311         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10312
10313 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10314
10315         * text.C (changeRegionCase): do not change case of all the
10316         document when region ends at paragraph end (bug #461)
10317
10318 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10319
10320         * paragraph.C (startTeXParParams):
10321         (endTeXParParams): add \protect when necessary
10322
10323 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10324
10325         * BufferView_pimpl.C (workAreaExpose): remove warning
10326
10327 2002-06-27  Angus Leeming  <leeming@lyx.org>
10328
10329         * Makefile.am: add lyxlayout_ptr_fwd.h.
10330
10331 2002-06-26  André Pönitz <poenitz@gmx.net>
10332
10333         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10334
10335 2002-06-25  Angus Leeming  <leeming@lyx.org>
10336
10337         * lyxfunc.C (dispatch): Comment out the call to
10338         grfx::GCache::changeDisplay. The method no longer exists now that the
10339         pixmap generation part of the graphics loader has been moved into
10340         InsetGraphics.
10341
10342 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * text2.C: layout as layout
10345
10346         * text.C: layout as layout
10347
10348         * tabular.C (OldFormatRead): layout as layout
10349
10350         * paragraph_pimpl.C (TeXDeeper): layout as layout
10351         (realizeFont): layout as layout
10352
10353         * paragraph.C (writeFile): layout as layout
10354         (validate): layout as layout
10355         (getFont): layout as layout
10356         (getLabelFont): layout as layout
10357         (getLayoutFont): layout as layout
10358         (breakParagraph): layout as layout
10359         (stripLeadingSpaces): layout as layout
10360         (getEndLabel): layout as layout
10361         (getMaxDepthAfter): layout as layout
10362         (applyLayout): layout as layout
10363         (TeXOnePar): layout as layout
10364         (simpleTeXOnePar): layout as layout
10365         (TeXEnvironment): layout as layout
10366         (layout): layout as layout
10367         (layout): layout as layout
10368
10369         * lyxtextclass.C (compare_name): new functor to work with
10370         shared_ptr, layout as layout
10371         (Read): layout as layout
10372         (hasLayout): layout as layout
10373         (operator): layout as layout
10374         (delete_layout): layout as layout
10375         (defaultLayout): layout as layout
10376
10377         * lyxlayout_ptr_fwd.h: new file
10378
10379         * lyxlayout.C (Read): layout as layout
10380
10381         * lyx_cb.C (MenuInsertLabel): layout as layout
10382
10383         * bufferlist.C (newFile): layout as layout
10384
10385         * buffer.C (readLyXformat2): layout as layout
10386         (parseSingleLyXformat2Token): layout as layout
10387         (insertStringAsLines): layout as layout
10388         (asciiParagraph): layout as layout
10389         (latexParagraphs): layout as layout
10390         (makeLinuxDocFile): layout as layout
10391         (simpleLinuxDocOnePar): layout as layout
10392         (makeDocBookFile): layout as layout
10393         (simpleDocBookOnePar): layout as layout
10394         (getLists): layout as layout
10395
10396         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10397
10398         * CutAndPaste.C (cutSelection): layout as layout
10399         (pasteSelection): layout as layout
10400         (SwitchLayoutsBetweenClasses): layout as layout
10401
10402         * BufferView_pimpl.C (Dispatch): layout as layout
10403         (smartQuote): layout as layout
10404
10405         * BufferView2.C (unlockInset): layout as layout
10406
10407 2002-06-24  André Pönitz <poenitz@gmx.net>
10408
10409         * lyxfunc.C: fix #487
10410
10411 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * lyxrc.h:
10414         * lyxrc.C:
10415         * lyxfunc.C: remove display_shortcuts, show_banner
10416
10417 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10418
10419         * Buffer_pimpl.C: oops, update on resize
10420
10421 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * buffer.C:
10424         * converter.C:
10425         * exporter.C:
10426         * lyxfunc.C:
10427         * BufferView.h:
10428         * BufferView.C: use repaint()
10429
10430         * BufferView_pimpl.h:
10431         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10432           as it's a clearer description. Remove superfluous
10433           redraws.
10434
10435 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * text.C: fix bug 488. Not ideal, but getting
10438           getWord() to work properly for the insets that
10439           matter is more difficult ...
10440
10441 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView_pimpl.C:
10444         * LyXAction.C:
10445         * commandtags.h:
10446         * lyxfunc.C: remove the six million index lyxfuncs to just
10447           one, and DTRT (bug 458)
10448
10449 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10450
10451         * BufferView.h:
10452         * BufferView.C:
10453         * BufferView_pimpl.h:
10454         * BufferView_pimpl.C: clean up resize() stuff,
10455           and unnecessary updateScreen()s
10456
10457 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10458
10459         * BufferView.h:
10460         * BufferView.C:
10461         * BufferView_pimpl.h:
10462         * BufferView_pimpl.C:
10463         * lyxfind.h:
10464         * lyxfind.C:
10465         * minibuffer.C: remove focus management of workarea,
10466           not needed. Use screen's greyOut()
10467
10468 2002-06-17  Herbert Voss  <voss@lyx.org>
10469
10470         * converter.C: (convert) do not post a message, when converting
10471         fails, let the calling function decide what to do in this case
10472
10473 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * lyxfunc.C: tidy up a little
10476
10477 2002-06-16    <alstrup@diku.dk>
10478
10479         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10480         Got rid of FORMS_H_LOCATION include. Now we are
10481         GUII.
10482
10483 2002-06-15  LyX Development team  <lyx@rilke>
10484
10485         * buffer.[Ch] (sgmlOpenTag):
10486         (sgmlCloseTag): Added support for avoiding pernicious mixed
10487         content. Return number of lines written.
10488
10489         (makeLinuxDocFile):
10490         (makeDocBookFile): Fixed calls to sgml*Tag.
10491         Simple white space clean.
10492
10493         (simpleDocBookOnePar): Simple white space clean.
10494
10495         * tabular.[Ch] (docBook): Renamed to docbook and got another
10496         argument to related with the pernicious mixed content.
10497
10498         (docbookRow): Fixed calls for docbook inset method.
10499
10500 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10501
10502         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10503         so it's X11 independent.
10504
10505         * kb*.[Ch]: ditto.
10506
10507         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10508
10509 2002-06-15  Lyx Development team  <lyx@electronia>
10510
10511         * intl.h: Renamed getTrans to getTransManager.
10512
10513 2002-06-14  Angus Leeming  <leeming@lyx.org>
10514
10515         * Makefile.am: nuke forgotten stl_string_fwd.h.
10516
10517 2002-06-12  Angus Leeming  <leeming@lyx.org>
10518
10519         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10520
10521 2002-06-13  Angus Leeming  <leeming@lyx.org>
10522
10523         * LaTeX.C:
10524         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10525
10526 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10527
10528         * kbmap.C (getiso): add support for cyrillic and greek
10529
10530 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * BufferView.h:
10533         * BufferView.C:
10534         * BufferView_pimpl.h:
10535         * BufferView_pimpl.C: move bogus scrolling logic
10536           to xforms
10537
10538 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10539
10540         * lyxfunc.C:
10541         * BufferView_pimpl.C: view->resize() change
10542
10543 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10544
10545         * BufferView_pimpl.C: topCursorVisible
10546           prototype change
10547
10548 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10549
10550         * Makefile.am:
10551         * lyx_gui.h:
10552         * lyx_gui.C: move to frontends/
10553
10554         * main.C:
10555         * lyx_main.h:
10556         * lyx_main.C: changes from above
10557
10558 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10559
10560         * intl.C:
10561         * intl.h:
10562         * kbmap.C:
10563         * kbsequence.C:
10564         * lyx_cb.C:
10565         * lyx_main.C: minor tidy
10566
10567 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * BufferView_pimpl.h:
10570         * BufferView_pimpl.C:
10571         * BufferView.h:
10572         * BufferView.C: make painter() const,
10573           remove dead code
10574
10575         * BufferView2.C: use screen() accessor
10576
10577         * lyx_main.h:
10578         * lyx_main.C: some minor cleanup
10579
10580 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView_pimpl.h:
10583         * BufferView_pimpl.C: remove enter/leaveView,
10584           use workHeight()
10585
10586 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10587
10588         * BufferView.h:
10589         * BufferView.C:
10590         * BufferView2.C:
10591         * BufferView_pimpl.h:
10592         * BufferView_pimpl.C: only construct screen once,
10593           rename
10594
10595         * lyxrc.C: remove pointless comment
10596
10597 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10598
10599         * BufferView.h:
10600         * BufferView.C: remove active() and belowMouse()
10601
10602         * BufferView_pimpl.h:
10603         * BufferView_pimpl.C: use workarea() not workarea_,
10604           and make it use a scoped_ptr instead
10605
10606 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10607
10608         * lyx_gui.C: add debug message on BadWindow
10609
10610 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10611
10612         * sp_spell.C: fdopen is not part of the C++ standard.
10613
10614         * paragraph.C (InsetIterator): use >= instead of ==
10615
10616 2002-06-07  Angus Leeming  <leeming@lyx.org>
10617
10618         Fixes needed to compile with Compaq cxx 6.5.
10619         * BufferView_pimpl.C:
10620         * DepTable.C:
10621         * buffer.C:
10622         * converter.C:
10623         * encoding.C:
10624         * lyx_gui.C:
10625         * lyx_main.C:
10626         * lyxtextclasslist.C:
10627         * minibuffer.C:
10628         * sp_spell.C:
10629         * tabular_funcs.C:
10630         * vc-backend.C:
10631         all c-library variables have been moved into namespace std. Wrap
10632         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10633
10634         * lyxlength.C:
10635         * tabular-old.C:
10636         * tabular.C:
10637         Add a using std::abs declaration.
10638
10639         * kbmap.h (modifier_pair):
10640         * paragraph.h (InsetTable, InsetList):
10641         * lyxfont.h (FontBits):
10642         type definition made public.
10643
10644         * bufferlist.C (emergencyWriteAll): the compiler complains that
10645         there is more than one possible lyx::class_fun template to choose from.
10646         I re-named the void specialisation as lyx::void_class_fun.
10647
10648         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10649
10650         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10651         the compiler is is unable to find tostr in write_attribute.
10652
10653 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10654
10655         * buffer.C (sgmlError): hide #warning
10656
10657 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10658
10659         * xtl/*: get rid of xtl, which is not in use anyway
10660
10661         * LyXAction.C (init):
10662         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10663         were unimplemented xtl experimentation
10664
10665 2002-06-04  André Pönitz <poenitz@gmx.net>
10666
10667         * lyxfunc.C: disable array operation on simple formulae
10668
10669 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10670
10671         * converter.C: constify a bit
10672
10673 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * lyx_gui.C: check xforms version correctly
10676
10677 2002-04-30  Herbert Voss  <voss@lyx.org>
10678
10679         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10680         "keep" option
10681
10682 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10683
10684         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10685           attempt to register it with a VCS)
10686
10687 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10688
10689         * lyx_main.C (init): honor variables LYX_DIR_13x and
10690         LYX_USERDIR_13x
10691
10692 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10693
10694         * buffer.h:
10695         * buffer.C:
10696         * lyx_main.C: fix a crash on bad command line,
10697           and give a useful exit status on error
10698
10699         * lyxfunc.C (doImport): allow -i lyx to work
10700
10701 2002-03-30  André Pönitz <poenitz@gmx.net>
10702
10703         * lyxfunc.C: mathed font changes
10704
10705 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10706
10707         * LaTeX.C:
10708         * importer.h:
10709         * importer.C:
10710         * lyx_sty.h:
10711         * lyx_sty.C:
10712         * lyxlex.C:
10713         * lyxrow.h:
10714         * lyxtext.h:
10715         * paragraph.h:
10716         * paragraph.C:
10717         * texrow.h:
10718         * texrow.C:
10719         * text.C:
10720         * trans_mgr.h: srcdocs, and some minor cleanups
10721
10722 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10723
10724         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10725         call getFont all the time)
10726
10727 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10728
10729         * switch from SigC signals to boost::signals
10730
10731 2002-05-29  André Pönitz <poenitz@gmx.net>
10732
10733         * paragraph_pimpl.C (getChar): don't call size() too often...
10734
10735 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10736
10737         * paragraph_pimpl.C (insertChar): do not try to update tables when
10738         appending (pos == size())
10739
10740         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10741         in order to reduce drastically the number of comparisons needed to
10742         parse a large document
10743
10744 2002-05-29  André Pönitz <poenitz@gmx.net>
10745
10746         * text.C:
10747         * text2.C:
10748         * lyxtextclass.C:
10749         * sp_pspell.h:
10750         * textclasslist.[Ch]:
10751         * sp_ispell.h: whitespace change
10752
10753 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10754
10755         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10756         lyxaction directly now.
10757
10758 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10759
10760         * trans.C:
10761         * lyxfont.C:
10762         * lyxvc.C: remove unused headers
10763
10764 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10765
10766         * Makefile.am:
10767         * buffer.h:
10768         * undostack.h:
10769         * undostack.C:
10770         * undo_funcs.h:
10771         * undo_funcs.C: some cleanups. Use shared_ptr
10772           and a template for the undo stacks.
10773
10774 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10775
10776         * BufferView_pimpl.h:
10777         * BufferView_pimpl.C:
10778         * kbmap.h:
10779         * kbmap.C:
10780         * kbsequence.h:
10781         * kbsequence.C:
10782         * lyxfunc.h:
10783         * lyxfunc.C:
10784         * text2.C: use key_state/mouse_state
10785
10786 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10787
10788         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10789         and LSubstring
10790
10791         * chset.C: change include order
10792         (loadFile): use boost regex and get rid of LRegex and LSubstring
10793
10794         * Makefile.am (BOOST_LIBS): new variable
10795         (lyx_LDADD): use it
10796
10797         * LaTeX.C: change include order.
10798         (scanAuxFile): use boost regex and get rid of LRegex and
10799         LSubstring
10800         (deplog): ditto
10801
10802 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10803
10804         * ColorHandler.h:
10805         * ColorHandler.C:
10806         * FontInfo.h:
10807         * FontInfo.C: moved to frontends/xforms/
10808
10809         * FontLoader.h:
10810         * FontLoader.C: moved into frontends for GUIIzation
10811
10812         * Makefile.am:
10813         * lyx_gui.C:
10814         * lyxfont.C:
10815         * lyxfunc.C: changes from above
10816
10817 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * LColor.C: remove spurious X include
10820
10821         * BufferView_pimpl.C:
10822         * Makefile.am:
10823         * font.h:
10824         * font.C:
10825         * text.C:
10826         * text2.C: move font metrics to frontends/
10827
10828 2002-05-24  Juergen Vigna  <jug@sad.it>
10829
10830         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10831         setting the undo_cursor.
10832
10833         * ParagraphParameters.h: include local includes first.
10834
10835 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10836
10837         * BufferView_pimpl.C:
10838         * BufferView_pimpl.h:
10839         * Makefile.am:
10840         * WorkArea.h:
10841         * WorkArea.C:
10842         * screen.C: move WorkArea into frontends/
10843
10844         * lyxscreen.h:
10845         * screen.C:
10846         * text.C:
10847         * BufferView.C:
10848         * BufferView2.C: move LyXScreen into frontends/
10849
10850         * lyxlookup.h:
10851         * lyxlookup.C:
10852         * lyx_gui.C: move lyxlookup into frontends/xforms/
10853
10854 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * BufferView2.C:
10857         * BufferView_pimpl.C:
10858         * FontLoader.C:
10859         * LyXView.h:
10860         * LyXView.C:
10861         * Makefile.am:
10862         * WorkArea.C:
10863         * XFormsView.h:
10864         * XFormsView.C:
10865         * buffer.C:
10866         * bufferlist.C:
10867         * bufferview_funcs.C:
10868         * converter.C:
10869         * importer.C:
10870         * lyx_cb.C:
10871         * lyx_gui.C:
10872         * lyx_main.C:
10873         * lyx_find.C:
10874         * lyxfunc.C:
10875         * lyxvc.C:
10876         * minibuffer.C:
10877         * text.C:
10878         * text2.C:
10879         * trans.C:
10880         * vc-backend.C: move LyX/XFormsView into frontends/
10881
10882 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10883
10884         * Makefile.am:
10885         * PainterBase.C:
10886         * PainterBase.h:
10887         * Painter.C:
10888         * Painter.h:
10889         * WorkArea.C:
10890         * WorkArea.h:
10891         * screen.C:
10892         * tabular.C:
10893         * text.C:
10894         * text2.C: move Painter to frontends/
10895
10896 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10897
10898         * buffer.C: comment out some some code that depend upon lyx_format
10899         < 220
10900
10901         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10902         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10903
10904         * buffer.h (NO_COMPABILITY): turn off compability
10905
10906         * ColorHandler.C: include scoped_array.hpp
10907
10908         * font.C: Use more specific smart_ptr header.
10909         * Painter.C: ditto
10910         * gettext.C: ditto
10911         * ShareContainer.h: ditto
10912         * lyx_main.h: ditto
10913         * kbmap.h: ditto
10914         * FontInfo.h: ditto
10915         * BufferView_pimpl.h: ditto
10916         * ColorHandler.h: ditto
10917
10918         * kbmap.C (defkey): change call to shared_ptr::reset
10919
10920 2002-05-21  Juergen Vigna  <jug@sad.it>
10921
10922         * buffer.C (insertErtContents): fix to insert ert asis if it is
10923         non empty. Skip it completely if it contains only whitespaces.
10924
10925 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10926
10927         * BufferView_pimpl.C:
10928         * BufferView2.C: clear selection on paste (bug 393)
10929
10930 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10931
10932         * DepTable.C: include ctime
10933
10934 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10935
10936         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10937
10938 2002-05-14  Juergen Vigna  <jug@sad.it>
10939
10940         * text.C (breakParagraph): fixed function to honor the keepempty
10941         layout in the right maner and also to permit the right breaking
10942         algorithm on empty or non empyt keepempty paragraphs.
10943
10944         * paragraph.C (breakParagraph): we have to check also if the par
10945         is really empty (!size()) for isempty otherwise we do the wrong
10946         paragraph break.
10947
10948 2002-05-10  Juergen Vigna  <jug@sad.it>
10949
10950         * buffer.[Ch] : The following are only changes to the ert
10951         compatibility read reading old LaTeX layout and font stuff and
10952         convert it to ERTInsets.
10953
10954         * buffer.h: added isErtInset().
10955
10956         * buffer.C (struct ErtComp): add a fromlayout bool to check
10957         if we're inside a LaTeX layout.
10958         (isErtInset): new helper function.
10959         (insertErtContents): look for other ert insets before this one
10960         and insert the contents there, so that we don't have subsequent
10961         ERT insets with nothing between them. This way we create only one
10962         inset with multiple paragraphs. Also check if we don't insert only
10963         spaces ' ' as they are ignored anyway afterwards in the .tex file
10964         so if we have only spaces we will ignore this latex part in the
10965         new file.
10966         (parseSingleLyXformat2Token \\layout): better compatibility when
10967         reading layout-latex stuff.
10968         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10969         language tag.
10970         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10971         stuff after reading the inset only get the information back from
10972         the stack.
10973
10974 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10975
10976         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10977
10978         * LaTeXFeatures.C (getBabelOptions): New method.
10979
10980 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10981
10982         * BufferView_pimpl.C (Dispatch): work around missing argument for
10983         'layout'
10984
10985 2002-05-08  Juergen Vigna  <jug@sad.it>
10986
10987         * text.C (leftMargin): handle paragraph leftindent.
10988
10989         * paragraph.C (writeFile): write the new \\leftindent tag.
10990         (validate): handle leftindent code.
10991         (TeXEnvironment): handle paragraphleftindent code again.
10992
10993         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10994
10995         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10996         for paragrap_extra indent code and new token \\leftindent.
10997         (latexParagraphs): handle the leftindent as environment.
10998
10999         * ParameterStruct.h: added leftindent support.
11000
11001         * ParagraphParameters.C (leftIndent): added support functions for
11002         the paragraph left indent.
11003
11004         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11005         more appropriate.
11006
11007 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11008
11009         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11010         inside insetERT.
11011
11012         * text.C (computeBidiTables): No bidi in insetERT.
11013
11014         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11015         in RTL documents.
11016
11017 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11018
11019         * version.C.in: pre 5
11020
11021 2002-05-02  José Matos  <jamatos@fep.up.pt>
11022         * buffer.C (makeDocBookFile): white space changes, add newline to
11023         command styles.
11024         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11025
11026         * tabular.C (docBook): fix typo.
11027
11028 2002-05-03  Juergen Vigna  <jug@sad.it>
11029
11030         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11031         change in LyXText as we can not be sure it was not freed.
11032         (drawOneRow): remove unused code.
11033
11034         * text.C (drawInset): redo the calculation of the need_break_row as
11035         it could have a row which was already freed.
11036         (draw): look at the return value of drawInset and return false if
11037         it also returned false.
11038         (paintRowText): look at the return value of draw and return false if
11039         it also returned false.
11040
11041         * lyxtext.h: added bool return type to drawInset() and draw() so that
11042         if we have a change in the row so that the rowbreak has to be redone
11043         we abort drawing as it will be called again.
11044
11045 2002-05-02  Juergen Vigna  <jug@sad.it>
11046
11047         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11048         a change in the maintext also if we're inside an inset.
11049         (Dispatch): set the cursor again after a break line and after the
11050         screen has been updated as it could be we're in a different row.
11051
11052         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11053         to set the cursor behind the pargraph with > size().
11054         (setCursor): check also for the same paragraph when checking where
11055         to put the cursor if we have a NFR inset.
11056
11057         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11058         parts of layout read further up as it still was in the wrong
11059         position.
11060
11061 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * screen.C (drawFromTo): change sine fullRebreak always return
11064         true.
11065
11066         * buffer.C (parseSingleLyXformat2Token): reindent some
11067
11068         * BufferView_pimpl.C (update): change since fullRebreak always
11069         return true.
11070         (Dispatch): git rid of the last hardcoded "Standard"s.
11071
11072 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11073
11074         * text2.[Ch] (fullRebreak): make it return void now that we always
11075         returned true.
11076
11077 2002-04-30  Juergen Vigna  <jug@sad.it>
11078
11079         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11080         ert compatibility check for "latex" layout.
11081
11082 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11083
11084         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11085         minipages: use col% instead of p%, and also use the current font.
11086         (makeLaTeXFile): Fix use babel condition.
11087         (parseSingleLyXformat2Token): Correct font when reading old floats.
11088
11089 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11092         inserting list of floats.
11093
11094 2002-04-25  Herbert Voss  <voss@lyx.org>
11095
11096         * MenuBackend.C (expand): don't add the graphics extensions to the
11097         export menu
11098
11099 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11100
11101         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11102         non-existing layout, do not complain if it was the default layout
11103         of the original class (bug #342)
11104
11105 2002-04-24  Juergen Vigna  <jug@sad.it>
11106
11107         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11108         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11109
11110 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11111
11112         * buffer.C (getBibkeyList): If using \bibliography, return the
11113         option field with the reference itself. Enables us to provide natbib
11114         support when using \bibliography.
11115
11116 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11117
11118         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11119
11120         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11121         natbib is provided by the LaTeX class.
11122
11123 2002-04-23  Juergen Vigna  <jug@sad.it>
11124
11125         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11126         Wakeup functions.
11127
11128         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11129
11130 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11133
11134         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11135         ensuremath around textordmasculine, textordfeminine and
11136         textdegree.
11137
11138 2002-04-19  Juergen Vigna  <jug@sad.it>
11139
11140         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11141         reinitializing the buffer otherwise row-dimensions may be wrong.
11142         (update): reset also the selection cursors if they do exits otherwise
11143         their x/y positions may be wrong.
11144
11145         * text2.C (cursorDown): don't enter the inset if we came from a row
11146         above and are one row over the inset.
11147
11148         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11149         really leaving an inset.
11150
11151 2002-04-18  Juergen Vigna  <jug@sad.it>
11152
11153         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11154         of the selected paragraph does not have the selected layout also if
11155         the last one had!
11156
11157         * text2.C (setLayout): fixed bug which did not change last selected
11158         paragraph.
11159
11160         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11161         changed the read and substituted \\end_float with \\end_inset!
11162
11163         * BufferView_pimpl.C (cursorPrevious):
11164         (cursorNext): fixed to make it work with rows heigher than the work
11165         area without moving the cursor only the draw of the row.
11166         (workAreaMotionNotify): fix jumping over high rows.
11167
11168 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11169
11170         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11171         Ressler.
11172
11173 2002-04-16  Juergen Vigna  <jug@sad.it>
11174
11175         * text2.C (setCursor): set also the irow().
11176         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11177         (cursorUp):
11178         (cursorDown): support for locking an inset if the x_fix value goes
11179         inside it. That way I can transverse insets too with cursor up/down.
11180
11181         * lyxrow.h: added irow helper function same as other (i) functions.
11182
11183         * BufferView_pimpl.C (cursorPrevious):
11184         (cursorNext): fixed for insets!
11185
11186 2002-04-15  Juergen Vigna  <jug@sad.it>
11187
11188         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11189         position otherwise it is wrong in some cases.
11190
11191         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11192         inside the inset before the call.
11193
11194 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11195
11196         * buffer.[Ch] (getBibkeyList): make it const.
11197
11198 2002-04-12  Juergen Vigna  <jug@sad.it>
11199
11200         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11201
11202         * text2.C (getCursorX): new helper function
11203         (setCursor): compute also ix_
11204         (setCursorFromCoordinates): set also ix.
11205
11206         * lyxcursor.h: added ix_ and helper functions.
11207
11208         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11209
11210         * buffer.C (insertStringAsLines): dont break paragraph if the this
11211         paragraph is inside an inset which does not permit it!
11212
11213         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11214         also with no chars on this paragraph.
11215         (paintRowText): only paint stuff if it's inside the workarea!
11216
11217         * paragraph.C (breakParagraph): honor keepempty flag and break the
11218         paragraph always below not above.
11219
11220         * BufferView2.C (unlockInset): update the paragraph layout on inset
11221         unlock as we changed paragraph in such a case.
11222
11223         * lyxfind.C (LyXFind): clear the former selection if not found!
11224
11225         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11226         again called in insertChar().
11227
11228         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11229         an inset which uses the whole row!
11230         (rightMargin): ditto.
11231         (insertChar): force a rebreak if we inserted an inset!
11232
11233 2002-03-28  Herbert Voss  <voss@lyx.org>
11234
11235         * lyxlength.[Ch]: add inBP() to get the right PS-point
11236         units (BigPoint). With inPixels we have rounding errors
11237
11238 2002-04-11  Juergen Vigna  <jug@sad.it>
11239
11240         * text2.C (setCursorFromCoordinates): set iy to the right value.
11241         (setCursor): add check if row->previous exists!
11242
11243         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11244         an old float_type as this was the case in the old code!
11245
11246         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11247
11248         * BufferView2.C (showLockedInsetCursor): use iy
11249         (fitLockedInsetCursor): ditto
11250
11251         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11252         locked insets as there we have the right value now.
11253
11254         * lyxcursor.C: added iy_ variable and iy functions to set to the
11255         baseline of cursor-y of the locked inset.
11256
11257         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11258         (setCursor): fixed for insets which need a full row.
11259
11260         * text.C (rowLastPrintable): don't ignore the last space when before
11261         an inset which needs a full row.
11262         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11263         as last character of a row when before a inset which needs a full row.
11264
11265 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * version.C.in: update date
11268
11269         * text2.C (fullRebreak): try to always return true and see what
11270         happens...
11271
11272 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * MenuBackend.C (expand): use Floating::listName
11275
11276         * FloatList.C (FloatList): add listName argument to the built-in
11277         floats
11278
11279         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11280         text associated with the float.
11281
11282 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11283
11284         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11285
11286 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * ShareContainer.h: add a couple of missing typenames.
11289
11290 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11291
11292         * lyxrc.C (getDescription): use _() correctly rather than N_().
11293
11294 2002-03-28  Herbert Voss  <voss@lyx.org>
11295
11296         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11297         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11298
11299 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11300
11301         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11302         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11303
11304 2002-03-29  Juergen Vigna  <jug@sad.it>
11305
11306         * lyxfunc.C (dispatch): add a missing fitCursor call.
11307
11308         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11309         it was scrolled by a cursor move, so return the bool status.
11310
11311         * BufferView.C (fitCursor): return the bool flag also to the outside
11312         world as this is needed.
11313
11314         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11315
11316         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11317         call the edit() as it is not needed (and wrong) IMO.
11318         (workAreaButtonPress): set the screen_first variable before evt.
11319         unlock the inset as this may change screen_first and then we have
11320         a wrong y position for the click!
11321
11322 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * MenuBackend.C (expand): another translation that I missed
11325
11326 2002-03-28  Juergen Vigna  <jug@sad.it>
11327
11328         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11329
11330         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11331
11332 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11333
11334         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11335
11336         * MenuBackend.C (expand): fix export/view/update when there is no
11337         document open.
11338
11339 2002-03-27  Herbert Voss  <voss@lyx.org>
11340
11341         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11342         and text%
11343
11344 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11345
11346         * bufferview_funcs.C (currentState): only show paragraph number
11347         for is DEVEL_VERSION is set.
11348
11349         * lyxfunc.C (dispatch): put warning in INFO channel
11350
11351         * MenuBackend.C (expand): translate the name of floats
11352
11353         * FloatList.C (FloatList): mark the float names for translation
11354
11355         * converter.C (convert): use LibScriptSearch
11356
11357 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11358
11359         * MenuBackend.C (defaults): fix default menu (we might as well get
11360         rid of it...)
11361
11362 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11363
11364         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11365         directory.
11366
11367 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * lyxvc.C: reorder includes.
11370
11371 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11372
11373         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11374           properly
11375
11376 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * CutAndPaste.C: change layouts earlier on paste
11379           to avoid crashing when calling getFont()
11380
11381 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11382
11383         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11384         irritating #error.
11385
11386 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * WorkArea.C: remove 'Pending' debug message.
11389
11390         * most files: ws cleanup
11391
11392         * buffer.[Ch]: ws changes
11393
11394         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11395
11396 2002-03-21  Juergen Vigna  <jug@sad.it>
11397
11398         * tabular.C (SetMultiColumn): collapse also the contents of the
11399         cells and set the last border right. Added a Buffer const * param.
11400
11401 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11404         linking or not.
11405
11406 2002-03-19  Juergen Vigna  <jug@sad.it>
11407
11408         * text2.C (clearSelection): reset also xsel_cache.
11409
11410         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11411         where it needs to be called (John tells us to do so too :)
11412         (selectionLost): reset sel_cache.
11413
11414         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11415
11416 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11417
11418         * text2.C (setCursorIntern): put debuging code in INSETS channel
11419
11420 2002-03-19  André Pönitz <poenitz@gmx.net>
11421
11422         * lyxfunc.C: tiny whitespace change
11423
11424 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11425
11426         * ToolbarDefaults.C (init):
11427         * LyXAction.C (init):
11428         * commandtags.h:
11429         * BufferView_pimpl.C (Dispatch):
11430         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11431
11432 2002-03-19  Allan Rae  <rae@lyx.org>
11433
11434         * exporter.C (Export): removeAutoInsets before doing anything else.
11435         While I've just introduced a dependency on BufferView this really is
11436         the best place to clean the buffer otherwise you need to cleanup in
11437         a dozen places before calling export or cleanup in a dozen functions
11438         that export calls.
11439
11440         * converter.C (runLaTeX):
11441         (scanLog): Better handling of removeAutoInsets and screen updates.
11442
11443         * lyxfunc.C (dispatch): small whitespace changes
11444
11445 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11446
11447         * WorkArea.C (C_WorkAreaEvent): return a value.
11448         (event_cb): return 1 if we handled the event, 0 otherwise.
11449
11450         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11451
11452 2002-03-18  Juergen Vigna  <jug@sad.it>
11453
11454         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11455         (GetAdditionalWidth): ditto.
11456         (RightLine): ditto.
11457         (LeftLine): ditto.
11458
11459         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11460         inset if we're there actually (probably not used right now but this
11461         is the direction to go for unifying code).
11462         (paste): disable code to clear the selection.
11463
11464         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11465         inside an InsetText and move the check further up as it is in the
11466         wrong place.
11467
11468         * text2.C (pasteSelection): set a selection over the pasted text.
11469
11470 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11471
11472         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11473         and libgraphics to build on Cygwin.
11474
11475 2002-03-15  Juergen Vigna  <jug@sad.it>
11476
11477         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11478         inserting an Inset into the paragraph. I know this is not the best
11479         fix but we already use current_view in CutAndPaste so we will remove
11480         all of it's using at the same time.
11481
11482         * buffer.C (sgmlError): deactivated function till it is rewritten in
11483         the right mode, now it can create problems.
11484
11485         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11486         before accessing it.
11487
11488 2002-03-14  Juergen Vigna  <jug@sad.it>
11489
11490         * undo_funcs.C (textHandleUndo): do the right thing when updating
11491         the inset after the undo/redo.
11492
11493         * text2.C (setCursor): just some testcode for #44 not ready yet.
11494
11495         * undo_funcs.C (textHandleUndo): set the next() and previous()
11496         pointers of the paragraph to 0 before deleting otherwise we have
11497         problems with the Paragraph::[destructor].
11498
11499         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11500         on a paragraph insertion.
11501
11502 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11503
11504         * buffer.C (asciiParagraph): use += operator for char append to
11505         string.
11506
11507         * paragraph.C (getFontSettings): compare >= not just >
11508         (highestFontInRange): ditto
11509         (setFont): ditto
11510
11511 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * paragraph.C: change several algorithm to be more appripriate for
11514         the problem domain. This is lookip in FontList and in the InsetList.
11515
11516 2002-03-13  André Pönitz <poenitz@gmx.net>
11517
11518         * commandtags.h:
11519         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11520
11521 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * commandtags.h:
11524         * LyXAction.C:
11525         * lyxfunc.C:
11526         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11527
11528 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * Painter.C (display): anon helper function, adjust code for this
11531         change.
11532         (pixmap): remove function.
11533
11534         * Painter.h: remove private display variable.
11535
11536         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11537
11538 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11539
11540         * WorkArea.[Ch]: remove figinset_canvas cruft.
11541
11542 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * lyxtextclass.C (operator): add one item cache optimization.
11545
11546         * bufferlist.h: doxy changes
11547
11548         * bufferlist.C: ws changes
11549
11550         * DepTable.[Ch] (ext_exist): place const in the right spot.
11551
11552         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11553         call resizeInsets.
11554         (workAreaExpose): call resizeInsets when the with BufferView changes.
11555         (Dispatch): adjust for protectedBlank removal
11556         (specialChar): call updateInset if the insert went ok.
11557
11558         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11559         specialChar instead.
11560
11561         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11562
11563         * BufferView.h: doxy change
11564
11565         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11566
11567         * lyxtextclass.C (operator[]): remove non-const version
11568         (defaultLayout): remove non-const version
11569
11570 2002-03-12  Juergen Vigna  <jug@sad.it>
11571
11572         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11573         did resize the LyXText too.
11574
11575         * buffer.C (readLyXformat2): set layout information on newly allocated
11576         paragraphs.
11577
11578         * tabular.C (OldFormatRead): set layout information on the paragraph.
11579
11580 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11581
11582         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11583
11584 2002-03-11  Juergen Vigna  <jug@sad.it>
11585
11586         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11587         plainly wrong.
11588         (resizeCurrentBuffer): force also the insets to resize themselfes.
11589         (moveCursorUpdate): fixed up for InsetText.
11590
11591 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11592
11593         * commandtags.h:
11594         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11595         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11596         value of Dialogs::tooltipsEnabled().
11597         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11598
11599 2002-03-08  Juergen Vigna  <jug@sad.it>
11600
11601         * BufferView_pimpl.C (updateInset): update inset inside inset also
11602         if it isn't inside theLockingInset().
11603
11604 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * buffer.C (asciiParagraph): redo some of the word and line length
11607         handling.
11608         (getLists): look for Caption instead of caption.
11609
11610 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11611
11612         * buffer.C (Buffer): initialize niceFile to true
11613         (makeLaTeXFile):
11614         (makeLinuxDocFile):
11615         (makeDocBookFile): make sure niceFile is true on exit
11616
11617 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11618
11619         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11620
11621 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11622
11623         * LyXSendto.C: remove.
11624         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11625         * lyx_gui.C: remove now-redundant comment.
11626         * ColorHandler.h: remove forward declaration of class WorkArea.
11627         * lyxfunc.C: remove #include "WorkArea.h".
11628
11629 2002-03-07  Juergen Vigna  <jug@sad.it>
11630
11631         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11632         got moved away with the DEPM and also set the inset_owner always
11633         right which before could have been omitted.
11634
11635 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11638         wanted layout is not found.
11639
11640 2002-03-07  Juergen Vigna  <jug@sad.it>
11641
11642         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11643
11644 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * paragraph.C (breakParagraph): use default layout not layout of
11647         prev paragraph.
11648         (Paragraph): clear ParagraphParameters.
11649
11650 2002-03-06  Juergen Vigna  <jug@sad.it>
11651
11652         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11653         otherwise it would not be a valid lenght. Fixed a special case in
11654         the minipage compatibility read where we end the document with a
11655         minipage.
11656
11657         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11658         was set as it could be 0 for InsetTexts first entry.
11659
11660 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * paragraph.C (writeFile): if layout is empty write out
11663         defaultLayoutName().
11664
11665         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11666         file without named layout we set layout to defaultLayoutName().
11667
11668 2002-03-06  Juergen Vigna  <jug@sad.it>
11669
11670         * CutAndPaste.C (copySelection): set layout for new paragraph.
11671
11672         * text.C (prepareToPrint): leave ERT inset left aligned
11673         (leftMargin): don't indent paragraphs inside ERT insets
11674
11675 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11676
11677         * paragraph.C (breakParagraph): dont call clear do the work manually
11678
11679         * paragraph.[Ch] (clear): remove function
11680
11681 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * paragraph.C (Paragraph): dont call clear, the work has already
11684         been done.
11685
11686         * lyxtextclass.C (operator): assert if n is empty
11687
11688         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11689         work manually instead.
11690
11691 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11692
11693         * BufferView_pimpl.C: protect selectionLost against text == 0
11694
11695 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11696
11697         * text.C (breakParagraph): fix a setting layout to '0' problem.
11698
11699 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11700
11701         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11702         final location of file, for the included files, and graphics.
11703
11704 2002-03-05  Juergen Vigna  <jug@sad.it>
11705
11706         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11707
11708 2002-03-04  Juergen Vigna  <jug@sad.it>
11709
11710         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11711
11712         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11713         last column of multicolumn cells.
11714         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11715
11716 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11717
11718         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11719         file if it doesn't go to a temporary file.
11720
11721         * buffer.C (sgmlOpenTag):
11722         (sgmlCloseTag):  remove extra newline insertion.
11723
11724 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * text.C (getRowNearY): comment out debug msg
11727
11728 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11729
11730         * text2.C: first -> first_y
11731
11732         * text.C (getRowNearY): add some attemts at a possible
11733         optimization, not working.
11734
11735         * tabular.[Ch]: add BufferParams to several function so that newly
11736         created paragraph can be initialized to he default layotu for the
11737         buffers textclass.
11738
11739         * tabular-old.C (ReadOld): add buf->params to call of Init
11740
11741         * screen.C: rename text->first to text->first_y
11742
11743         * paragraph.C (breakParagraph): always set layout in the broken
11744         paragraph
11745
11746         * lyxtextclass.C (Read): remove lowercase
11747         (hasLayout): ditto
11748         (operator): ditto
11749         (delete_layout): ditto
11750
11751         * lyxtext.h: rename first -> first_y
11752
11753         * lyxlayout.C (Read): remove lowercase
11754         (name): ditto
11755         (setName): ditto
11756         (obsoleted_by): ditto
11757
11758         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11759
11760         * buffer.C (insertErtContents): add params are to InsetERT
11761         (parseSingleLyXformat2Token): add code to check if a paragraphs
11762         layout really exist.
11763         (parseSingleLyXformat2Token): add params to several inset
11764         constructors
11765         (asciiParagraph): remove lowercase, do the layout comparisons with
11766         no_case
11767
11768         * BufferView_pimpl.C (cursorNext): first -> first_y
11769         (resizeCurrentBuffer): first -> first_y
11770         (updateScrollbar): first -> first_y
11771         (scrollCB): first -> first_y
11772         (workAreaMotionNotify): first -> first_y
11773         (workAreaButtonPress): first -> first_y
11774         (checkInsetHit): first -> first_y
11775         (cursorPrevious): first -> first_y
11776         (cursorNext): first -> first_y
11777         (Dispatch): add buffer_->params to severl inset contructors
11778
11779 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * lyxlayout.C (Read): remove some debug info that I forgot.
11782
11783         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11784         clean up the code slightly.
11785         (makeLinuxDocFile): ditto
11786         (makeDocBookFile): ditto
11787
11788         * text2.C: layout as string
11789
11790         * text.C: layout as string
11791
11792         * paragraph_pimpl.C: layout as string
11793
11794         * paragraph.[Ch]: layout as string
11795
11796         * lyxtextclasslist.[Ch]: layout as string
11797
11798         * lyxtextclass.[Ch]: layout as string
11799
11800         * lyxtext.h: layout as string
11801
11802         * lyxlayout.[Ch]: layout as string
11803
11804         * lyx_cb.C: layout as string
11805
11806         * bufferview_funcs.C: layout as string
11807
11808         * bufferparams.C: layout as string
11809
11810         * buffer.C: layout as string
11811
11812         * LyXView.[Ch]: layout as string
11813
11814         * LaTeXFeatures.[Ch]: layout as string
11815
11816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11817
11818         * BufferView_pimpl.C: change current_layout to string, remove
11819         lyx::layout_type.
11820         (Dispatch):
11821         (smartQuote):
11822         (insertInset):
11823         (workAreaButtonRelease): layout as string
11824
11825         * BufferView2.C (unlockInset): adjust
11826
11827         * vspace.C (asLatexCommand): use an explict temp variable.
11828
11829 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11830
11831         * Makefile.am: use FRONTEND_*
11832
11833 2002-03-01  Juergen Vigna  <jug@sad.it>
11834
11835         * tabular.C (SetWidthOfMulticolCell): changed to something better
11836         I hope but still work in progress.
11837         (recalculateMulticolumnsOfColumn): renamed function from
11838         recalculateMulticolCells as it is more appropriate now.
11839         (SetWidthOfCell): calculate multicols better.
11840
11841 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11842
11843         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11844
11845         * lyxfunc.C (processKeySym): print sequence also if it is
11846         `deleted' (complete)
11847
11848         * kbsequence.C (print): print sequence even if it is deleted
11849         (complete would be a better word, actually).
11850
11851         * lyxfunc.C (dispatch): print complete options after a prefix key
11852
11853         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11854
11855 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11856
11857         * text2.C (setCharFont): eliminate setCharFont code duplication.
11858
11859 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11860
11861         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11862         LFUN_TABULAR_FEATURE (bug #177)
11863
11864 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11865
11866         * Makefile.am: remove figure.h
11867
11868 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11869
11870         * Bufferview_pimpl.C:
11871         * CutAndPasteC:
11872         * LaTeX.C:
11873         * LyXSendto.C:
11874         * buffer.C:
11875         * bufferlist.C:
11876         * converter.C:
11877         * language.C:
11878         * lyxfunc.C:
11879         * lyxvc.C:
11880         * paragraph.C:
11881         * text.C:
11882         * text2.C: remove #include "lyx_gui_misc.h".
11883
11884         * LaTeX.C: added #include <cstdio>
11885
11886 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11889         that the paragraph following this one can have.
11890
11891         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11892
11893         * vspace.C (asLatexCommand): fix bogus gcc warning
11894
11895         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11896
11897 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11898
11899         * text2.C (setLayout): get rid of redundant code
11900
11901 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11902
11903         * text2.C (incDepth): make sure depth cannot be increased beyond
11904         reasonable values.
11905
11906 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11907
11908         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11909         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11910
11911         * PainterBase.h (image):
11912         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11913         a LyXImage const *.
11914
11915 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * BufferView.C:
11918         * BufferView.h:
11919         * BufferView_pimpl.C:
11920         * BufferView_pimpl.h:
11921         * LaTeXFeatures.C:
11922         * LyXAction.C:
11923         * LyXView.C:
11924         * Makefile.am:
11925         * UpdateList.h:
11926         * UpdateList.C:
11927         * buffer.C:
11928         * figure.h:
11929         * figureForm.C:
11930         * figureForm.h:
11931         * figure_form.C:
11932         * figure_form.h:
11933         * lyx_cb.C:
11934         * lyx_gui.C:
11935         * lyx_gui_misc.C:
11936         * lyxfunc.C:
11937         * sp_base.h:
11938         * sp_ispell.h:
11939         * sp_pspell.h:
11940         * sp_spell.C: remove fig inset, and the crap house of
11941           cards that follows it
11942
11943 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11944
11945         * Makefile.am:
11946         * lyxserver.C:
11947         * os2_defines.h:
11948         * os2_errortable.h:
11949         * nt_defines.h: move .h into support/
11950
11951         * vms_defines.h: remove
11952
11953         * WorkArea.C: add space in debug output
11954
11955         * text2.C:
11956         * paragraph.C:
11957         * buffer.C: add WITH_WARNINGS
11958
11959         * vc-backend.h:
11960         * vc-backend.C:
11961         * bufferlist.C: s/retrive/retrieve/, add docs
11962
11963         * vspace.h:
11964         * vspace.C:
11965         * kbmap.h:
11966         * lyxlength.h:
11967         * lyxgluelength.h:
11968         * length_common.h:
11969         * chset.h:
11970         * chset.C: add docs
11971
11972         * lyxgui.C: add ID to X error handler
11973
11974         * lyxtestclass.c: fix typo
11975
11976 2002-02-26  Juergen Vigna  <jug@sad.it>
11977
11978         * tabular_funcs.C (write_attribute): changed so that some default
11979         attributes are not written at all.
11980         (getTokenValue): set default values before trying to read the
11981         value so we have the return value always set as default if we don't
11982         find the token we search for.
11983
11984         * tabular.C (Write): write bools as bools not as strings!
11985
11986 2002-02-22  Juergen Vigna  <jug@sad.it>
11987
11988         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11989         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11990
11991         * text.C (leftMargin): don't add an indent for paragraphs inside
11992         tabular cells (fix #208).
11993
11994 2002-02-21  José Matos  <jamatos@fep.up.pt>
11995
11996         * tabular.C (docBook): fixed support for long tables.
11997
11998 2002-02-20  Juergen Vigna  <jug@sad.it>
11999
12000         * text2.C (getFont): get the drawing font of the Inset if this
12001         paragraph is inside an inset (only important for InsetERT for now).
12002
12003         * buffer.C (insertErtContents): use new lanugage params in ERT
12004         constructor.
12005
12006         * CutAndPaste.C: commenting out seemingly uneeded code.
12007
12008 2002-02-19  Allan Rae  <rae@lyx.org>
12009
12010         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12011         Iterators might be simple to use but they also get invalidated.
12012         (removeAutoInsets): renamed saved cursor tracking variables and added
12013         some comments to clarify what everything does.
12014
12015 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12016
12017         * Chktex.C:
12018         * LaTeX.C:
12019         * LyXSendto.C:
12020         * converter.C:
12021         * lyx_cb.C:
12022         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12023         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12024
12025         * lyxfunc.C:
12026         * vc-backend.h: remove #include "support/syscall.h"
12027
12028         * LaTeX.C:
12029         * LyXSendto.C:
12030         * converter.C: rearrange #includes in Lars' approved fashion.
12031
12032         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12033         forward declare class Timeout in the header file.
12034
12035         * XFormsView.C: changes due to the above.
12036
12037         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12038         similar to LyXView.
12039
12040         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12041         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12042
12043 2002-02-18  José Matos  <jamatos@fep.up.pt>
12044
12045         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12046         insets contents.
12047
12048 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12049
12050         * a lot of small ws changes
12051         * add a lot of using std::XXX
12052         * use std construcs some places where approp.
12053         * use some exisint stuff from lyxfunctional where approp.
12054         * Make file changes to use partial linking (lets test this now...)
12055
12056 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * Chktex.C:
12059         * buffer.C:
12060         remove #include "support/syscontr.h" as it's redundant. Always has been.
12061
12062         * Chktex.C:
12063         * LaTeX.C:
12064         * LyXSendto.C:
12065         * converter.C:
12066         * lyx_cb.C:
12067         * vc-backend.C:
12068         change Systemcalls::System to Systemcalls::Wait and
12069         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12070         No change of functionality, just reflects the stripped down Systemcalls
12071         class.
12072
12073 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12074
12075         * debug.[Ch]: add a GRAPHICS type to the enum.
12076
12077 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12080
12081         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12082         there is an inset.
12083
12084 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12085
12086         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12087         match the changes below.
12088
12089         * text2.C (toggleInset): if there is not editable inset at cursor
12090         position, try to see if cursor is _inside_ a collapsable inset
12091         and close it.
12092
12093 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12094
12095         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12096         document menu has a nice checkbox
12097
12098 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * lyxlength.C (asLatexString): change PW to output as percent of
12101         \textwidth.
12102
12103         * lengthcommon.C: change '%' to 't%'
12104
12105         * lyxfunc.C (dispatch): a few comments from Martin
12106
12107 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * WorkArea.h:
12110         * WorkArea.C:
12111         * BufferView_pimpl.h:
12112         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12113           the X selection.
12114
12115 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12116
12117         * vspace.C (inPixels): fix compiler warning
12118
12119 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * lyxfunc.C (getStatus): fix status message for disabled commands.
12122
12123 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * BufferView_pimpl.C: fix crash on close buffer
12126         during selection (#227)
12127
12128 2002-01-27  Herbert Voss  <voss@lyx.org>
12129
12130         * buffer.C: link old Figure to new graphic inset
12131
12132 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12133
12134         * FontLoader.C (getFontinfo): Change the latex font names in order
12135         to match the names of type1inst.
12136
12137 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12138
12139         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12140
12141         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12142         (extchanged): ditto
12143         (ext_exist): ditto
12144         (remove_files_with_extension): ditto
12145         (remove_file): ditto
12146         (write): ditto
12147
12148         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12149         document is smaller than the work area height. Do not initialize
12150         static variables to 0.
12151
12152 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12155
12156         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12157         LFUN_LAYOUT_PARAGRAPHS.
12158
12159         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12160         tabular. It is possible to provide a possible cell, which will
12161         typically be the actcell from the corresponding insettabular
12162
12163         * lyxfunc.C (getStatus): small cleanup; disable
12164         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12165         true
12166
12167 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12170
12171         * paragraph.C (startTeXParParams):
12172         (endTeXParParams): new methods. The LaTeX code to
12173         start/end paragraph formatting
12174         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12175         empty (fixes bug #200)
12176
12177         * vspace.C (inPixels): adapt to the change below
12178         (inPixels): [later] more cleanups (remove unused variables)
12179
12180         * lyxlength.C (inPixels): change to use a width and a height as
12181         parameter.
12182
12183 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12186         Replaced with \paperwidth
12187
12188         * DepTable.C (insert): add std:: qualifier
12189
12190 2002-01-18  Allan Rae  <rae@lyx.org>
12191
12192         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12193         updated also?
12194
12195         * text.C (drawInset): Turned out I didn't know enough about how
12196         rebreaking worked.  This fixes most of the redraw problems.  I see
12197         an occasional cursor trail when a line is broken now and the cursor
12198         placement can seem out by a few pixels also after a rebreak.
12199
12200 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * buffer.C (parseSingleLyXformat2Token): update because minipage
12203         width is now a LyXLength
12204
12205         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12206
12207         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12208         math insets
12209
12210 2002-01-17  Juergen Vigna  <jug@sad.it>
12211
12212         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12213
12214         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12215         is set correctly and the inset is updated correctly.
12216
12217 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12218
12219         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12220         the beginning of the loop.
12221
12222 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12223
12224         * lyxrc.C: improve help for use_scalable_fonts
12225
12226 2002-01-17  Allan Rae  <rae@lyx.org>
12227
12228         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12229
12230 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12231
12232         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12233         make sure to set their inset_owner to the right value (bug #171)
12234
12235 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12236
12237         * DepTable.h
12238         * DepTable.C: Implement mtime checking to reduce time spent doing
12239         CRCs.
12240
12241 2002-01-16  Juergen Vigna  <jug@sad.it>
12242
12243         * tabular.C (GetAdditionalHeight): one of error fixed.
12244
12245         * lyxrc.C (output): small fix in writing use_pspell.
12246
12247 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12248
12249         * sp_base.h: #include LString.h
12250
12251 2002-01-16  Allan Rae  <rae@lyx.org>
12252
12253         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12254         Can someone check this please?
12255
12256         * text.C (drawInset): It was possible that p.row would be removed by
12257         breakAgainOneRow upsetting a few other settings.  There may be another
12258         small tweak possible by setting need_break_row = 0 when p.row has been
12259         removed but I don't know enough about the logic here.
12260
12261 2002-01-15  Allan Rae  <rae@lyx.org>
12262
12263         * text.C (insertChar): removed conditional truism.
12264
12265         * BufferView2.C (removeAutoInsets): More tweaks.
12266         cur_par_prev could be a stray pointer.  Check for trailing empty line
12267         in case last line was cur_par and only had an error inset on it.
12268
12269 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12270
12271         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12272         absolute
12273
12274         * vc-backend.C (most methods):
12275         * exporter.C (Export):
12276         * converter.C (convert):
12277         (runLaTeX):
12278         * LyXSendto.C (SendtoApplyCB):
12279         * lyxfunc.C (dispatch):
12280         (menuNew):
12281         (open):
12282         (doImport):
12283         * lyx_cb.C (AutoSave):
12284         (InsertAsciiFile):
12285         * BufferView_pimpl.C (MenuInsertLyXFile):
12286         * buffer.C (runChktex): use Buffer::filePath().
12287
12288         * buffer.h: rename filename to filename_; rename filepath to
12289         filepath_ and make it private
12290         (filePath): new method
12291
12292         * buffer.C (writeFile): use fileName()
12293         (getLatexName):
12294
12295         * lyx_main.C (init): fix starting  of LyX when the binary is a
12296         link from so,ewhere else.
12297
12298         * minibuffer.C: include <cctype> for isprint
12299
12300 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12301
12302         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12303         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12304         name clash with InsetCollapsable's width function.
12305
12306 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12307
12308         * lastfiles.C: include <iterator>
12309
12310 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12311
12312         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12313         std::count.
12314
12315         * buffer.C (makeLaTeXFile): ditto.
12316         Also make loop operation more transparent.
12317
12318 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * ToolbarDefaults.C: remove trailing comma closing namespace.
12321
12322         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12323
12324         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12325         as in WorkArea.
12326
12327         * trans.C (Load): comment out unused variable, allowed.
12328
12329 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12330
12331         * minibuffer.[Ch] (append_char): new method to recieve input from the
12332         drop-down completion browser. If a key was pressed, then recieve this
12333         char and append it to the existing string.
12334         (peek_event): modify the positioning data passed to the completion
12335         browser so that it can be placed above the minibuffer rather than below.
12336 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12337
12338         * LyXAction.C (init): alloe error-next for readonly documents.
12339
12340         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12341         count.
12342
12343 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12344
12345         * bufferlist.C (readFile): create the buffer _after_ checking that
12346         the file exists.
12347
12348         * lyxfunc.C (verboseDispatch): fix handling of arguments
12349
12350         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12351
12352         * lyxrc.C: use string::erase() instead of initializing to "".
12353
12354
12355 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12356
12357         * BufferView_pimpl.h:
12358         * BufferView_pimpl.C:
12359         * WorkArea.h:
12360         * WorkArea.C:
12361         * text2.C: tell X when we have made a selection for copying
12362
12363 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12364
12365         * BufferView_pimpl.C (MenuInsertLyXFile):
12366         * lyxfunc.C (menuNew):
12367         (open):
12368         (doImport): add shortcuts to directory buttons
12369
12370         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12371         open a float)
12372
12373         * lyxfunc.C (setStatusMessage):
12374         (getStatusMessage): new methods
12375         (getStatus):use setStatusMessage instead of setErrorMessage
12376         (dispatch): when function is disabled, set error message here
12377         [instead of in getStatus previously]
12378
12379         * BufferView_pimpl.C (workAreaButtonRelease): update
12380         toolbar/menubar here too.
12381
12382 2002-01-13  Allan Rae  <rae@lyx.org>
12383
12384         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12385         Now seems indestructible.  Remaining task is to audit all other
12386         code affected by deleteEmptyParagraphMechanism.  One small quirk
12387         left is that an empty document with an error in the preamble can
12388         be made to report an error but no error box appears.  I don't know
12389         where it goes.
12390         (removeAutoInsets): Improved comments.
12391
12392 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12393
12394         * Thesaurus.h:
12395         * Thesaurus.C: update for Aiksaurus 0.14
12396
12397 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12398
12399         * text2.C (firstParagraph): removed member function, all uses
12400         replaces with ownerParagraph
12401         (redoParagraphs): here
12402         (updateInset): here
12403         (toggleAppendix): here
12404         * BufferView2.C (insertErrors): here
12405         (setCursorFromRow): here
12406
12407 2002-01-13  Allan Rae  <rae@lyx.org>
12408
12409         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12410         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12411         There is still a way to segfault this although you may have to do this
12412         multiple times: Have an InsetERT with an unknown command in it.
12413         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12414         <down-arrow>, <Enter> again, View->DVI, BANG!
12415
12416         * text2.C (setCursor):
12417         (deleteEmptyParagraphMechanism):
12418         * lyxtext.h (setCursor):
12419         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12420         Making use of the return value may help fix other bugs.
12421
12422 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12423
12424         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12425
12426         * LyXView.C (updateMenubar): call MenuBar::update here
12427         (updateToolbar): but not here
12428         (showState): do not update toolbar/menubar
12429
12430         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12431         should need to care about that.
12432
12433         * lyxfunc.C (verboseDispatch): simplify a bit
12434         (getStatus): have a version which takes a pseudoaction, and
12435         another which requires a (kb_action,string).
12436
12437         * LyXAction.C (retrieveActionArg): make it work also when action
12438         is not a pseudo-action.
12439         (getActionName): simplify a bit
12440         (helpText):
12441
12442 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12443
12444         * lyxfunc.C (verboseDispatch): new families of methods with
12445         several ways to specify a command and a bool to indicate whether
12446         the command name and shortcut should be displayed in minibuffer
12447         (eventually, we could extend that to a finer bitmask like
12448         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12449         (dispatch): the pristine dispatch command which just, well,
12450         dispatchs! Note it still sets its result to minibuffer; I'm not
12451         sure we want that.
12452
12453         * lyxfunc.h: remove setHintMessage
12454
12455         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12456
12457 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12458
12459         * BufferView_pimpl.C (specialChar): delete new inset if we have
12460         not been able to insert it.
12461
12462         * kbmap.C: revert to using int instead of kb_action, since all we
12463         are dealing with is pseudo-actions.
12464
12465         * LyXAction.C (searchActionArg): change to return int instead of
12466         kb_action, since the result is a pseudoaction.
12467
12468 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12469
12470         * buffer.C (insertErtContents): Fix (partially) the font bug.
12471
12472 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12475         as the other one is broken on my machine!
12476
12477 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12478
12479         * commandtags.h:
12480         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12481
12482 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12485         reflect their actual use. Provide compatibility code for older lyxrc
12486         files.
12487
12488         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12489         FL_NORMAL_STYLE.
12490         change names of popup font variables in line with the changes to lyxrc.C
12491
12492 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * buffer.C (asciiParagraph): avoid outputing a word twice after
12495         an inset.
12496
12497         * lyxrc.C (getDescription): document that document_path and
12498         template_path can be empty.
12499
12500 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * LaTeXFeatures.C (getMacros):
12503         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12504
12505         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12506
12507         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12508         getPackages.
12509         (getPackages): rename feature "floats" to "float". Use an array to
12510         iterate over 'simple' features (i.e. just a \usepackage). Add
12511         handling of "amsmath" (renamed from "amsstyle").
12512
12513 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12514
12515         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12516         features list.
12517
12518 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12519
12520         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12521         FuncStaus::FuncStatus & FuncStaus::some_method().
12522
12523 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12524
12525         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12526         of the func_satus stuff. Edited and massaged in various ways by
12527         JMarc.
12528
12529         * lyxfunc.C (getStatus): use FuncStatus
12530
12531 2002-01-08  Juergen Vigna  <jug@sad.it>
12532
12533         * text.C (nextBreakPoint): use function Inset::isChar().
12534
12535         * paragraph.C (TeXOnePar): use function
12536         Inset::forceDefaultParagraphs.
12537
12538         * buffer.C (latexParagraphs): use function
12539         Inset::forceDefaultParagraphs.
12540
12541 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12542
12543         * lyx_gui.C (init): set the style of the menu popups to
12544         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12545
12546 2002-01-07  Juergen Vigna  <jug@sad.it>
12547
12548         * text.C (setHeightOfRow): small fix
12549         (prepareToPrint): don't look at alignment if we don't have the place
12550         for doing it.
12551
12552 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12553
12554         * box.C: New file. Move the Box methods and functions out of box.h,
12555         following Lars' suggestion.
12556
12557 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * box.h: #include "support/LOstream.h", needed for inlined function.
12560
12561         * lyxtextclass.C:
12562         * lyxtextclasslist.C: added some using std declarations.
12563
12564 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * box.h: make signed dimensions to allow insets wider than
12567           the screen (bug #162)
12568
12569         * BufferView_pimpl.C: add some insetHit debug
12570
12571 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12572
12573         * vc-backend.C: add FIXME
12574
12575 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * lyxfunc.C (getStatus): enable code for showing math font status
12578         in toolbar/menu.
12579
12580 2002-01-07  Juergen Vigna  <jug@sad.it>
12581
12582         * text.C (nextBreakPoint): removed debug output not needed anymore.
12583
12584 2002-01-06  Juergen Vigna  <jug@sad.it>
12585
12586         * text.C (nextBreakPoint): fixed up this function we had this bug
12587         since ever but now hopefully we break row better.
12588         (insertChar): we have to check if an inset is the next char as it
12589         could now happen that a large inset is causing a break.
12590
12591 2002-01-05  Juergen Vigna  <jug@sad.it>
12592
12593         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12594         if it doesn't like to be drawed.
12595
12596 2002-01-04  Juergen Vigna  <jug@sad.it>
12597
12598         * BufferView2.C (lockInset): forgot to set a cursor.
12599
12600         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12601
12602 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12603
12604         * FormMathsPanel.C:
12605         * FormMathsPanel.h
12606         * MathsSymbols.C:
12607         * form_maths_panel.C:
12608         * form_maths_panel.h:
12609         * form_maths_panel.fd: implemented sub- and super- buttons in math
12610         panel.
12611
12612         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12613         (or ^ space) to be used as in TeX (req'd by André).
12614
12615         * lyxfunc.C: Allow ^ and _ again to be used both as
12616         super/subscript (mathed) and as themselves (in text).
12617
12618 2002-01-03  Allan Rae  <rae@lyx.org>
12619
12620         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12621         "LyX" or the filename of the current buffer if it has one.  This is a
12622         modified form of John Levon's patch.
12623
12624         * XFormsView.C (setWindowTitle): also set icon title.
12625
12626         * LyXView.h (setWindowTitle): signature changed.
12627         * XFormsView.h (setWindowTitle): ditto.
12628
12629 2002-01-02  Juergen Vigna  <jug@sad.it>
12630
12631         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12632
12633 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12634
12635         * screen.C (topCursorVisible): introduce a temp var for
12636         text->cursor.row(), handle the case where this row is null. (kindo
12637         hachish)
12638
12639         * text2.C (setCursor): add a couple of asserts.
12640
12641         * paragraph.h (inset_iterator): add -> operator
12642
12643         * paragraph.[Ch] (autoDeleteInsets): remove member function
12644
12645         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12646         cursor pos correctly and handle inset deletion by itself.
12647         (insertErrors): move iterator declaration out of for expression
12648
12649         * lyxtextclass.C: add <algorithm>
12650
12651         * Makefile.am: added the new files to sources, removed layout.C
12652
12653         * layout.C: removed file
12654
12655         * layout.h: remove LYX_DUMMY_LAYOUT
12656
12657         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12658         layout.
12659
12660         * lyxlayout.[Ch]:
12661         * lyxtextclass.[Ch]:
12662         * lyxtextclasslist.[Ch]: new files
12663
12664         * include order changes to a lot of files, also changes because of
12665         the six new files.
12666
12667 2001-12-27  Juergen Vigna  <jug@sad.it>
12668
12669         * buffer.C (asciiParagraph): more fixes.
12670
12671         * tabular.C (ascii): make ascii export support export of only the
12672         data separated by a column-delimiter.
12673         (ascii): better support for ascii export.
12674
12675         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12676
12677 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12678
12679         * tabular_funcs.C: use a "using std::getline" instead of the
12680         previous fix from Angus (necessary for cxx + lyxstring)
12681
12682 2001-12-24  Juergen Vigna  <jug@sad.it>
12683
12684         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12685
12686         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12687         problems. First check a minipage also if we have some ert-contents
12688         (not only on par->size(), second set the right depth of the paragraph
12689         on the relink to the root-paragraph-list!
12690
12691         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12692         which then did not anymore update the main paragraphs on undo/redo!
12693
12694 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12695
12696         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12697         code. Support all font-changing funcs (even those which are not in
12698         menu currently). Support for reporting font settings in
12699         mathed (disabled until Andre provides a function on mathed's side).
12700
12701         * func_status.h (toggle): small helper function to set toggle
12702         state on a flag.
12703
12704 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12705
12706         * tabular_funcs.C: getline -> std::getline
12707
12708 2001-12-21  Juergen Vigna  <jug@sad.it>
12709
12710         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12711         accessed and could be 0 (I couldn't generate this but it seems
12712         Michael could!).
12713
12714 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12717         * tabular_funcs.h: here and include iosfwd
12718
12719 2001-12-20  Juergen Vigna  <jug@sad.it>
12720
12721         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12722         inside inset but undo_par was.
12723
12724 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12725
12726         * Thesaurus.C: always include <config.h> in sources.
12727
12728         * Painter.h:
12729         * lyxlookup.h:
12730         * box.h: do not include <config.h> in header files
12731
12732         * text.C (paintLastRow): remove unused variable
12733
12734         * text.C (transformChar):
12735         (insertChar):
12736         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12737
12738         * Painter.C (text):
12739         * font.C (width): rewrite to use uppercase() instead of
12740         islower/toupper.
12741
12742         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12743
12744 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * lyxfind.C: clean up of find failure position change
12747
12748 2001-12-20  Juergen Vigna  <jug@sad.it>
12749
12750         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12751
12752         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12753         (TeXRow): added to LaTeX a single tabular row.
12754         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12755         (Latex): simplified and finally good LT-h/f support.
12756         (various_functions): just small adaptions for LT-h/f support.
12757
12758         * tabular_funcs.[hC]: added and moved here all not classfunctions
12759         of LyXTabular.
12760
12761 2001-12-19  Juergen Vigna  <jug@sad.it>
12762
12763         * tabular.[Ch]: better support for longtabular options (not finished
12764         yet!)
12765
12766 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * text.C (paintLastRow): use the label font instead of the font of
12769         the last character to compute the size of *_BOX. This makes more
12770         sense and avoids a crash with empty paragraphs.
12771         Use Painter::rectangle to draw EMPTY_BOX.
12772
12773 2001-12-19  Juergen Vigna  <jug@sad.it>
12774
12775         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12776         the paragraphs if the replaced paragraph is not the first one!
12777         Tried to delete not used paragraphs but does not work yet so for
12778         now it's inside #ifdef's and by default off!
12779
12780 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12781
12782         * MenuBackend.C: include "lyx_main.h" instead of declaring
12783         lastfiles (actually was declared as LastFiles* instead of a
12784         scoped_ptr).
12785
12786 2001-12-17  Juergen Vigna  <jug@sad.it>
12787
12788         * tabular.C (AppendColumn): applied John's fix
12789
12790 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * BufferView.h:
12793         * BufferView.C:
12794         * BufferView_pimpl.h:
12795         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12796
12797         * Makefile.am:
12798         * box.h: new start of class for above
12799
12800         * lyxfunc.C: ignore space-only minibuffer dispatches.
12801           Show the command name when it doesn't exist
12802
12803         * minibuffer.C: don't add empty lines to the history
12804
12805         * minibuffer.C: add a space on dropdown completion
12806
12807 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12808
12809         * text.C: fix line above/below drawing in insets
12810
12811 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * lyxlength.C (LyXLength): Initialize private variables.
12814
12815 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12816
12817         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12818         when inserting error insets.
12819
12820 2001-12-13  Juergen Vigna  <jug@sad.it>
12821
12822         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12823         actually sometimes the before-paragraph.
12824         (setUndo): don't clear the redostack if we're not actually undoing!
12825
12826 2001-12-06  Juergen Vigna  <jug@sad.it>
12827
12828         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12829         and fixed redoing of main paragraph, so we can use it now ;)
12830
12831         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12832
12833 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12836         Juergen's request
12837
12838 2001-12-13  André Pönitz <poenitz@gmx.net>
12839
12840         * undostack.[Ch]:
12841         * undo_func.C: minor cleanup
12842
12843 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12846         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12847         font in urw-fonts package which is marked as -urw-fontspecific and
12848         does not work (incidentally, changing the encoding in the
12849         fonts.dir of this package to -adobe-fontspecific fixes the
12850         problem).
12851
12852         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12853         is a crash when undoing first paragraph (Juergen, please take a
12854         look). THis does not mean the undo fix is wrong, just that it
12855         uncovers problems.
12856
12857         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12858         the (Paragraph*) version when needed instead of duplicating the
12859         code.
12860
12861         * text.C (workWidth): use Inset::parOwner to find out where the
12862         inset has been inserted. This is a huge performance gain for large
12863         documents with lots of insets. If Inset::parOwner is not set, fall
12864         back on the brute force method
12865
12866         * paragraph_pimpl.C (insertInset):
12867         * paragraph.C (Paragraph):
12868         (cutIntoMinibuffer): set parOwner of insets when
12869         inserting/removing them
12870
12871         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12872
12873 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12874
12875         * commandtags.h:
12876         * LyXAction.C:
12877         * lyx_main.C:
12878         * lyxfunc.C:
12879         * mathed/formulabase.C:
12880         * mathed/math_cursor.[Ch]:
12881         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12882
12883
12884 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12885
12886         * lyxlength.[Ch] (operator!=): new function
12887
12888 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12889
12890         * text.C (workWidth): use Inset::parOwner to find out where the
12891         inset has been inserted. This is a huge performance gain for large
12892         documents with lots of insets. If Inset::parOwner is not set, fall
12893         back on the brute force method
12894
12895         * paragraph_pimpl.C (insertInset):
12896         * paragraph.C (Paragraph):
12897         (cutIntoMinibuffer): set parOwner of insets when
12898         inserting/removing them
12899
12900         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12901
12902 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12903
12904         * tabular-old.C (getTokenValue):
12905         * tabular.C (getTokenValue):
12906         (write_attribute): new versions for LyXLength
12907         (everywhere): adjust the use of widths
12908
12909         * tabular.h: change the type of widths from string to LyXLength
12910
12911 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12912
12913         * paragraph.C: fixed missing line number count when exporting
12914         Environments to LaTeX file
12915
12916         * buffer.C: added informational message for checking line numbers.
12917
12918 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12919
12920         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12921         paragraph, do the 'double space' part, but not the 'empty
12922         paragraph' one.
12923
12924         * text.C (workWidth): small optimization
12925         (getLengthMarkerHeight): use minimal size for negative lengths.
12926
12927 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12928
12929         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12930
12931         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12932
12933 2001-12-11  André Pönitz <poenitz@gmx.net>
12934
12935         * FontLoader.C:
12936         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12937
12938 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * text2.C: keep selection on a setFont()
12941
12942 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * lyx_cb.C: another bv->text misuse, from insert label
12945
12946 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12947
12948         * kbsequence.h:
12949         * kbsequence.C: re-instate nmodifier mask
12950
12951 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12952
12953         * lyx_main.h: make lyxGUI private.
12954
12955 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * lyxfind.C: place the cursor correctly on failed search
12958
12959 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12960
12961         * text.C (getLengthMarkerHeight): for small heights, the arrows
12962         are not always on top/bottom of the text
12963         (drawLengthMarker): smaller arrows; take the left margin in
12964         account; draw also vfills.
12965         (paintFirstRow):
12966         (paintLastRow): remove special code for vfill and standard spaces,
12967         since everything is handled in drawLengthMarker now.
12968
12969 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12970
12971         * buffer.C (insertErtContents): try to handle font and language
12972         interaction a bit better.g
12973
12974         * ColorHandler.C (updateColor): change the hash to cover the whole
12975         LColor enum, ws cleanup
12976         (getGCLinepars): ditto
12977         (getGCLinepars): only lookup in the linecache once.
12978
12979 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12980
12981         * iterators.C (operator++): Make the iterator more robust
12982
12983         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12984         (John's patch)
12985         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12986
12987 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * lyxtext.h:
12990         * text.C: better added space drawing
12991
12992 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * LyXView.C:
12995         * BufferView2.C: fix layout combo update on inset unlock
12996
12997 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * Makefile.am: don't compile unused files
13000
13001 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13002
13003         * lyxfunc.C:
13004         * commandtags.h:
13005         * LyXAction.C: remove old LFUN_LAYOUTNO
13006
13007 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13008
13009         * paragraph_pimpl.h:
13010         * paragraph_pimpl.C: isTextAt() doesn't need font param
13011
13012 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * lyxlex.h:
13015         * lyxlex.C: little cleanup
13016
13017 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * BufferView_pimpl.C: fix insertAscii for insets
13020
13021 2001-12-05  Juergen Vigna  <jug@sad.it>
13022
13023         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13024         set the right font on the "multi" paragraph paste!
13025
13026 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13027
13028         * trans_decl.h:
13029         * trans_mgr.[Ch]:
13030         * trans.[Ch]:
13031         * lyxgluelength.C:
13032         * lyxlength.C: remove out-commented code.
13033
13034         * BufferView_pimpl:
13035         * CutAndPaste.C:
13036         * DepTable.C:
13037         * buffer.C:
13038         * chset.C:
13039         * lastfiles.C:
13040         * lyxlex.C:
13041         * lyxlex_pimpl.C:
13042         * lyxserver.C:
13043         * screen.C:
13044         * tabular-old.C:
13045         * tabular.C:
13046         * text.C:
13047         * trans_mgr.C:
13048         * vc-backend.C: change "while(" to "while ("
13049
13050         * lyxlength.[Ch]: add zero function to check if length is zero or
13051         not
13052         * lyxgluelength.C: use it
13053
13054 2001-12-05  Allan Rae  <rae@lyx.org>
13055
13056         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13057         Works for 2.95.3, from what I understand of Garst's reports this should
13058         work for other g++ versions.  We're screwed if the abs(int) definition
13059         changed between bugfix releases of gcc.
13060
13061 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13062
13063         * text.C: fix chapter label offset !
13064
13065 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13066
13067         * lyxtext.h:
13068         * text.C: fix hfill at end of line, clean up
13069
13070 2001-12-04  Juergen Vigna  <jug@sad.it>
13071
13072         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13073         that we force an update of the inset and it's owners if neccessary.
13074
13075 2001-12-03  Juergen Vigna  <jug@sad.it>
13076
13077         * text.C (rowLast): simplified code
13078
13079 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13080
13081         * lyxfunc.C: fix show options on timeout
13082
13083 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13084
13085         * screen.C (topCursorVisible): scroll half a page when the cursor
13086         reached top of bottom of screen
13087
13088 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13089
13090         * minibuffer.C: deactivate on loss of focus
13091
13092 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13093
13094         * vspace.[Ch] (operator!=): add operator.
13095
13096 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13097
13098         * BufferView_pimpl.C: refuse to open an inset when
13099         there's a selection.
13100
13101 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * BufferView_pimpl.C: allow to click on RHS of full row insets
13104
13105 2001-11-30  Juergen Vigna  <jug@sad.it>
13106
13107         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13108         insets for undo reasons.
13109
13110 2001-11-28  André Pönitz <poenitz@gmx.net>
13111
13112         * vspace.[Ch]: cosmetical changes
13113
13114 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13115
13116         * LyXAction.h:
13117         * LyXAction.C:
13118         * lyxfunc.h:
13119         * lyxfunc.C:
13120         * kbmap.h:
13121         * kbmap.C:
13122         * lyxrc.C:
13123         * kbsequence.h:
13124         * kbsequence.C: part re-write of old kb code
13125
13126         * Painter.C:
13127         * WorkArea.C: remove Lgb_bug_find_hack
13128
13129 2001-11-30  José Matos <jamatos@fep.up.pt>
13130
13131         * buffer.C (makeDocBookFile): add a comment to point a hack.
13132         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13133         Fixed a double write of labels.
13134
13135 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13136
13137         * LaTeX.C:
13138         * LaTeX.h Fixed bug in LaTeX class where it would not
13139         re-run latex if no depfiles were changed, but the .dvi was removed.
13140
13141 2001-11-28  André Pönitz <poenitz@gmx.net>
13142
13143         * all the files from the change on 2001/11/26:
13144         use lyx::layout_type instead of LyXTextClass::size_type
13145         use lyx::textclass_type instead of LyXTextClassList::size_type
13146
13147 2001-11-29  Juergen Vigna  <jug@sad.it>
13148
13149         * text.C: added support for paragraph::isFreeSpacing()
13150
13151         * buffer.C: same as above
13152
13153         * paragraph.h: inserted isFreeSpacing() function to enable
13154         FreeSpacing inside InsetERT.
13155
13156         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13157         of the paragraph's in the cut/copy buffer to 0!
13158
13159         * text2.C (removeRow): remove the assert as it can!
13160
13161         * lyxtext.h: added helper function firstRow returning firstrow and
13162         made firstrow private again.
13163
13164         * BufferView2.C (lockInset): don't relock if we're already locked!
13165
13166         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13167         the only paragraph.
13168         (removeRow): added Assert::(firstrow)
13169
13170         * debug.C: forgot to add INSETTEXT here.
13171
13172 2001-11-28  Juergen Vigna  <jug@sad.it>
13173
13174         * sp_spell.C (initialize): changed error text to more general
13175         spellchecker command use (not only ispell!)
13176
13177         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13178
13179         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13180
13181 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * vspace.C: initialise lyxgluelength on failure
13184
13185 2001-11-28  Allan Rae  <rae@lyx.org>
13186
13187         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13188         declaration & definition that looks like a function declaration.
13189
13190 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * BufferView2.C (copy):
13193         (copyEnvironment): do not clear the selection when doing a copy.
13194
13195         * text.C (paintFirstRow): compilation fix
13196
13197 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13198
13199         * tabular.C (Latex): correct line count when writing latex.
13200
13201 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13202
13203         * paragraph_pimpl.h:
13204         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13205           bug a bit
13206
13207 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13208
13209         * text.C:
13210         * LColor.h:
13211         * LColor.C: change vfillline->added_space
13212
13213         * text.C: add markers and text for added space
13214
13215         * vspace.C: fix comment
13216
13217 2001-11-28  André Pönitz <poenitz@gmx.net>
13218
13219         * paragraph.C: whitespace changes
13220         * all the other files from the change on 2001/11/26:
13221         change *::pos_type into lyx::pos_type
13222
13223 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13224
13225         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13226         language of the document when inserting error insets.
13227
13228 2001-11-26  André Pönitz <poenitz@gmx.net>
13229
13230         * BufferView_pimpl.[Ch]:
13231         *       CutAndPaste.C:
13232         * buffer.[Ch]:
13233         * lyxcursor.[Ch]:
13234         * lyxfind.C:
13235         * lyxfunc.C:
13236         * lyxrow.[Ch]:
13237         * paragraph.[Ch]:
13238         * paragraph_pimpl.[Ch]:
13239         * sp_spell.C:
13240         * text.C:
13241         * text2.C: reduce header dependencies, introduce type for positions
13242
13243 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * <various>: change to use Alert.h
13246
13247 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13248
13249         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13250         when encountering an unknown token.
13251         (readLyXformat2): Show an error message if there were unknown tokens.
13252
13253 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * BufferView2.C:
13256         * BufferView_pimpl.C:
13257         * buffer.C:
13258         * paragraph.h:
13259         * text.C:
13260         * text2.C: use par->isInset()
13261
13262 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * paragraph_pimpl.h:
13265         * paragraph_pimpl.C: cleanup
13266
13267 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * text2.C (removeRow):
13270         * text.C (setHeightOfRow): remove useless (and costly) call to
13271         getRow.
13272
13273 2001-11-20  Allan Rae  <rae@lyx.org>
13274
13275         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13276         Now need Inset*::checkInsertChar() to return true for appropriate
13277         cases so that the characters in the minibuffer will actually be
13278         inserted.
13279
13280 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13281
13282         * text.C: change the order of the includes.
13283         (workWidth): initialize it at once.
13284         (workWidth): make maxw unsigned
13285         (setHeightOfRow): remove unused variable (inset)
13286         (selectSelectedWord): remove unused variable (inset)
13287         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13288
13289 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13290
13291         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13292         server is not running.
13293         (openConnection):
13294         (closeConnection): add debug info when server is disabled.
13295
13296         * ColorHandler.C (getGCForeground): send debug message to GUI
13297         channel.
13298
13299         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13300
13301         * kbmap.C (bind): modify because return conventions of
13302         kb_sequence::parse have changed.
13303
13304         * kbsequence.C (parse): only ignore spaces and not any stupid
13305         control character. This avoids tests like s[i] <= ' ', which are
13306         guaranteed to fail with 8bit characters and signed chars.
13307         Change return code to string::npos when there have been no error
13308         (0 was a bad idea when error is at first character)
13309
13310 2001-11-14  José Matos  <jamatos@fep.up.pt>
13311
13312         * buffer.h:
13313         * buffer.C (simpleDocBookOnePar): removed unused argument.
13314
13315 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13318         insets which are part of a word. Paragraph::isLetter takes care of
13319         that now. Use Paragraph::isInset to identify insets.
13320         (selectSelectedWord): do not test for hyphenation break.
13321
13322         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13323         that protected spaces are considered as spaces.
13324
13325         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13326         Inset::isLetter.
13327
13328 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * lyxserver.h:
13331         * lyxserver.C: fix it. and small cleanup.
13332
13333 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13334
13335         * BufferView_pimpl.C: use inline helpers
13336
13337         * LaTeXFeatures.h:
13338         * LaTeXFeatures.C: fix typos
13339
13340         * Spacing.h:
13341         * Spacing.C: move spacing_string into class
13342
13343         * ToolbarDefaults.C: move stuff into namespace anon
13344
13345         * layout.h: update enum
13346
13347         * lyxfunc.C: use better debug
13348
13349         * minibuffer.h: fix typo
13350
13351         * debug.h:
13352         * debug.C:
13353         * WorkArea.C: add and use Debug::WORKAREA
13354
13355         * lyxtext.h:
13356         * text.C:
13357         * text2.C: code re-organisation, inline helpers
13358
13359 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13360
13361         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13362         std::vector.empty().
13363
13364 2001-11-09  Allan Rae  <rae@lyx.org>
13365
13366         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13367         '\n's after tables.  Tabular and ERT inset work now makes this no
13368         longer necessary.
13369
13370 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13371
13372         * minibuffer.h:
13373         * minibuffer.C: fix crash, improve drop-down completion
13374
13375 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13376
13377         * lyxserver.h:
13378         * lyxserver.C: invalidate fd's when doing endPipe()
13379
13380 2001-11-08  José Matos  <jamatos@fep.up.pt>
13381
13382         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13383         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13384
13385         * paragraph.h:
13386         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13387
13388 2001-11-07  José Matos  <jamatos@fep.up.pt>
13389
13390         * buffer.h:
13391         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13392         const qualifier.
13393
13394         * buffer.C (sgmlOpenTag):
13395         * buffer.C (sgmlCloseTag): removed debug info.
13396
13397         * buffer.h (sgmlOpenTag):
13398         * buffer.h (sgmlCloseTag): made public.
13399
13400 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13401
13402         * buffer.C (saveParamsAsDefaults):
13403         * lyx_cb.C (MenuLayoutSave): remove
13404
13405         * LyXAction.C (init):
13406         * commandtags.h:
13407         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13408
13409 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * buffer.C (setPaperStuff): removed from here...
13412
13413         * bufferparams.C (setPaperStuff): ... and moved there.
13414
13415 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13416
13417         * minibuffer.h:
13418         * minibuffer.C:
13419         * XFormsView.C: add support for drop-down completion
13420
13421 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13422
13423         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13424         commands.
13425
13426 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13427
13428         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13429         disabled.
13430
13431 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * lyx_main.C: change ref to known bugs
13434
13435 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13436
13437         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13438         to work around older babel problems.
13439
13440 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13441
13442         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13443
13444 2001-10-24  Juergen Vigna  <jug@sad.it>
13445
13446         * tabular-old.C (ReadOld): below variable changes reflected.
13447
13448         * tabular.[Ch]: added ltType struct for longtable header/footer
13449         defines and changed all instances where they are used. Added
13450         future support for double top/bottom rows.
13451
13452 2001-10-24  José Matos  <jamatos@fep.up.pt>
13453
13454         * buffer.h (docbookHandleCaption):
13455         * buffer.C (docbookHandleCaption): removed unused function.
13456         (makeDocBookFile): moved docbook supported version to v4.1.
13457
13458 2001-10-24  José Matos  <jamatos@fep.up.pt>
13459
13460         * tabular.h:
13461         * tabular.C (docbookRow): new function to export docbook code of a row.
13462         (DocBook): now honors the longtable flags.
13463
13464 2001-10-23  José Matos  <jamatos@fep.up.pt>
13465
13466         * LaTeXFeatures.h:
13467         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13468         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13469
13470         * buffer.C (makeLinuxDocFile):
13471         (makeDocBookFile): reworked the preamble, more clean, and with
13472         support for lyx defined entities. Changed the document declaration
13473         to be more XML friendly.
13474
13475         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13476         if we need to output XML that should be done with a filter.
13477
13478 2001-10-22  Juergen Vigna  <jug@sad.it>
13479
13480         * sp_pspell.h (class PSpell): add alive function needed in the
13481         controller to see if the spellchecker could be started.
13482
13483 2001-10-22  Juergen Vigna  <jug@sad.it>
13484
13485         * buffer.C (insertStringAsLines): modify the font for inserting
13486         chars in certain conditions by calling checkInsertChar(font).
13487
13488 2001-10-19  Juergen Vigna  <jug@sad.it>
13489
13490         * text.C (workWidth): use getRow instead of wrong algorithm.
13491         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13492
13493 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13494
13495         * lyxserver.h:
13496         * lyxserver.C:
13497         * lyx_main.h:
13498         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13499
13500 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13501
13502         * text.C (workWidth): do not search for the exact row when
13503         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13504         optimization for big documents.
13505
13506 2001-10-18  Juergen Vigna  <jug@sad.it>
13507
13508         * text.C (workWidth): new function with added Inset * parameter.
13509
13510 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13513
13514         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13515         change return type of getColumnNearX.
13516
13517
13518         * text.C (changeRegionCase): use uppercase/lowercase instead of
13519         toupper/tolower.
13520         (leftMargin):
13521         (rightMargin): simplify code by factoring out the uses of
13522         textclasslist.
13523         (labelFill):
13524         (numberOfHfills):
13525         (setHeightOfRow):
13526         (appendParagraph): use Paragraph::size_type
13527
13528 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13529
13530         * vspace.C (asLatexString): add a missing break
13531
13532 2001-10-15  Herbert Voss  <voss@perce.de>
13533
13534         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13535
13536 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13537
13538         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13539         is not available.
13540
13541 2001-10-10  André Pönitz <poenitz@gmx.net>
13542
13543         * lyxfunc.C: removed greek_kb_flag.
13544
13545 2001-10-10  Herbert Voss  <voss@perce.de>
13546
13547         * lyx_main.C: delete global string help_lyxdir.
13548
13549 2001-10-09  Herbert Voss  <voss@perce.de>
13550
13551         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13552
13553         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13554
13555         * lyx_main.C: added global string help_lyxdir.
13556
13557         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13558
13559 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13560
13561         * lyxrc.C (set_font_norm_type): support iso8859-4
13562
13563 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13564
13565         * LaTeX.C (deplog): add another regex for MikTeX
13566
13567 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13568
13569         * lyxrc.C (set_font_norm_type): support iso8859-3
13570
13571 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13574
13575         * LaTeXFeatures.C: remove special case of french and index
13576
13577         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13578         before \begin{document}). This solves several incompatibilities.
13579
13580 2001-10-03  Garst Reese  <reese@isn.net>
13581
13582         * lyx_cb.C: change CheckTex error msg.
13583
13584 2001-10-03  José Matos  <jamatos@fep.up.pt>
13585
13586         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13587
13588 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * .cvsignore: update
13591
13592         * lyx_main.C (commandLineVersionInfo): use new style version info.
13593
13594         * buffer.C (writeFile):
13595         (makeLaTeXFile):
13596         (makeLinuxDocFile):
13597         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13598
13599         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13600
13601         * version.h: update to use stuff in version.C
13602
13603         * version.C.in: new file. Contains version information determined
13604         at compile time. This is a merging of version.h and
13605         version_info.h.in.
13606
13607 2001-10-03  Juergen Vigna  <jug@sad.it>
13608
13609         * BufferView_pimpl.C (update): don't change "dirty" status in
13610         updateInset call.
13611
13612 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13613
13614         * WorkArea.C (c-tor): re-position version string slightly.
13615
13616 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13617
13618         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13619         revert to previous code.
13620
13621         WorkArea.[Ch]: (show, destroySplash): methods removed.
13622
13623         WorkArea.C: rework code so that it's an amalgam of the codes before and
13624         after the splash screen was moved to WorkArea.
13625
13626 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13627
13628         * lyxrc.C (read):
13629         * vspace.C (inPixels):
13630         (lyx_advance):
13631         * kbmap.C (bind):
13632         * buffer.C (insertStringAsLines):
13633         (asciiParagraph): fix types to be large enough
13634
13635         * lyxlex_pimpl.h: change member status from short to int
13636
13637         * layout.h: fix type of endlabeltype
13638
13639         * kbmap.C (bind):
13640         * kbsequence.C (parse): change return type to string::size_type
13641
13642         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13643         variable
13644
13645         * Bullet.C (bulletSize):
13646         (bulletEntry): do not use short ints as parameters
13647
13648         * BufferView2.C (insertLyXFile): change a char to an int.
13649
13650         * WorkArea.C (WorkArea): remove unneeded floats in computation
13651
13652 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13653
13654         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13655
13656         * paragraph.C (asString): Do not ignore newline/hfill chars when
13657         copying to the clipboard.
13658
13659 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13660
13661         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13662         after a multi-line inset.
13663
13664 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13665
13666         * paragraph.C (validate): Set NeedLyXFootnoteCode
13667
13668 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13669
13670         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13671         and decrease-error to decrease.
13672
13673 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13674
13675         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13676         it more readable (should be equivalent)
13677
13678 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13679
13680         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13681
13682 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13685         of a cursor (row, etc.) after a character has been deleted
13686         (deleteEmptyParagraphMechanism): call the method above on _all_
13687         cursors held by the LyXText when a double space has been
13688         detected/deleted.
13689
13690 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13691
13692         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13693         pixmap.
13694         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13695
13696         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13697         background. Use greyOut() and the new show() methods to toggle between
13698         the foreground and background. Add code to remove the splash after
13699         its initial showing.
13700
13701         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13702         (create_forms): no longer call Dialogs::showSplash.
13703
13704 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13705
13706         * .cvsignore: add version_info.h
13707
13708 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13709
13710         * version_info.h.in: new file
13711
13712         * Makefile.am: add version_info.h.in
13713
13714         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13715         version_info.h instead of VERSION_INFO
13716
13717 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13718
13719         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13720         The ERT inset now returns string().
13721
13722 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * lyxtext.h, text.C (selectNextWord): renamed as
13725         selectNextWordToSpellcheck.
13726
13727         * text.C (selectNextWordToSpellcheck): Modified to not select
13728         words inside an ERT inset.
13729
13730 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13731
13732         * lyx_cb.C (MenuLayoutSave): change a bit the question
13733
13734         * sp_base.h: include <sys/types.h>
13735
13736 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13737
13738         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13739
13740 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13741
13742         * several files: fix typos in user-visible strings
13743
13744 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13745
13746         * text2.C (pasteSelection): do not set the selection, since it
13747         will be cleared later. Actually, the intent was to fix the way the
13748         selection was set, but I figured rmoving the code was just as good.
13749
13750 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13751
13752         * FontLoader.C (available): Check if font is available without
13753         loading the font.
13754
13755 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13756
13757         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13758
13759 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13760
13761         * lyxrc.[Ch]: added display_graphics variable and associated code.
13762
13763 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13764
13765         * bufferparams.C (hasClassDefaults): new method. Returns true if
13766         the buffer parameters correspond to known class defaults
13767
13768 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13769
13770         * XFormsView.C (show): set minimum size to the main window.
13771
13772 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13773
13774         * text2.C (copySelection):
13775         (cutSelection):
13776         * lyxfind.C (LyXReplace):
13777         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13778         LyXText::selectionAsString.
13779
13780         * paragraph.C (asString): add "label" argument to the second form
13781
13782         * text2.C (selectionAsString): add "label" argument and pass it to
13783         Paragraph::asString.
13784
13785 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13786
13787         * lyx_main.C (commandLineHelp): remove version information
13788
13789 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13790
13791         * lyx_main.C: add -version commandline option
13792
13793 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13794
13795         * paragraph.h: make the optional constructor arg required instead.
13796         some modifications to other files because of this.
13797
13798         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13799
13800         * lyxserver.C (C_LyXComm_callback): make it static
13801
13802         * lyx_main.C (error_handler): make it static
13803
13804         * lyx_gui.C (LyX_XErrHandler): make it static
13805
13806         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13807
13808         * WorkArea.C: make the extern "C" methods static.
13809
13810         * Makefile.am (lyx_LDADD): simplify
13811
13812 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13813
13814         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13815         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13816
13817         * LyXAction.C (init):
13818         * lyxfunc.C (dispatch): associated code removal.
13819
13820 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13821
13822         * lyxfont.h (isSymbolFont): shut off warning
13823
13824         * text.C (setHeightOfRow):
13825         (getVisibleRow): fix crash with empty paragraphs which have a
13826         bottom line
13827
13828 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13829
13830         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13831         code.
13832
13833 2001-09-04  José Matos  <jamatos@fep.up.pt>
13834         * buffer.C
13835         * buffer.h
13836         * tabular.C (docbook): rename docBook method to docbook.
13837
13838 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13839
13840         * Makefile.am: add dependencies to main.o.
13841
13842 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13843
13844         * FontLoader.C (available): Return false if !lyxrc.use_gui
13845
13846 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13847
13848         * FontInfo.C (query):
13849         * converter.C (view):
13850         * importer.C (Import):
13851         * exporter.C (Export): Can not -> cannot.
13852
13853 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * BufferView_pimpl.C: allow to create index inset even if
13856           string is empty
13857
13858 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13859
13860         * buffer.C (getLists): replace boost::tie code with an explicit pair
13861         as boost::tie can break some compilers.
13862
13863         * iterators.h: Added a std:: declaration to the return type of
13864         ParIterator::size.
13865
13866 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13867
13868         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13869           case.
13870
13871 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13872
13873         * iterators.[Ch]: New files. Provide paragraph iterators.
13874
13875         * buffer.C (changeLanguage): Use paragraph iterators.
13876         (isMultiLingual): ditto
13877
13878         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13879
13880 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13881
13882         * FontLoader.C: Support for cmr font.
13883
13884 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13885
13886         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13887         (available): New method.
13888
13889         * FontInfo.C (getFontname): Use scalable fonts even when
13890         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13891         found.
13892
13893 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13894
13895         * converter.C (Formats::view): reverted! Incorrect fix.
13896
13897 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * converter.C (Formats::view): only output the -paper option
13900         if the dvi viewer is xdvi, thereby fixing bug #233429.
13901
13902 2001-08-23  Herbert Voss  <voss@perce>
13903
13904         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13905
13906 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13907
13908         * Spacing.h (Spacing): Set space to Default on in the default
13909         constructor.
13910
13911 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13912
13913         * vc-backend.h (RCS::versionString): add RCS to version
13914         (CVS::versionString): add CVS to version
13915
13916         * vc-backend.C (scanMaster): do not add CVS to version.
13917         (scanMaster): do not add RCS to version
13918
13919         * lyxvc.C (versionString): new method
13920
13921         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13922
13923 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * Spacing.C (set): initialize fval
13926
13927 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13928
13929         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13930         " or \.
13931
13932 2001-08-16  Juergen Vigna  <jug@sad.it>
13933
13934         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13935
13936 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13937
13938         * BufferView_pimpl.C:
13939         * figureForm.C:
13940         * lyxtext.h:
13941         * text2.C: setParagraph takes linespacing now
13942
13943 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13944
13945         * LyxAction.C: add internal LFUN_CITATION_INSERT
13946
13947         * LyXView.C: actually apply fix
13948
13949         * bufferlist.C: fix open non-existent file
13950
13951         * lyxfind.C: fix indentation
13952
13953         * lyxfunc.C: remove unneeded assert, fix typo
13954
13955 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13956
13957         * MenuBackend.C: use "Floatname List"
13958
13959 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13960
13961         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13962         when converting LaTeX layout to insetERT.
13963         Generate a non-collapsed float when reading old float
13964
13965 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13966
13967         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13968         ERT insets.
13969
13970 2001-08-13  Juergen Vigna  <jug@sad.it>
13971
13972         * text.C (fill): return 0 instead of 20 as this seems to be the more
13973         correct value.
13974
13975 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13976
13977         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13978         lyxrc.font_norm.
13979
13980 2001-08-13  Juergen Vigna  <jug@sad.it>
13981
13982         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13983         casesensitive off.
13984         (SearchBackward): comment out the unlocking of the inset_owner this
13985         should not be needed!
13986
13987 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13988
13989         * Many files: Remove inherit_language, and add latex_language
13990
13991         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13992         collapsible insets.
13993
13994 2001-08-10  Juergen Vigna  <jug@sad.it>
13995
13996         * text.C (prepareToPrint): fixed hfill-width in draw!
13997
13998         * BufferView2.C (selectLastWord): save the selection cursor as this
13999         now is cleared in the function LyXText::clearSelection!
14000
14001 2001-08-08  Juergen Vigna  <jug@sad.it>
14002
14003         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14004         BACKSPACE type functions.
14005
14006         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14007         is only cutted from the document but not put in the cut-buffer, where
14008         still the old stuff should be.
14009
14010         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14011
14012         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14013
14014         * tabular.C (SetWidthOfCell): fixed special case where the width
14015         was not updated!
14016         (LeftLine): handle '|' in align_special.
14017         (RightLine): ditto
14018         (LeftAlreadyDrawed): ditto
14019         (SetWidthOfCell): ditto
14020
14021 2001-08-07  Juergen Vigna  <jug@sad.it>
14022
14023         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14024
14025 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14026
14027         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14028         * lyxlex.[hC]: ditto
14029
14030 2001-08-06  Juergen Vigna  <jug@sad.it>
14031
14032         * text.C (getVisibleRow): fix up row clearing a bit.
14033
14034 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * minibuffer.C: make sure the X server sees the changes in the input.
14037
14038 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14039
14040         * paragraph.C (getFont): split into...
14041         (getLabelFont): this
14042         (getLayoutFont): and this
14043         * paragraph_pimpl.C (realizeFont): calling this
14044
14045         * text2.C (getFont): split into...
14046         (getLayoutFont): this
14047         (getLabelFont): and this
14048         (realizeFont): all three calling this
14049
14050         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14051         files where used.
14052
14053 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14054
14055         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14056
14057 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14058
14059         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14060         layouts from the Quote inset insertion.
14061
14062 2001-08-03  Juergen Vigna  <jug@sad.it>
14063
14064         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14065
14066         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14067         only if status not is already CHANGED_IN_DRAW (second level).
14068
14069         * text.C (draw): don't set the need_break_row when inside an
14070         InsetText LyXText.
14071
14072 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14073
14074         * buffer.C (parseSingleLyXformat2Token): handle more latex
14075         conversion cases.
14076
14077         * bufferview_funcs.[hC]: change function names to
14078         begin with small char, adjust other files.
14079
14080 2001-08-02  André Pönitz <poenitz@gmx.net>
14081
14082         * lyxfunc.C:
14083         BufferView_pimpl.C: remove broken special code for math-greek
14084
14085 2001-08-02  Juergen Vigna  <jug@sad.it>
14086
14087         * BufferView_pimpl.C (update): redone this function so that we
14088         update the text again if there was a CHANGE_IN_DRAW.
14089
14090         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14091         (drawFromTo): added a new internal bool which is used by draw() and
14092         redraw() function.
14093         (general): some cursor drawing problems fixed.
14094
14095 2001-08-01  Juergen Vigna  <jug@sad.it>
14096
14097         * lyxfind.C (LyXFind): fixed
14098         (SearchForward): ditto
14099         (SearchBackward): ditto
14100
14101         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14102         spurius drawing of the cursor in the main area.
14103
14104         * text2.C (status): small fix which could lead to a segfault!
14105         (clearSelection): remove unneeded BufferView param.
14106
14107 2001-08-01  André Pönitz <poenitz@gmx.net>
14108
14109         * lyxfunc.C: small change due to changed mathed interface
14110
14111 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14112
14113         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14114
14115 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * lyxfunc.c: fail gracefully if file doesn't exist
14118
14119         * LyXSendto.C:
14120         * buffer.C:
14121         * lyxfunc.C:
14122         * BufferView_pimpl.C: IsDirWriteable() proto changed
14123
14124         * LyXView.C: fix updateWindowTitle() to store the last title
14125
14126 2001-07-31  Juergen Vigna  <jug@sad.it>
14127
14128         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14129         the font (wrong since using of Paragraph::highestFontInRange).
14130
14131         * paragraph.C (highestFontInRange): added a default_size parameter.
14132
14133         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14134         (setHeightOfRow): reformat
14135
14136 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14137
14138         * converter.[hC] + affected files: move to (inital-char)lowercase
14139         function names.
14140
14141         * ParagraphParameters.C (ParagraphParameters): remove commented code
14142
14143         * PainterBase.[Ch]: remove commented code
14144
14145         * LaTeXFeatures.h: add "bool floats" for float.sty
14146
14147         * LaTeXFeatures.C (LaTeXFeatures): init floats
14148         (require): handle float
14149         (getPackages): do it with floats
14150
14151 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14152
14153         * BufferView_pimpl.C (Dispatch): improve handling of
14154         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14155
14156         * commandtags.h: #include lyxfont.h here temporarily to avoid
14157         keybinding bug.
14158
14159         * bufferlist.h: include LString.h here.
14160
14161 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14162
14163         * text2.C (getStringToIndex): new method.
14164
14165 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14166
14167         * *: Reduced header file dependencies all over.
14168
14169 2001-07-30  Baruch Even  <baruch@lyx.org>
14170
14171         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14172
14173 2001-07-29  Baruch Even  <baruch@lyx.org>
14174
14175         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14176
14177 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * ParameterStruct.h (endif): add a default constructor to make
14180         sure that all variables is initialized.
14181
14182         * ParagraphParameters.C (ParagraphParameters): adjust
14183
14184 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14185
14186         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14187         index; also, check that there is something to index, and that it
14188         does not span over several paragraphs.
14189         (doubleClick): use WHOLE_WORD_STRICT for double click.
14190
14191         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14192
14193         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14194         scheme.
14195
14196 2001-07-26  Baruch Even  <baruch@lyx.org>
14197
14198         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14199         an InsetFig figure, backwards compatible reading of old figure code.
14200
14201 2001-07-27  Juergen Vigna  <jug@sad.it>
14202
14203         * text2.C: font.realize function adaption.
14204
14205         * text.C (draw): add a warnings lyxerr text if needed.
14206
14207         * layout.C: font.realize function adaption.
14208
14209         * language.C: add inherit_language and implement it's handlings
14210
14211         * bufferview_funcs.C (StyleReset): remove language parameter from
14212         font creation (should be language_inherit now).
14213
14214         * bufferparams.C (writeFile): handle ignore_language.
14215
14216         * paragraph.C (getFontSettings): the language has to be resolved
14217         otherwise we have problems in LyXFont!
14218
14219         * lyxfont.C (lyxWriteChanges): added document_language parameter
14220         (update): removed unneeded language parameter
14221
14222         * paragraph.C (validate): fixed wrong output of color-package when
14223         using interface colors for certain fonts in certain environments,
14224         which should not seen as that on the final output.
14225
14226 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * BufferView_pimpl.C:
14229         * Thesaurus.h:
14230         * Thesaurus.C:
14231         * Makefile.am:
14232         * commandtags.h:
14233         * LyXAction.C: add thesaurus support
14234
14235         * lyxfind.h:
14236         * lyxfind.C: add "once" parameter, for thesaurus, to not
14237           move to the next match
14238
14239 2001-07-26  Juergen Vigna  <jug@sad.it>
14240
14241         * lyxfont.C (realize): honor ignore_language too!
14242         (resolved): ditto.
14243
14244         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14245
14246         * text.C (draw): one place more for ignore_language to not draw
14247         itself!
14248
14249 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14250
14251         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14252
14253 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14254
14255         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14256         the minipage conversion problem.
14257
14258 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14261         insert an inset.
14262
14263 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * BufferView.h: don't forward declare WorkArea
14266
14267         * BufferView.C: don't include WorkArea.h
14268
14269 2001-07-25  André Pönitz <poenitz@gmx.net>
14270
14271         * commandtags.h:
14272         * LyXAction.C:
14273         * lyxfunc.C:  new LFUN 'math-space'
14274
14275         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14276
14277 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14278
14279         * text2.C (toggleInset): call open/close
14280
14281 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14282
14283         * lyxfunc.C (dispatch): add debug for the disabled case
14284
14285         * font.C (buttonText): make similar to rectText
14286
14287         * buffer.C (readInset): comment out parsing of insetlist and
14288         insttheorem
14289
14290         * PainterBase.C (rectText): small correction
14291
14292         * BufferView_pimpl.C: comment out insettheorem and insetlist
14293         * LyXAction.C: ditto
14294         * commandtags.h: ditto
14295
14296 2001-07-24  Juergen Vigna  <jug@sad.it>
14297
14298         * text.C (draw): honor the ignore_language.
14299
14300         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14301
14302 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14303
14304         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14305         char inset.
14306
14307 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14308
14309         * lyxtext.h: remove unused (and unimplemented) methods
14310
14311 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14312
14313         * text.C (getVisibleRow): honor background color
14314
14315         * PainterBase.h:
14316         * Painter.h: remove default color argument for fillRectangle
14317
14318         * text.C (backgroundColor): new method
14319
14320 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14321
14322         * text.C (getVisibleRow): adjust
14323
14324         * font.[Ch] (rectText): new method, metrics
14325         (buttonText): new method, metrics
14326
14327         * PainterBase.[hC]: make rectText and buttonText always draw and take
14328         fewer paramteres.
14329
14330 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14331
14332         * ToolbarDefaults.C (read):
14333         * MenuBackend.C (read): allow escaping in all strings
14334
14335         * BufferView_pimpl.C (insertAndEditInset): new method.
14336         (Dispatch): use insertAndEditInset whenever appropriate.
14337
14338         * BufferView_pimpl.C (insertNote): removed
14339
14340         * BufferView_pimpl.C (smartQuote): new method, moved from
14341         BufferView; if an insetquote cannot be inserted, insert a '"'
14342         character instead.
14343
14344         * BufferView2.C: remove insertCorrectQuote();
14345
14346         * lyxfunc.C (getStatus): Add support for all remaingin
14347         inset-insert lfuns.
14348
14349         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14350
14351         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14352         command (necessary to pass " as parameter of self-insert.
14353
14354         * text.C (selectWordWhenUnderCursor):
14355         (selectWord): add word_location parameter
14356         (selectWordWhenUnderCursor): same + remove special code for word
14357         boundary.
14358         (selectNextWord): use kind() to guess type of insetspecialchar,
14359         not latex().
14360
14361         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14362         (insertErtContents): create ert insets as collapsed.
14363         (readInset): better compatibility code for Info inset.
14364
14365 2001-07-20  Juergen Vigna  <jug@sad.it>
14366
14367         * lyxfunc.C (dispatch): use always LyXFind now!
14368
14369         * text2.C (init): add a reinit flag so that the LyXText can be
14370         reinited instead of deleted and reallocated (used in InsetText).
14371
14372         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14373
14374         * text.C: ditto
14375
14376         * text2.C: ditto
14377
14378 2001-07-18  Juergen Vigna  <jug@sad.it>
14379
14380         * text.C (selectNextWord): handle insets inside inset by calling
14381         always the bv->text functions so that we can go up the_locking_inset!
14382
14383         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14384         in strange locations when inside an inset!
14385
14386         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14387         handling to include insets.
14388
14389         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14390
14391 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14392
14393         * LyXAction.C (init):
14394         * commandtags.h:
14395         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14396         LIGATURE_BREAK, since the name is so stupid.
14397
14398 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14399
14400         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14401         InsetInfos.
14402
14403         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14404
14405         * sp_form.[Ch]: remove.
14406
14407         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14408
14409         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14410         InsetInfo.
14411
14412         * src/buffer.C (readInset): ditto.
14413
14414 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14415
14416         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14417         menuSeparator(), endOfSentenceDot(), ldots() and
14418         hyphenationPoint(), which are therefore removed.
14419         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14420
14421         * LyXAction.C (init):
14422         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14423
14424         * paragraph.C (getWord): removed.
14425
14426         * BufferView_pimpl.C (Dispatch): use last word or selection for
14427         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14428
14429         * lyx_main.C (queryUserLyXDir): do not ask before creating
14430         user_dir, except if it has been named explicitely.
14431
14432 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14433
14434         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14435         a document of zero size.
14436
14437 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14438
14439         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14440         approriately in the c-tor and in require().
14441         (getPackages): output the appropriate LaTeX for natbib support.
14442
14443         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14444         variables "use_natbib" and "use_numerical_citations" when reading the
14445         LyX file.
14446         (readInset): read the various natbib cite commands.
14447         (validate): white-space change.
14448
14449         * bufferparams.[Ch]: new variables "bool use_natbib" and
14450         "bool use_numerical_citations".
14451         (writeFile): output them in the LyX file.
14452
14453 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14454
14455         * lyxfunc.C (getStatus): add support for all the inset insertion
14456         commands.
14457
14458         * text2.C (insertInset):
14459         * paragraph.C (insetAllowed):
14460         * BufferView_pimpl.C (insertInset): update to take in account the
14461         renaming of insertInsetAllowed
14462
14463         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14464
14465         * text2.C (getInset): new method. returns inset at cursor position.
14466
14467         * BufferView_pimpl.C (Dispatch): changes because of this.
14468
14469         * LyXAction.C (init): rename open-stuff to inset-toggle.
14470
14471         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14472
14473         * text2.C (toggleInset): renamed from openStuff; use
14474         Inset::open().
14475
14476 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14477
14478         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14479
14480         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14481
14482 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14483
14484         * buffer.C (readLyXformat2): Add filename to the error dialog
14485
14486 2001-07-18  Juergen Vigna  <jug@sad.it>
14487
14488         * tabular.C (GetCellNumber): put an assert here instead of the check!
14489
14490 2001-07-17  Juergen Vigna  <jug@sad.it>
14491
14492         * BufferView_pimpl.C (toggleSelection): adapted too.
14493
14494         * text.C (selectNextWord): adapted for use with insets.
14495         (selectSelectedWord): ditto
14496
14497 2001-07-17  Juergen Vigna  <jug@sad.it>
14498
14499         * sp_spell.C (PSpell): fix initialitation order.
14500
14501 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * paragraph.C: spacing
14504
14505 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14506
14507         * sp_spell.C: repair language selection for pspell
14508
14509 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14510
14511         * lyxfunc.h: change more methods to begin with lower char.
14512
14513 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14514
14515         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14516         for unknown layouts.
14517
14518 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14519
14520         * buffer.C (readLyXformat2): Generate an error dialog if there are
14521         unknown layouts.
14522
14523 2001-07-16  Juergen Vigna  <jug@sad.it>
14524
14525         * sp_spell.C: always compile ISpell part.
14526
14527         * lyxrc.C: added use_pspell entry and it's handling.
14528
14529 2001-07-13  Juergen Vigna  <jug@sad.it>
14530
14531         * sp_spell.C: removed double includes.
14532
14533 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14534
14535         Consistent use of Lsstream.h:
14536         * Lsstream.h: added using std::stringstream for consistencies sake.
14537
14538         * buffer.C: removed using std::stringstream
14539
14540         * lyxfont.C (stateText):
14541         * paragraph.C (asString):
14542         * text.C (selectNextWord, selectSelectedWord):
14543         * text2.C (setCounter):
14544         * vspace.C (asString, asLatexString):
14545         std::ostringstream -> ostringstream.
14546
14547 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14548
14549         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14550         * commandtags.h: add LFUN_HELP_ABOUTLYX
14551         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14552
14553 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14554
14555         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14556         cursorToggle()
14557         * lyx_gui_misc.C: remove spellchecker
14558         * lyxfunc.C: showSpellchecker
14559         * sp_base.h: added
14560         * sp_ispell.h: added
14561         * sp_pspell.h: added
14562         * sp_spell.C: added
14563         * sp_form.[Ch]: removed
14564         * spellchecker.[Ch]: removed
14565
14566 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14567
14568         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14569         is set.
14570         (simpleTeXSpecialChars): Simply print the input character without
14571         any special translation if pass_thru is set.
14572
14573         * layout.h: Added bool pass_thru to layout class for being able to
14574         implement pass through of a paragraph for Literate Programming.
14575
14576         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14577         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14578         * layout.C (Read): add "passthru" to list of layout tags and add
14579         code to set the pass_thru boolean when it is read.
14580
14581 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * trans_decl.h: remove allowed from KmodInfo
14584
14585         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14586         remove allowed code
14587         (Load): adjust
14588
14589         * paragraph_pimpl.C (erase): use boost::prior
14590
14591         * Painter.C (text): use data() instead of c_str() when length is
14592         also provided.
14593         * WorkArea.C (putClipboard): ditto
14594         * font.h (width): ditto
14595
14596         * BufferView2.C: use it-> instead of (*it). for iterators
14597         * texrow.C: ditto
14598         * paragraph_pimpl.C: ditto
14599         * paragraph.C: ditto
14600         * minibuffer.C: ditto
14601         * language.C: ditto
14602         * kbmap.C: ditto
14603         * encoding.C: ditto
14604         * counters.C: ditto
14605         * converter.C: ditto
14606         * chset.C: ditto
14607         * Variables.C: ditto
14608         * TextCache.C: ditto
14609         * MenuBackend.C: ditto
14610         * LyXAction.C: ditto
14611         * LColor.C: ditto
14612         * FloatList.C: ditto
14613         * DepTable.C: ditto
14614         * ColorHandler.C (LyXColorHandler): ditto
14615
14616 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14617
14618         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14619
14620         * text2.C (openStuff): reintroduce this method (which had been
14621         nuked in NEW_INSETS frenzy).
14622
14623         * lyxfunc.C (Dispatch): when an action has not been handled, use
14624         its name in the error message, not its number.
14625
14626         * paragraph.C (inInset): change method name to begin with lowercase.
14627
14628         * undo_funcs.C:
14629         * text2.C: updates because of this.
14630
14631 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * ToolbarDefaults.C (add): add spaces in error message
14634
14635 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14638         (readLyXformat2): rename return_par to first_par, use lyxlex's
14639         pushToken and remove the manual push handling.
14640         (parseSingleLyXformat2Token): add another ert comp. variable:
14641         in_tabular, rename return_par to first_par. handle newlines better
14642
14643 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14644
14645         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14646
14647 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14648
14649         * text2.C (getParFromID): removed
14650
14651         * buffer.C (getParFromID): new method moved form lyxtext.
14652         * BufferView2.C (insertErrors): adjust
14653         (setCursorFromRow): adjust
14654         * BufferView_pimpl.C (restorePosition): adjust
14655         * lyxfunc.C (Dispatch): adjust
14656         * undo_funcs.C (textUndo): adjust
14657         (textRedo): adjust
14658         (textHandleUndo): adjust
14659         (textHandleUndo): adjust
14660
14661 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14662
14663         * buffer.C: up' the LYX_FORMAT
14664
14665         * lyxfont.h: turn NO_LATEX on as default
14666
14667         * buffer.C (insertErtContents): new methods of tex style compability.
14668         (parseSingleLyXformat2Token): use it several places.
14669         * tabular.C (OldFormatRead): and here
14670
14671 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * text2.C: remove some commented code.
14674         reindent file.
14675
14676         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14677         * trans.C: changes because of the above.
14678
14679 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14680
14681         * text2.C (setCounter): Fix counters bug with bibliography layout.
14682
14683 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14686         own member functions
14687         (simpleTeXSpecialChars): ditto
14688
14689 2001-07-06  Juergen Vigna  <jug@sad.it>
14690
14691         * a lot of files: changed the access to LyXText::status and the
14692         call of undo-functions.
14693
14694         * undo.[Ch]: added a inset_id to the undo informations.
14695
14696         * undo_funcs.[Ch]: added and moved here all undo functions.
14697
14698         * lyxtext.h: give the status enum a weight, made status_ a private
14699         variable and made accessor functions for it, removed the whole bunch
14700         of undo-functions as they are now in their own file, make some
14701         functions publically available. Added function ownerParagraph with
14702         int parameter.
14703
14704         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14705         made InInset() a const function, added getParFromID() function.
14706
14707         * buffer.[Ch]: added const version for inset_iterator functions,
14708         added getInsetFromID() function.
14709
14710         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14711         changed undo functions for new version.
14712
14713 2001-07-05  Juergen Vigna  <jug@sad.it>
14714
14715         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14716         unknow mechanism does not call the proper constructor but only this
14717         one also if I request the other!?
14718
14719 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14720
14721         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14722
14723         * text2.C (LyXText): use initialization lists.
14724
14725         * lyxtext.h (Selection): initialize set_ and mark_
14726         (init): remove method
14727
14728 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14729
14730         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14731
14732 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * screen.[Ch]: change method names to begin with lowercase
14735
14736         * BufferView_pimpl.C (updateScrollbar): simplify further and
14737         hopefully make it a bit faster.
14738
14739 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14742         calling directly xforms functions.
14743
14744         * Painter.C (Painter):
14745         * lyx_cb.C (MenuWrite):
14746         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14747         fl_display.
14748
14749         * lyx_gui.C: remove bogus guiruntime extern declaration.
14750
14751 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14752
14753         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14754         in NEW_INSETS
14755         (redoDrawingOfParagraph): ditto
14756         (redoParagraphs): ditto
14757         (cutSelection): don't create a object for CutAndPaste use the
14758         static method directly
14759         (pasteSelection): ditto
14760
14761         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14762         LyXview (+ rename)
14763
14764 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14765
14766         * modifications to some other files because of this.
14767
14768         * Makefile.am (lyx_SOURCES): add XFormsView
14769
14770         * XFormsView.[Ch]: new files
14771
14772         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14773         the main window. Move the gui dependent stuff to XFormsView
14774
14775 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * tabular.C (GetCellInset): update cur_cell also in the row/col
14778         version of this function.
14779
14780         * lyxfunc.C: no need to include figure_form.h here.
14781
14782         * FontLoader.h:
14783         * lyxfunc.h:
14784         * lyxscreen.h:
14785         * text2.C:
14786         * lyxvc.C: no need to include forms.h here.
14787
14788 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14789
14790         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14791
14792         * lyxfunc.C (Dispatch):
14793         * Spacing.C (set):
14794         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14795         constructor argument.
14796
14797 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14798
14799         * paragraph.C (Paragraph): dont't clear, and just set layout.
14800         (makeSameLayout): use params's copy contructor.
14801
14802         * ParagraphParameters.[Ch] (makeSame): delete method
14803
14804 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * Variables.[Ch]: fix indentation, rename set to isSet
14807
14808 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14809
14810         * lyxfunc.C (Dispatch): fix typo
14811
14812 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14813
14814         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14815         upper_bound.
14816
14817         * bufferlist.C: include assert.h for emergencyWrite().
14818
14819 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14820
14821         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14822           give up at last (bug #425202) !
14823
14824 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * lyx_gui_misc.C:
14827         * sp_form.h:
14828         * sp_form.C:
14829         * spellchecker.h:
14830         * spellchecker.C: strip spellchecker options and bring up
14831           preferences tab instead
14832
14833 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14834
14835         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14836         the istringstream constructor
14837
14838 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14839
14840         * paragraph.C (getLayout): fix return value
14841
14842         * paragraph.h: do not declare getLayout as inline.
14843
14844         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14845
14846 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * lyxcursor.h (operator<): new func
14849         (operator>): new func
14850         (operator>=): new func
14851         (operator<=): new func
14852
14853         * text.C (changeCase): use selection.start and selection.end
14854         (changeRegionCase): require from to be <= to. Require par to be a
14855         valid paragraph.
14856
14857         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14858
14859 2001-06-27  Juergen Vigna  <jug@sad.it>
14860
14861         * text.C (cursorLeftOneWord): changed to return the cursor and added
14862         overlay with BufferView * parameter which calls this one.
14863         (getWord): added
14864         (selectWord): use new getWord function.
14865         (changeCase): renamed from changeWordCase as and extended to work
14866         also on selections.
14867
14868         * lyxtext.h: added enum word_location
14869
14870         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14871         changeCase as this operates now also on selections.
14872
14873 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14874
14875         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14876
14877         * many files: send debug output to Debug::INFO instead of
14878         Debug::ANY.
14879
14880         * converter.C (View):
14881         (Convert):
14882         (Move): send debug output to Debug::FILES instead of console.
14883
14884 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14885
14886         * lyxfunc.C (getStatus): use func_status
14887
14888         * func_status.h: new header, describing the results of
14889         LyXFunc::getStatus;
14890
14891         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14892         LFUN_MATH_HALIGN.
14893
14894 2001-06-25  The LyX Project  <jug@sad.it>
14895
14896         * buffer.C (sgmlOpenTag):
14897         (sgmlCloseTag):
14898         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14899
14900 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14901
14902         * text2.C: remove some dead code
14903
14904         * tabular.C (GetCellInset): store the last cell checked (gotten)
14905
14906         * tabular.h: add the helper for the speedup
14907
14908         * lyxtext.h: remove some dead code
14909
14910 2001-06-26  The LyX Project  <Asger>
14911
14912         * paragraph.C: Change export to LaTeX of alignment to
14913         \begin{center} and family for better roundtrip work with reLyX.
14914
14915         * Tune the math drawing a bit.
14916
14917 2001-06-25  The LyX Project  <Asger>
14918
14919         * LColor.C (LColor): New color for math background. New color
14920         for buttons.
14921
14922 2001-06-25  The LyX Project  <jug@sad.it>
14923
14924         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14925
14926         * lyxfunc.C (Open):
14927         * bufferlist.C (newFile): do not restrict to files ending with
14928         .lyx
14929
14930         * BufferView_pimpl.C (MenuInsertLyXFile):
14931
14932 2001-06-24  The LyX Project  <jug@sad.it>
14933
14934         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14935         of compare_no_case
14936
14937 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * lyxtext.h: rename most methods to begin with a small char.
14940         Lots of changes because of this.
14941
14942         * paragraph.C (Paragraph): do not call fitToSize
14943         (erase): call Pimpl::erase
14944         (insertChar): call Pimpl::insertChar
14945         (insertInset): call Pipl::insertInset
14946         (breakParagraph): do not call fitToSize
14947         (breakParagraphConservative): do not call fitToSize
14948         (fitToSize): remove method
14949
14950         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14951
14952 2001-06-24  The LyX Project  <Asger>
14953
14954         * Fix Qt compilation^2
14955
14956 2001-06-24  The LyX Project  <jug@sad.it>
14957
14958         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14959         depthHook(getDepth()-1).
14960
14961         * paragraph.h:
14962         * ParagraphParameters.h:
14963         * ParameterStruct.h: change type of depth to unsigned int ==
14964         depth_type. Many adaptations to other files before of that.
14965
14966 2001-06-24  The LyX Project  <Asger>
14967
14968         * Fix Qt compilation.
14969
14970 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14971
14972         * paragraph.h: renamed several methods to begin with small letter.
14973         several changes to many parts of the code because of this.
14974
14975 2001-06-23  The LyX Project  <jug@sad.it>
14976
14977         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14978         rewritten to discard all double spaces when KeepEmpty is off
14979         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14980         to only handle newlines but not fiddle with spaces and friends.
14981
14982         * lyxfunc.C (MenuNew): when doing 'new from template', use
14983         template_path as default directory
14984
14985 2001-06-23  The LyX Project  <Asger>
14986
14987         * Clean-up of header file includes all over
14988         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14989
14990 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14991
14992         * paragraph.h: renamed from lyxparagraph.h
14993
14994 2001-06-23  Asger  <lyx@violet.home.sad.it>
14995
14996         * Buffer.h: Removed Buffer::resize
14997         * BufferList.h: Removed BufferList::resize
14998         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14999         the document lazily when we change the width, or the font settings.
15000
15001 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15002
15003         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15004
15005 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * buffer.h: remove out of date comment
15008
15009 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * lyxscreen.h:
15012         * screen.C: fix "theoretical" GC leak
15013
15014 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15015
15016         * LaTeX.C (scanAuxFile):
15017         (deplog): remove trailing \r when reading stream (useful under
15018         win32)
15019
15020 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15021
15022         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15023         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15024         and BufferView::theLockingInset(Inset*), so should use them and not
15025         access bv_->text->the_locking_inset directly.
15026
15027         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15028
15029 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15030
15031         * Makefile.am:
15032         * tex-defs.h: remove old unused file
15033
15034 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15035
15036         * BufferView_pimpl.C: fix typo, remove minibuffer message
15037           when buffer has loaded
15038
15039 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15040
15041         * lyxfunc.C (Dispatch): use stringstream
15042         (MenuNew): use stringstream
15043         (Open): use stringstream
15044
15045         * importer.C (Import): use stringstream
15046
15047         * bufferview_funcs.C (CurrentState): use stringstream
15048
15049         * LaTeX.C (run): use stringstream
15050
15051         * BufferView_pimpl.C (savePosition): use stringstream
15052         (restorePosition): use stringstream
15053         (MenuInsertLyXFile): use stringstream
15054
15055 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15056
15057         * BufferView.C:
15058         * Bullet.C:
15059         * ColorHandler.C:
15060         * FontInfo.C:
15061         * FontLoader.C:
15062         * LColor.C:
15063         * LaTeXFeatures.C:
15064         * Painter.C:
15065         * gettext.C:
15066         * lyx_gui_misc.C:
15067         * lyxserver.C:
15068         * vspace.C: removed // -*- C++ -*- as first line.
15069
15070         * lyxfind.h:
15071         * version.h: added // -*- C++ -*- as first line.
15072
15073 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15074
15075         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15076
15077         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15078         of string
15079
15080 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15081
15082         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15083         of floats.
15084
15085 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15086
15087         * gettext.C: include LString.h even when --disable-nls is on.
15088
15089 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15090
15091         * converter.h (Get): changed argument type from int to
15092         FormatList::size_type to avoid unnecessary conversion.
15093
15094         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15095         before using it.
15096
15097 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * gettext.h: include LString.h even when --disable-nls is on.
15100
15101 2001-06-07  Juergen Vigna  <jug@sad.it>
15102
15103         * text.C (BreakAgain): subst spaces with tabs.
15104
15105         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15106         (resizeInsetsLyXText): set force on resizeLyXText.
15107
15108 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * gettext.h (gettext_init):
15111         (locale_init): use a real definition instead of a macro
15112
15113 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15114
15115         * Bufferview_pimpl.C:
15116         * LColor.h:
15117         * LColor.C: further lcolor tidies
15118
15119 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15120
15121         * BufferView_pimpl.C (updateScrollbar): simplify.
15122
15123         * BufferView2.C: don't include insets/insetinfo.h, change
15124         prototype for insertInset and call the Pimpl version. let
15125         updateInset call Pimpl version.
15126
15127         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15128         gotoInset to BufferView::Pimpl
15129
15130 2001-06-01  Juergen Vigna  <jug@sad.it>
15131
15132         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15133         inside a LockingInset (is the update needed at all?).
15134
15135 2001-05-31  Juergen Vigna  <jug@sad.it>
15136
15137         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15138         here not the old one otherwise how should we compare it afterwards
15139         if it's the same!
15140
15141 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15142
15143         * lyxfont.C:
15144         * tabular.C:
15145         * tabular-old.C:
15146         * FontInfo.C: bring C functions into global namespace when
15147         necessary
15148
15149 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15150
15151         * LString.h: make sure config.h has been loaded before LString.h.
15152
15153         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15154         (one for each char read by EatLine!).
15155
15156         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15157         variables.
15158
15159 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15160
15161         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15162         to the same as the par we break from
15163
15164 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15165
15166         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15167
15168         * MenuBackend.C (expand): also create menu entries for wide
15169         versions of the floats.
15170
15171         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15172
15173         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15174
15175         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15176         frontends/Makefile.am
15177
15178         * text2.C: adjust
15179         * text.C: adjust
15180
15181
15182         * tabular.C (getTokenValue): add std::
15183
15184         * tabular-old.C (getTokenValue): add std::
15185         (getTokenValue): ditto
15186         (getTokenValue): ditto
15187
15188         * screen.C (ToggleSelection): adjust
15189
15190         * lyxtext.h: put selection cursors inside a Selection struct.
15191
15192         * lyxfunc.C (moveCursorUpdate): adjust
15193
15194         * lyxfont.C (latexWriteStartChanges): add std::
15195
15196         * lyxfind.C: adjust
15197
15198         * font.h: delete with(char const *, LyXFont const &)
15199
15200         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15201
15202         * FontInfo.C (getFontname): add std::
15203
15204         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15205         (workAreaButtonPress): adjust
15206         (tripleClick): adjust
15207         (update): adjust
15208         (moveCursorUpdate): adjust
15209         (Dispatch): adjust
15210
15211         * BufferView2.C (gotoInset): adjust
15212
15213 2001-05-30  Juergen Vigna  <jug@sad.it>
15214
15215         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15216         to check pspell I add this as default as I now have new pspell
15217         libraries and they seem to use this.
15218
15219 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15220
15221         * text2.C (CutSelection): make the cursor valid before the call to
15222         ClearSelection.
15223
15224 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15227         relied on 0 terminated strings and other horrors. Bug found due to
15228         the new assert in lyxstring!
15229
15230         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15231         KP_ keys.
15232
15233 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15236         to latinkeys.bind.
15237
15238         * lyxfunc.C (processKeySym): change method of getting to the
15239         self-insert char.
15240
15241         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15242         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15243         * BufferView_pimpl.[Ch]: here as private methods.
15244
15245 2001-05-28  Juergen Vigna  <jug@sad.it>
15246
15247         * text.C (SetHeightOfRow): added the update() call again as it is
15248         needed to initialize inset dimensions!
15249
15250 2001-05-16  Juergen Vigna  <jug@sad.it>
15251
15252         * text2.C (SetCharFont): Add new function with BufferView * and
15253         bool toggleall parameters for setting insets internal fonts.
15254         (SetFont): Freeze the undo as we may change fonts in Insets and
15255         all this change should be inside only one Undo!
15256
15257         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15258         setting font's in insets as for them we have the SetFont function!
15259
15260 2001-05-15  Juergen Vigna  <jug@sad.it>
15261
15262         * text2.C (ClearSelection): to be sure we REALLY don't have any
15263         selection anymore!
15264
15265         * tabular.C (TeXCellPreamble): fixed the left border problem for
15266         multicolumn cells.
15267
15268 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15269
15270         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15271         dependancy file
15272
15273 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15276         LFUN_BREAKPARAGRAPH.
15277
15278         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15279         help test to "internal only", similar for LFUN_INSERT_URL
15280
15281         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15282         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15283         auto_region_delete and deadkeys.
15284
15285 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15286
15287         * LColor.h:
15288         * LColor.C: remove some dead entries, tidy a little
15289
15290 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15291
15292         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15293         commented code.
15294         (Dispatch): implement LFUN_ESCAPE
15295
15296         * commandtags.h: add LFUN_ESCAPE
15297
15298         * LyXAction.C (init): add entry for LFUN_ESCAPE
15299
15300         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15301         Remove commented code.
15302         (insertNote): moved here
15303         (open_new_inset): moved here
15304
15305         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15306         BufferView_pimpl
15307
15308 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15309
15310         * kbmap.C (findbinding): clean it up and make it work correctly.
15311
15312         * lyx_main.C (init): do not pass argc and argv as parameters
15313
15314 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15315
15316         * buffer.C: fix path for OS/2 & Win32
15317
15318         * lyx_gui.C:
15319         * lyx_main:
15320         * lyx_main.C: Added os:: class.
15321
15322         * os2_defines.h: update
15323
15324 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15325
15326         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15327         better by trying again with reduced state.
15328
15329 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * lyxrc.C (read): print error about invalid key sequence only when
15332         debugging (because not all latinX keysyms are known to some X
15333         servers)
15334
15335         * kbsequence.C (getiso): add a few std:: qualifiers
15336         (getiso): comment out extra return statement.
15337
15338 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15339
15340         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15341         handling.
15342         (Dispatch): enhance the accent inset a bit. (not perfect)
15343
15344 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15345
15346         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15347
15348 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15349
15350         * bufferlist.C (emergencyWrite): fix assert() call
15351
15352 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15353
15354         * text.C (InsertChar): Added trivial patch to only send the "you
15355         can not do multiple spaces this way" message once during a
15356         session.
15357
15358 2001-05-08  Baruch Even  <baruch@lyx.org>
15359
15360         * Makefile.am: Changed order of libraries to get LyX to link properly
15361         with the gnome frontend.
15362
15363 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15364
15365         * LaTeXFeatures.h: add a std:: qualifier
15366
15367 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15368
15369         * paragraph.C (String): use stringstream
15370
15371 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * paragraph.C (writeFile): remove footflag arg
15374
15375         * buffer.C (makeLaTeXFile): use stringstream
15376         (latexParagraphs): remove footnot gurba
15377
15378         * LaTeXFeatures.C (getPackages): use stringstream
15379         (getMacros): likewise
15380         (getTClassPreamble): likewise
15381         (getFloatDefinitions): new method
15382
15383         * paragraph.C (writeFile): reindent
15384         (Erase): reindent
15385
15386         * WorkArea.h: revert the xpos + etc changes.
15387
15388         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15389
15390         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15391
15392         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15393         (pasteSelection): likewise
15394         * text2.C (CreateUndo): likewise
15395
15396 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15397
15398         * minibuffer.C (peek_event): temporarily reduce the functionality
15399         of the minibuffer (to allow args on lfuns)
15400
15401         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15402         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15403
15404         * buffer.C (readInset): add compability reading of old float
15405         lists, add reading of new style float list.
15406         (readInset): avoid reevaluation of inscmd.getCmdName()
15407         (getLists): reindent
15408
15409         * MenuBackend.C (MenuItem): implement parsing of
15410         md_floatlistinsert and md_floatinsert.
15411         (expand::LastFiles): move initalizaton of iterators out of loop,
15412         avoid reevaluation.
15413         (expand::Documents): introduce typdedef vector<string> Strings,
15414         and use it.
15415         (expand::ExportFormats): introduce typedef vector<Format const *>
15416         Formats, and use it.
15417         (expand): implement FloatListInsert and FloatInsert.
15418
15419         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15420         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15421         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15422
15423         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15424         handling.
15425         (Dispatch::LFUN_FLOAT_LIST): implement
15426
15427 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15428
15429         * LaTeX.C (run): Fix problem with --export code.
15430
15431 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15432
15433         * BufferView.[Ch] (workarea): removed.
15434         (getClipboard) new method; wrapper for workarea()->getClipboard()
15435
15436         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15437         bug.
15438
15439         * WorkArea.h (width, height, xpos, ypos): These methods all
15440         returned the dimensions of the work_area sub-area of WorkArea,
15441         resulting in a position error if the WorkArea were resized. Now
15442         return the dimensions of the entire WorkArea.
15443
15444         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15445
15446 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * LaTeX.C (deplog): correct the syntax of regex reg1
15449
15450 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * undo.C: remove !NEW_INSETS cruft
15453
15454 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * text2.C: remove !NEW_INSETS cruft
15457
15458         * text.C: remove !NEW_INSETS cruft
15459
15460         * tabular.C: remove !NEW_INSETS cruft
15461
15462         * spellchecker.C: remove !NEW_INSETS cruft
15463
15464         * lyxtext.h: remove !NEW_INSETS cruft
15465
15466         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15467
15468         * lyxfunc.C: remove !NEW_INSETS cruft
15469
15470         * lyxfind.C: remove !NEW_INSETS cruft
15471
15472         * lyx_cb.C: remove !NEW_INSETS cruft
15473
15474         * figureForm.C: remove  !NEW_INSETS cruft
15475
15476         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15477
15478         * buffer.[Ch]: remove !NEW_INSETS cruft
15479
15480         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15481
15482         * CutAndPaste.C: remove !NEW_INSETS cruft
15483
15484         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15485
15486         * BufferView2.C: remove !NEW_INSETS cruft
15487
15488         * BufferView.h: remove !NEW_INSETS cruft
15489
15490 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15491
15492         * Lsstream.h: include LString.h before the sstream headers to
15493         fix problem with gcc 2.95.3 and lyxstring
15494
15495 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15496
15497         * lyx_main.C: add using directives when needed for C functions
15498         declared in std:: namespace.
15499
15500 2001-04-27  Juergen Vigna  <jug@sad.it>
15501
15502         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15503         (SetHeightOfRow): comment out the update call should not be needed!
15504
15505 2001-04-13  Juergen Vigna  <jug@sad.it>
15506
15507         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15508         (LyXTabular): tried to minimize operator= operations (and realized
15509         hopfully Lars wish).
15510
15511 2001-04-27  Juergen Vigna  <jug@sad.it>
15512
15513         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15514
15515 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15516
15517         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15518
15519         * buffer.C (readInset): hack to make listof algorithm work
15520
15521         * BufferView_pimpl.C: hack to make listof algorithm work
15522
15523 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15524
15525         * LyXAction.C: removed all !NEW_INSETS cruft
15526         (init): moved lfun_item in method
15527
15528         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15529
15530 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15531
15532         * BufferView2.C (theLockingInset): white space.
15533
15534 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15535
15536         * minibuffer.C: include <iostream>
15537
15538         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15539
15540         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15541
15542         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15543
15544         * text.[Ch] (TransposeChars): new method
15545
15546 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15547
15548         * call message directly through LyXView instead of through LyXFunc
15549         * BufferView2.C: adjust
15550         * BufferView_pimpl.C: adjust
15551         * FontLoader.C: adjust
15552         * buffer.C: adjust
15553         * bufferview_funcs.C: adjust
15554         * converter.C: adjust
15555         * figureForm.C: adjust
15556         * importer.C: adjust
15557         * lyx_cb.C: adjust
15558         * lyx_gui_misc.C: adjust
15559         * lyxfunc.C: adjust
15560         * lyxvc.C: adjust
15561         * text2.C: adjust
15562         + more files in subdirs
15563
15564         * lyxparagraph.h (size): move up int file
15565         (GetLayout): ditto
15566
15567         * adjust all uses of Assert to lyx::Assert.
15568
15569         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15570         lyxfunctional in namespace lyx
15571         * layout.C (hasLayout): ditto
15572         (GetLayout): ditto
15573         (GetLayout): ditto
15574         (delete_layout): ditto
15575         (NumberOfClass): ditto
15576         * converter.C (GetFormat): ditto
15577         (GetNumber): ditto
15578         (Add): ditto
15579         (Delete): ditto
15580         (SetViewer): ditto
15581         * bufferlist.C (getFileNames): ditto
15582         (emergencyWriteAll): ditto
15583         (exists): ditto
15584         (getBuffer): ditto
15585         * MenuBackend.C (hasSubmenu): ditto
15586         (hasMenu): ditto
15587         (getMenu): ditto
15588         * BufferView_pimpl.C (getInsetByCode): ditto
15589
15590 2001-04-18  Juergen Vigna  <jug@sad.it>
15591
15592         * vspace.C (asLatexString): fixed the 100% problem.
15593
15594 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15595
15596         * lyxfunc.C (Dispatch):
15597         * minibuffer.C:
15598         * minibuffer.h: add a few std:: qualifiers
15599
15600 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15601
15602         * minibuffer.[Ch]: reimplement so that commands is initiated and
15603         run from lyxfunc, simplified som handling, and made the completion
15604         and history code for complete. wip.
15605
15606         * lyxfunc.C (processKeySym): call message
15607         (miniDispatch): new temporary method
15608         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15609         (LFUN_MESSAGE): implement
15610         (LFUN_MESSAGE_PUSH): implement
15611         (LFUN_MESSAGE_POP): implement
15612         (initMiniBuffer): the initial/defualt minibuffer message.
15613
15614         * lyxfont.[Ch]: inline some more getters
15615
15616         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15617
15618         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15619
15620         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15621         (AutoSave): use LFUN_MESSAGE
15622         (Reconfigure): ditto
15623
15624         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15625
15626         * figureForm.C: use LFUN_MESSAGE
15627
15628         * converter.C (runLaTeX): use LFUN_MESSAGE
15629
15630         * bufferview_funcs.C: use LFUN_MESSAGE
15631         (Melt): ditto
15632         (changeDepth): ditto
15633
15634         * bufferparams.h: use boost::
15635
15636         * bufferlist.h: inherit privately from noncopyable
15637
15638         * bufferlist.C (loadLyXFile): remove some commented code.
15639
15640         * buffer.C (runChktex): use LFUN_MESSAGE
15641
15642         * ShareContainer.h: inherit privately from noncopyable
15643
15644         * ParagraphParameters.[hC] (depth): inline it.
15645
15646         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15647         methods.
15648         (message): new method
15649         (messagePush): ditto
15650         (messagePop): ditto
15651         (show): init minibuffer
15652         (showState): direct call
15653
15654         * LaTeX.[Ch]: inherit privately from noncopyable
15655         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15656         instead of WriteStatus.
15657
15658         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15659
15660         * BufferView_pimpl.C (buffer): don't init minibuffer
15661         (workAreaButtonPress): use LFUN_MESSAGE
15662         (workAreaButtonRelease): ditto
15663         (savePosition): ditto
15664         (restorePosition): ditto
15665         (MenuInsertLyXFile): ditto
15666         (workAreaExpose): don't init minibuffer
15667         (update): remove commented code, simplify
15668
15669         * BufferView2.C (openStuff): use LFUN_MESSAGE
15670         (toggleFloat): ditto
15671         (menuUndo): ditto
15672         (menuRedo): ditto
15673         (copyEnvironment): ditto
15674         (pasteEnvironment): ditto
15675         (copy): ditto
15676         (cut): ditto
15677         (paste): ditto
15678         (gotoInset): ditto
15679         (updateInset): remove some commented code
15680
15681         * lastfiles.h: inherit privately from noncopyable
15682         * layout.h: ditto
15683         * lyx_gui.h: ditto
15684         * lyx_main.h: ditto
15685         * lyxlex.h: ditto
15686         * lyxlex_pimpl.h: ditto
15687
15688         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15689         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15690         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15691
15692         * LyXAction.h: inherit privately from noncopyable, add methods
15693         func_begin, func_end, returning iterators to the func map.
15694
15695         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15696         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15697         (func_begin): new method
15698         (func_end): new method
15699
15700         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15701         and not)
15702         (copySelection): ditto
15703         (pasteSelection): ditto
15704
15705         * BufferView.C: whitespace change
15706         * BufferView.h: inherit privately from noncopyable
15707
15708 2001-04-16  Allan Rae  <rae@lyx.org>
15709
15710         * tabular-old.C (l_getline):
15711         * spellchecker.C (sc_check_word):
15712         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15713         an unrecognised preprocessor directive.  So ensure they're wrapped.
15714
15715 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15716
15717         * src/exporter.C (Export): Give an error message when path to file
15718         contains spaces.
15719
15720 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15721
15722         * LaTeX.C (deplog): Always check that foundfile exists.
15723
15724 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15725
15726         * lyx_main.h:
15727         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15728
15729 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * tabular.[Ch] (getLabelList): implement new method
15732
15733         * minibuffer.h: comment ouf setTiimer
15734
15735         * minibuffer.C (ExecutingCB): constify res
15736         (peek_event): constify s
15737         (Set): constify ntext
15738         (Init): constify nicename
15739
15740         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15741
15742         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15743         (savePosition): use two params to Minibuffer::Set
15744         (restorePosition): ditto
15745
15746 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15747
15748         * lyx_main.C: include language.h
15749
15750         * Makefile.am (lyx_main.o): add language.h
15751
15752 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15753
15754         * exporter.C:
15755         * paragraph.C:
15756         * screen.C:
15757         * tabular.C:
15758         * CutAndPaste.C: include gettext.h
15759
15760         * lyxfont.h: remove old hack with ON and OFF.
15761
15762         * lyxparagraph.h:
15763         * lyxfont.h: do not include language.h...
15764
15765         * BufferView2.C:
15766         * LaTeXFeatures.C:
15767         * Painter.C:
15768         * bufferview_funcs.C:
15769         * font.C:
15770         * lyxfont.C:
15771         * text.C:
15772         * text2.C:
15773         * trans_mgr.C:
15774         * paragraph.C: ... but do it here instead
15775
15776 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15777
15778         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15779
15780         * tabular.C: small reformat
15781
15782         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15783         NEW_INSETS version
15784         (GetChar): ditto
15785         (BreakParagraph): ditto
15786         (SetOnlyLayout): ditto
15787         (SetLayout): ditto
15788
15789         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15790         with one arg less.
15791
15792         * lastfiles.C: removed most using decl, add std:: where needed
15793
15794         * buffer.C: ws changes
15795
15796         * MenuBackend.C (class compare_format): put into anon namespace
15797         (expand): constify label, names, action, action2
15798         (expand):
15799
15800         * text.C (SingleWidth): constify font
15801         (IsBoundary): constify rtl2
15802         (GetVisibleRow): constify ww
15803
15804         * LaTeX.C (deplog): constify logfile
15805
15806         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15807         start_x, end_x
15808         (workAreaExpose): constify widthChange, heightChange
15809
15810         * lyxrow.C (par): moved
15811         (height): moved
15812         (next): moved
15813         * lyxrow.h: as inlines here
15814
15815         * lyxfont.h (shape): moved from lyxfont.C
15816         (emph): moved from lyxfont.C
15817
15818         * lyxfont.C (LyXFont): use initialization list for all
15819         constructors
15820         (shape): move to lyxfont.h as inline
15821         (emph): move to lyxfont.h as inline
15822
15823
15824 2001-04-04  Juergen Vigna  <jug@sad.it>
15825
15826         * vspace.C: had to include stdio.h for use of sscanf
15827
15828 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15829
15830         * BufferView.h:
15831         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15832         independent of xforms.
15833
15834 2001-04-02  Juergen Vigna  <jug@sad.it>
15835
15836         * spellchecker.C: fixed namespace placing!
15837
15838 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15839
15840         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15841         the LyXParagraph * is 0.
15842
15843 2001-03-29  Juergen Vigna  <jug@sad.it>
15844
15845         * vspace.C: added support for %, c%, p%, l%.
15846         (stringFromUnit): added helper function.
15847         (asLatexString): changed to give right results for the %-values.
15848
15849         * buffer.C: convert the widthp in a width%.
15850
15851 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15852
15853         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15854         figureForm.[Ch].
15855
15856         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15857         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15858
15859         * lyx_cb.[Ch]: see above.
15860
15861         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15862         form1.[Ch].
15863
15864         * form1.[Ch]:
15865         * lyx.[Ch]: replaced by figure_form.[Ch].
15866
15867         * lyx_gui.C:
15868         * lyx_gui_misc.C:
15869         * lyxfunc.C: changed headers associated with above changes.
15870
15871 2001-03-27  Juergen Vigna  <jug@sad.it>
15872
15873         * BufferView_pimpl.C: set the temporary cursor right!
15874
15875 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15876
15877         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15878
15879 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15880
15881         * LString.h: removed "using std::getline"!
15882
15883         * BufferView_pimpl.C (Dispatch): changes due to changes in
15884         InsetInclude::Params.
15885
15886         * buffer.C (tag_name): removed redundant break statements as they were
15887         producing lots of warnings with my compiler.
15888
15889 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * LString.h: add "using std::getline" when using the real <string>.
15892
15893 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15894
15895         * buffer.C: removed bitset usage.
15896         PAR_TAG moved to an anonymous name space.
15897         (tag_name): new funtion, also in the anonymous namespace.
15898         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15899         (makeDocBookFile): clean code. Completed transition from string arrays
15900         to string vectors.
15901         (SimpleDocBookOnePar): code clean.
15902
15903 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15904
15905         * tabular.C: add some comments.
15906
15907 2001-03-22  Juergen Vigna  <jug@sad.it>
15908
15909         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15910         compatibility read a bit and fixed bug with minipage in different
15911         depth.
15912
15913 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15914
15915         * buffer.C (pop_tag): removed.
15916         (push_tag): removed.
15917         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15918         array replaced with vector. Added support for CDATA sections.
15919         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15920         at any nest level.
15921         (makeDocBookFile): XML conformant declaration of CDATA section,
15922         fixed bug related to <emphasis> in the first paragraph char.
15923         (sgmlOpenTag): exclude empty tags.
15924         (sgmlCloseTag): ditto.
15925
15926         * buffer.h (pop_tag): removed.
15927         (push_tag): removed.
15928
15929 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * language.h (Languages): added size_type and size().
15932
15933 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15934
15935         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15936         response on compability reading of minipages. One probliem is that
15937         the old usage of minipages was «flertydig»
15938
15939         * several files here and in subdirs: don't use static at file
15940         scope use anon namespaces instead.
15941
15942 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15943
15944         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15945         LaTeX output. This is necessary for Literate document
15946         processing.
15947
15948 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15949
15950         * buffer.C: insert hfill when needed.
15951
15952         * tabular.C (l_getline): use string::erase, small whitespace change.
15953
15954         * BufferView_pimpl.C: try the anon namespace.
15955         * WorkArea.C: ditto
15956
15957 2001-03-16  Juergen Vigna  <jug@sad.it>
15958
15959         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15960         otherwise it won't open options-dialogs.
15961
15962         * buffer.C: honor pextraWidth(p) on converting minipages.
15963
15964         * tabular.C (l_getline): changed the functions to strip trailing \r.
15965
15966 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15967
15968         * BufferView_pimpl.C:
15969         * minibuffer..C: added "using SigC::slot" declaration.
15970
15971 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15972
15973         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15974
15975         * text2.C: ditto
15976
15977         * text.C: ditto
15978
15979         * paragraph.C: ditto
15980
15981         * lyxtext.h: NO_PEXTRA
15982
15983         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15984
15985         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15986         * ParameterStruct.h: ditto
15987         * ParagraphParameters.h: ditto
15988         * lyxparagraph.h: ditto
15989
15990 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15991
15992         * buffer.C: add compability for minipage alignment.
15993         (latexParagraphs): remove unwanted pextra check.
15994
15995         * several files: remove CXX_WORKING_NAMESPACES
15996
15997         * buffer.C (pop_tag): tie is in namespace boost
15998
15999         * BufferView.h: noncopyable is in namespace boost
16000         * lyxlex.h: ditto
16001         * lyx_main.h: ditto
16002         * lyx_gui.h: ditto
16003         * layout.h: ditto
16004         * lastfiles.h: ditto
16005         * bufferlist.h: ditto
16006         * ShareContainer.h: ditto
16007         * LyXView.h: ditto
16008         * LyXAction.h: ditto
16009         * LaTeX.h: ditto
16010
16011 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16012
16013         * Merging changes from BRANCH_MVC back into HEAD.
16014
16015         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16016
16017 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16018
16019         * BufferView_pimpl.C: change from intl.C
16020
16021         * combox.h:
16022         * combox.C:
16023         * Makefile.am: move combox.*
16024
16025         * form1.h:
16026         * form1.C:
16027         * lyx_gui.C:
16028         * intl.h:
16029         * intl.C: remove dialog (covered by prefs)
16030
16031 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16032
16033         * lyxfunc.C (Dispatch): removed redundant break statement.
16034
16035 2001-03-14  Juergen Vigna  <jug@sad.it>
16036
16037         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16038
16039 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16040
16041         * buffer.C: add hack to fix compability reading of minipages.
16042
16043 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16044
16045         * buffer.C (getLists): Cleanup.
16046
16047 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16048
16049         * lyxfont.C (update): don't honor toggleall on font size.
16050
16051 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16052
16053         * bmtable.c:
16054         * bmtable.h:
16055         * Makefile.am: moved to frontends/xforms/
16056
16057         * lyx_gui_misc.C:
16058         * lyxfunc.C:
16059         * BufferView_pimpl.C: changes for moved mathpanel
16060
16061 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16062
16063         * gettext.h: fix gettext_init() in --disable-nls
16064
16065 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16066
16067         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16068
16069 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16070
16071         * lyx.C:
16072         * lyx.h: strip external form
16073
16074 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16075
16076         * BufferView_pimpl.C: add comment, destroySplash()
16077
16078 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16079
16080         * BufferView_pimpl.C:
16081         * LyXAction.C:
16082         * buffer.C:
16083         * commandtags.h:
16084         * lyxfunc.C: use re-worked insetinclude
16085
16086 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16087
16088         * buffer.C: add using std::stringstream.
16089
16090         * lyx_cb.C: readd using std::ios.
16091
16092         * buffer.C: add using std::map.
16093
16094         * BufferView_pimpl.C: add using std::vector.
16095
16096         * ShareContainer.h: add std:: to swap.
16097
16098         * buffer.h: add some typedefs
16099         * buffer.C (getLists): use them
16100         (getLists): renamed from getTocList.
16101         add a counter for the different float types and use it in the
16102         generated string.
16103         (getLists): use the same counter for the NEW_INSETS and the "non"
16104         NEW_INSETS
16105
16106         * lyx_cb.h: remove unused items, includes, using etc.
16107
16108         * ShareContainer.h: remove some commented code, add more comments
16109         and "documentation".
16110
16111 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16112
16113         * buffer.C (getTocList): make the list also when NEW_INSETS is
16114         defined.
16115
16116         * buffer.h: remove TocType
16117
16118         * buffer.C (getTocList): change to return a map<string,
16119         vector<TocItem> >, implement for dynamic number of list.
16120
16121         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16122         * text2.C (PasteSelection): adjust
16123         * CutAndPaste.C (pasteSelection): adjust
16124
16125         * FloatList.C (FloatList): update from the new_insets branch.
16126         * Floating.[Ch]: ditto
16127         * LaTeXFeatures.C: ditto
16128         * buffer.C: ditto
16129         * lyxlex_pimpl.C: ditto
16130
16131         * paragraph.C (Last): remove when NEW_INSETS is defined.
16132
16133         * other file: changes because of the above.
16134
16135 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16136
16137         * lyxparagraph.h: rename next to next_, previous to previous_,
16138         make them private for NEW_INSETS. Rename Next() to next(),
16139         Previous() to previous().
16140
16141         * other files: changes because of the above.
16142
16143 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * BufferView.h:
16146         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16147         problem.
16148
16149 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16150
16151         * main.C (main): pass lyx_localedir to gettext_init().
16152
16153         * gettext.h: remove locale_init and gettext_init macros
16154
16155         * gettext.C (locale_init): new function
16156         (gettext_init): new function
16157
16158         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16159         setlocale().
16160
16161 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16162
16163         * Moved credits to frontends:
16164         * credits.[Ch]: removed
16165         * credits_form.[Ch]: removed
16166         * lyx_gui_misc.C: remove credits stuff
16167         * Makefile.am:
16168
16169 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16170
16171         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16172
16173         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16174         unneeded destructor.
16175
16176         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16177         a standalone pointer again.
16178
16179         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16180
16181 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16182
16183         * Makefile.am:
16184         * filedlg.h:
16185         * filedlg.C:
16186         * LyXAction.C:
16187         * ToolbarDefaults.C:
16188         * bufferlist.C:
16189         * commandtags.h:
16190         * form1.C:
16191         * form1.h:
16192         * lyx_cb.C:
16193         * lyx_cb.h:
16194         * lyxfunc.h:
16195         * lyxfunc.C:
16196         * BufferView_pimpl.C: use new file dialog in GUII
16197
16198         * lyx_cb.h:
16199         * lyx_cb.C: remove LayoutsCB to Toolbar
16200
16201 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16202
16203         * ShareContainer.h (get): add std:: qualifier
16204
16205 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * ShareContainer.h: define a proper ShareContainer::value_type
16208         type (and use typename to please compaq cxx)
16209
16210 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16211
16212         * lyxparagraph.h: move serveral local vars to
16213         ParameterStruct/ParagraphParameters., use ShareContainer in
16214         FontTable., make vars in FontTable private and add getter and
16215         setter.
16216
16217         * paragraph.C: changes because of the above.
16218
16219         * lyxfont.h: remove copy constructor and copy assignment. (the
16220         default ones is ok), move number inside FontBits. move inlines to
16221         lyxfont.C
16222
16223         * lyxfont.C: add number to initializaton of statics, move several
16224         inlines here. constify several local vars. some whitespace
16225         cleanup. Dont hide outerscope variables.
16226
16227         * Spacing.h: add two new constructors to match the set methods.
16228
16229         * ShareContainer.h: new file, will perhaps be moved to support
16230
16231         * ParameterStruct.h: new file
16232
16233         * ParagraphParameters.h: new file
16234
16235         * ParagraphParameters.C: new file
16236
16237         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16238         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16239
16240         * BufferView_pimpl.C: ParagraphParameter changes.
16241         * buffer.C: Likewise.
16242         * bufferview_funcs.C: Likewise.
16243         * text.C: Likewise.
16244         * text2.C: Likewise.
16245
16246 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16247
16248         * lyxfind.C (LyXReplace): do not redefine default argument in
16249         implementation.
16250         (IsStringInText): ditto
16251         (SearchForward): ditto
16252         (SearchBackward): ditto
16253
16254 2001-03-06  Juergen Vigna  <jug@sad.it>
16255
16256         * lyxfind.C (IsStringInText): put parentes around expressions.
16257
16258 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16259
16260         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16261
16262 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16263
16264         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16265
16266         * stl_string_fwd.h: add comment
16267
16268         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16269
16270         * tabular.h:
16271         * tabular.C: remove unused DocBook methods
16272
16273         * intl.C:
16274         * language.C:
16275         * paragraph.C:
16276         * buffer.C:
16277         killed DO_USE_DEFAULT_LANGUAGE
16278
16279 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16280
16281         * lyx_gui.C: do not include language.h.
16282
16283         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16284         arguments in function implementation.
16285
16286 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16287
16288         * BufferView_pimpl.C: add <ctime>
16289
16290 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16291
16292         * BufferView_pimpl.C: add using std::find_if
16293
16294 2001-02-27  José Matos  <jamatos@fep.up.pt>
16295
16296         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16297         by OnlyPath.
16298
16299 2001-02-11  José Matos  <jamatos@fep.up.pt>
16300
16301         * buffer.C (makeDocBookFile): command styles now have a parameter as
16302         "title" by default.
16303
16304 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16305
16306         * layout_forms.[Ch]: removed
16307         * lyx_cb.[Ch]: out character
16308         * lyx_gui.C: out character
16309         * lyx_gui_misc.C: out character
16310         * bufferview_funcs.C: : out character,
16311         added toggleall as parameter in ToggleAndShow
16312
16313 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16314
16315         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16316
16317         * text2.C (SetCurrentFont): Disable number property at boundary.
16318
16319 2001-02-26  Juergen Vigna  <jug@sad.it>
16320
16321         * lyxfunc.C (getStatus): added a string argument override function so
16322         that this is correctly called from LyXFunc::Dispatch if it contains a
16323         do_not_use_argument which is used!
16324         (Dispatch): added check for "custom" export and call appropriate func.
16325
16326 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16327
16328         * lyxrc.C: Add language_command_local, language_use_babel and
16329         language_global_options.
16330
16331         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16332
16333         * buffer.C (makeLaTeXFile): Use language_use_babel and
16334         language_global_options.
16335
16336 2001-02-23  Juergen Vigna  <jug@sad.it>
16337
16338         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16339         which works with LyXText and putted it inside BufferView. Here now we
16340         only call for that part the BufferView::Dispatch() function.
16341
16342         * BufferView.C (Dispatch): added.
16343
16344         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16345         functions which needs to use a LyXText over from LyXFunc.
16346         (MenuInsertLyXFile): added
16347         (getInsetByCode): added
16348         (moveCursorUpdate): added
16349         (static TEXT): added
16350
16351 2001-02-22  Juergen Vigna  <jug@sad.it>
16352
16353         * BufferView_pimpl.C (update): call a status update to see if LyXText
16354         needs it.
16355
16356 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16357
16358         * vc-backend.C (revert): implement for CVS
16359         (getLog): implement for CVS
16360
16361 2001-02-20  Juergen Vigna  <jug@sad.it>
16362
16363         * text2.C (ClearSelection): added BufferView param for inset_owner call
16364
16365         * lyxfunc.C (TEXT): added this function and use it instead of
16366         directly owner->view()-text of getLyXText().
16367
16368 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16369
16370         * src/layout_forms.C: out preamble
16371         * src/layout_forms.h: out preamble
16372         * src/lyx_cb.C: out preamble
16373         * src/lyx_cb.h: out preamble
16374         * src/lyx_gui.C: out preamble
16375         * src/lyx_gui_misc.C: out preamble
16376         * src/lyxfunc.C: connect with guii preamble
16377
16378 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16379
16380         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16381
16382 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16383
16384         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16385         whether to run bibtex.
16386
16387 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16388
16389         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16390
16391 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16392
16393         * Makefile.am (lyx_SOURCES): removed bibforms.h
16394
16395         * vspace.h: doxygen
16396
16397         * text.C (GetVisibleRow): make several local vars const
16398
16399         * tabular.C: small cleanup.
16400
16401         * lyxserver.C (callback): use compare instead of strncmp
16402
16403         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16404         inlines to after class or to paragraph.C
16405
16406         * lyxfont.h: remove friend operator!=
16407
16408         * converter.h: move friend bool operator< to non friend and after
16409         class def.
16410
16411         * combox.h: small cleanup
16412
16413         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16414         to inlines after class def.
16415
16416         * buffer.C (pop_tag): use string operations instead of strcmp
16417
16418         * bmtable.c: doxygen, small cleanup
16419
16420         * LaTeX.h: remove friend operator==
16421
16422 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16423
16424         * screen.C:
16425         * lyxrc.[Ch]:
16426         * lyxfunc.C:
16427         * lyxfont.[Ch]:
16428         * lyx_cb.C:
16429         * intl.[Ch]:
16430         * commandtags.h:
16431         * buffer.C:
16432         * WorkArea.[Ch]:
16433         * LyXAction.C:
16434         * BufferView_pimpl.C:
16435         * BufferView.[Ch]: remove cruft
16436
16437 2001-02-14  Juergen Vigna  <jug@sad.it>
16438
16439         * lyxfunc.C: removed #if 0 unused code
16440
16441         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16442
16443         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16444
16445         * text2.C (SetSelection): added a BufferView * parameter
16446
16447 2001-02-13  Juergen Vigna  <jug@sad.it>
16448
16449         * lyxfunc.C (Dispatch): fixed protected blank problem.
16450         * BufferView2.C (protectedBlank): added LyxText * parameter.
16451
16452         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16453         (AppendColumn): same as above for column_info.
16454
16455         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16456         (moveCursorUpdate): use a LyXText param for support of InsetText.
16457
16458         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16459         (tripleClick): ditto
16460
16461         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16462
16463         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16464
16465         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16466
16467         * text2.C (SetSelection): set correct update status if inset_owner
16468         (ToggleFree): ditto
16469
16470 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16471
16472         * tabular.C: remove some commented code.
16473
16474 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16475
16476         * BufferView_pimpl.C: call hideSplash()
16477
16478         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16479
16480         * include_form.h:
16481         * bibforms.h: remove
16482
16483         * lyxfunc.C:
16484         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16485           add LFUN_CHILD_CREATE
16486
16487         * counters.h: fix tiny typo
16488
16489         * lyx_cb.C:
16490         * lyx.h:
16491         * lyx_gui.C:
16492         * lyx.C: move splash to frontends/xforms/
16493
16494         * lyx_gui_misc.C: move Include and Bibform to frontends
16495
16496         * lyxvc.h: clarify comment
16497
16498         * vspace.C: tiny housekeeping
16499
16500 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16501
16502         * text.C (PrepareToPrint): RTL Fix.
16503
16504         * paragraph.C (GetUChar): New method.
16505         (String):  Use GetUChar.
16506
16507         * buffer.C (asciiParagraph): Use GetUChar.
16508
16509 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16510
16511         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16512
16513 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16514
16515         * buffer.h:
16516         * buffer.C: rename to getLogName(), handle
16517           build log / latex log nicely
16518
16519 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16520
16521         * MenuBackend.C:
16522         * MenuBackend.h: remove support for reference menuitem type.
16523
16524 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16525
16526         * BufferView_pimpl.C: housekeeping
16527         * BufferView_pimpl.h:
16528         * LyXView.h:
16529         * Makefile.am:
16530         * Timeout.C:
16531         * Timeout.h:
16532         * minibuffer.h: move Timeout GUI-I
16533
16534 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16535
16536         * lyxrc.C (read): Update converters data-structures.
16537
16538 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16539
16540         * LaTeX.h (operator!=): add operator != for Aux_Info
16541
16542 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16543
16544         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16545
16546         * LaTeXLog.C: deleted, useful code moved to Buffer
16547
16548         * buffer.h:
16549         * buffer.C: new function getLatexLogName()
16550
16551         * lyx_gui_misc.C:
16552         * lyx_gui.C:
16553         * lyxvc.C:
16554         * lyxvc.h:
16555         * lyxfunc.C: use frontends for LaTeX and VC logs
16556
16557 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16558
16559         * LaTeX.h: yet another std:: that Allan forgot.
16560
16561         * Variables.C (set): renamed from isset(), because this clashes
16562         with some HP-UX macros (grr).
16563
16564 2001-02-06  Allan Rae  <rae@lyx.org>
16565
16566         * LaTeX.h: Another bug fix.  Missing std:: this time.
16567
16568 2001-02-04  Allan Rae  <rae@lyx.org>
16569
16570         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16571         floats problem. I've left it commented out because it's not quite
16572         correct.  It should also test that the current object is a table or
16573         figure inset.  But I haven't gotten around to figuring out how to do
16574         that.  I *think* it'll be something like: "table" == inset.type()
16575
16576         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16577         bool.
16578
16579 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16580
16581         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16582         all the citation/databases/styles in the auxilary file.
16583         (run): Rerun latex if there was a babel language error.
16584
16585 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16586
16587         * text.C (Backspace): Preserve the font when changing newline char
16588         with a space.
16589         (BreakParagraph): If the cursor is before a space, delete the space.
16590
16591         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16592
16593 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16594
16595         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16596         new argument (code).
16597         (ChangeCitationsIfUnique): New method.
16598
16599         * paragraph.C (GetPositionOfInset): Handle bibkey.
16600
16601 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16602
16603         * BufferView_pimpl.h: change type of Position::par_pos to
16604         LyXParagraph::size_type.
16605
16606 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16607
16608         * BufferView_pimpl.C (savePosition, restorePosition): Write
16609         messages to minibuffer.
16610
16611 2001-01-28  José Matos  <jamatos@fep.up.pt>
16612
16613         * buffer.C (makeDocBookFile): adds support for document language.
16614         A silly restriction on the name of LatexCommand types where removed.
16615         Added support for CDATA sections, allows to chars unescaped, used
16616         among others in code, to avoid escape < and >.
16617
16618 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16619
16620         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16621         saved positions instrad of a stack. Furthermore, a position is
16622         stored using paragraph id/paragraph position.
16623
16624         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16625         Remove LFUN_REF_BACK.
16626
16627 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16628
16629         * converter.C (dvipdfm_options): New method.
16630
16631 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16632
16633         * vspace.C (isValidLength): Fix for empty input string.
16634
16635 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16636
16637         * LyXAction.C (init): change description of LFUN_FIGURE to
16638         "Insert Graphics"
16639
16640 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16641
16642         * LaTeX.C: add using directive
16643
16644 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16645
16646         * MenuBackend.C (expand): Fix the sorting of the formats.
16647
16648 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16649
16650         * lyx_main.C: tiny error message fix
16651
16652 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16653
16654         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16655         calling fl_initialize(). This fixes the problem with ',' as
16656         decimal separator in text files.
16657
16658 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16659
16660         * trans.C (process): Fix the keymap bug.
16661
16662 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16663
16664         * LaTeX.C (scanAuxFiles): New method. Provides support for
16665         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16666         (scanLogFile) Scan for "run BibTeX" messages.
16667
16668         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16669         OT1 font encoding. Also, load the aecompl package if the ae
16670         package is loaded.
16671
16672         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16673
16674 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16675
16676         * texrow.C (increasePos): turn two error messages into debug
16677         messages.
16678
16679 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16680
16681         * LaTeX.C (scanAux): Handle the \@input macro.
16682         (runBibTeX): Use scanAux().
16683
16684         * language.C (latex_options_): New field.
16685
16686         * LaTeXFeatures.C (getMacros): Add language macros.
16687
16688         * buffer.C (makeLaTeXFile): Small fix.
16689
16690 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16691
16692         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16693
16694         * text2.C: add a using directive.
16695
16696 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16697
16698         * BufferView2.C:
16699         * lyx_gui_misc.h:
16700         * lyxfr1.C:
16701         * lyxfunc.C: kill LyXBell.
16702
16703 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16704
16705         * text.C (IsBoundary): Remove the error message
16706
16707         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16708
16709         * lyxrc.C (setDefaults): Correct initialization value for
16710         font_norm_type.
16711
16712 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16713
16714         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16715         gotoError().
16716
16717         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16718         and GotoNextNote().
16719
16720         * src/LyXAction.C: Added reference-next.
16721
16722         * text.C (InsertChar): Use contains instead of strchr.
16723
16724         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16725
16726 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16727
16728         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16729         alignment commands (when needed).
16730
16731         * text.C (InsertChar): Add ':' to number separator chars.