]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
e101c4fda12f48784d4a2564db1e2aad3b46b75c
[lyx.git] / src / ChangeLog
1 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyxrc.[Ch]: store all float values as strings.
4         use int (not float) for lyxrc.dpi.
5
6 2005-01-04  Angus Leeming  <leeming@lyx.org>
7
8         * lyx_cb.C (Reconfigure):
9         * lyx_main.C (queryUserLyXDir):
10         to run the <system_lyxdir>/configure correctly on Windows, prefix
11         the path to the script with "sh " when generating the string that
12         is passed to system().
13
14 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15
16         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
17
18 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
19
20         * lyxlength.C (asLatexString): get rid of setprecision
21
22 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * text2.C (setLayout): remove unused variable endpit.
25         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
26
27         * paragraph.C (onlyText): remove unused variable style.
28
29         * cursor.C (bruteFind): remove unused variables beg and end.
30
31         * Makefile.am (dist_noinset_DATA): not needed anymore
32
33         * cheaders/*: remove.
34
35 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
36
37         * text3.C: fix LFUN_MATH_MODE.
38
39 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
40
41         * buffer_funcs.C (countWords): new function. Counts words between
42         two iterators.
43
44         * BufferView_pimpl.C (getStatus, dispatch): handle
45         LFUN_WORDS_COUNT.
46
47         * LyXAction.C (init): 
48         * lfuns.h: add LFUN_WORDS_COUNT.
49
50 2004-12-19  Angus Leeming  <leeming@lyx.org>
51
52         * buffer.C (save): s/slashify_path/internal_path/.
53
54 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * lyxfind.C (findChange): do not search for end of pars, because
57         the change tracker cannot handle this (fixes bug 1719).
58
59 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
60
61         * paragraph.[Ch] (autoBreakRows): remove
62
63         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
64
65         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
66         avoid using the paragraph one
67
68         * text2.C (LyXText, insertStringAsLines): adjust
69         
70 2004-12-16  Angus Leeming  <leeming@lyx.org>
71
72         * bufferlist.C:
73         * lyx_main.C: 
74         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
75
76 2004-12-14  Angus Leeming  <leeming@lyx.org>
77
78         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
79
80         * bufferlist.C (emergencyWrite):
81         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
82         GetEnvPath("HOME").
83
84 2004-12-14  Angus Leeming  <leeming@lyx.org>
85
86         * main.C: (main): no longer pass pointers to os::init.
87
88 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
89
90         * undo.C (textUndoOrRedo): simplify logic, fix a crash
91         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
92
93 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
94
95         * lyxfunc.C: 
96         * text3.C: remove selection_possible global flag
97
98 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
99
100         * text2.C (getSelectionSpan): remove
101         (changeDepth, changeDepthAllowed): adjust
102
103 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
104
105         * Makefile.am (BOOST_LIBS): use boost variables
106
107 2004-12-03  José Matos <jamatos@lyx.org>
108
109         * buffer.C: format up to 238.
110
111 2004-12-03  José Matos  <jamatos@lyx.org>
112
113         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
114
115 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
116
117         * cursor.C (goUpDown): remove call to idxUpDown2
118
119 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
120
121         * tabular.[Ch]: use size_t-like types for cell, row and column
122         indices
123
124 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * lyxfunc.C (getStatus): do not lose previous information when
127         calling BufferView::getStatus; do not set a default "Command
128         disabled" message at the beginning, but just before returning.
129
130 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
131
132         * cursor.h (getStatus): add better comment from src/cursor.C
133
134 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * text3.C (getStatus): return false when the lfun is not handled
137
138 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * broken_headers.h: remove
141
142         * Makefile.am (lyx_SOURCES): remove broken_headers.h
143
144 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
145
146         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
147         offset_ref accessors
148
149         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
150         top_y_, merge fitcursor with update
151         (updateScrollbar, scrollDocView, fitCursor, center, update): new
152         coord scheme
153         (metrics): introduce
154         (workAreaDispatch): adapt to new coord scheme
155         (redoCurrentBuffer): remove
156
157         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
158
159         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
160         CurStatus enum.
161
162         * coordcache.[Ch]: add paragraph cache and helpers
163
164         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
165         adjust everywhere
166
167         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
168         (targetX, setTargetX): introduce
169
170         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
171         baseline -> ascent, as the rest of lyx
172
173         * lyxtext.h: remove redoParagraphs, updateParPositions,
174         fullRebreak, redoParagraphInternal. move dist to anon namespace in
175         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
176         have ascent/descent (ascent is ascent of first par)
177
178         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
179         step of BufferView
180
181         * paragraph.[Ch]: unify dimension handling with the rest of lyx
182
183         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
184
185         * pariterator.C: fix infinite loop introduced in par->pit renaming
186
187         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
188         in insets and LyXText, draw two off-screen paragraphs using
189         NullPainter, and adapt to new coord scheme
190
191         * text.C:
192         * text2.C:
193         * text3.C: adapt lfun handlers to the new coord scheme, which
194         means: there's only guaranteed coord information for onscreen pars
195         plus one above and one below. This implies that one can do search
196         from y coordinates in the range [-1,workHeight]
197
198 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
199
200         * rename a lot of InsetOld to InsetBase
201
202 2004-11-25  Angus Leeming  <leeming@lyx.org>
203
204         * BufferView_pimpl.C:
205         * lyx_cb.C:
206         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
207
208 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
211         call BufferView::getStatus if LCursor::getStatus did nothing
212         (setStatusMessage, getStatusMessage): removed.
213
214         * FuncStatus.C (message): new methods. Used to provide an error
215         message indicating why a command is disabled.
216         (clear, |=, FuncStatus): update for message.
217
218 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
219
220         * lyxfunc.C (dispatch): always call sendDispatchMessage
221
222 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * BufferView.C:
225         * BufferView_pimpl.C:
226         * CutAndPaste.C:
227         * FontIterator.C:
228         * buffer.C:
229         * cursor.C:
230         * cursor_slice.[Ch]:
231         * dociterator.[Ch]:
232         * lyxfind.C:
233         * paragraph_funcs.C:
234         * pariterator.C:
235         * rowpainter.C:
236         * text.C:
237         * text2.C:
238         * text3.C:
239         * undo.C: par->pit renaming
240
241 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
242
243         * tabular.C (cellstruct): use initialization, store a shared_ptr
244         to insettext instead of the insettext directly, adjust to fit.
245         (operator=):  new function
246         (swap): new function
247         (rowstruct): use initialization
248         (columnstruct): use initialization
249         (ltType): use initialization
250
251
252         * lyxlength.h (swap): new function
253
254         * LColor.[Ch] (operator=): use the common semantics
255
256 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
257
258         * lyxfind.C (findNextChange): update the bufferview after setting
259         the selection.
260
261 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
264         number of InsetOptArgs has already been inserted.
265
266         * output_latex.C (latexOptArgInsets): new method. This outputs all
267         the optarg insets, up to the limit defined in the layout file.
268         (optArgInset): removed
269         (TeXOnePar): call latexOptArgInsets; correctly update texrow
270
271 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
272
273         * paragraph.C (isLetter): remove special spellchecker-related
274         code; return true also for digits
275         (isWord, isKomma): remove
276
277         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
278         * lyxfind.C (MatchString()): use isLetter instead of isWord
279
280 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
281
282         * pariterator.h (operatir=): comment out un-implemented member
283         function.
284
285         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
286         static cast.
287
288 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
289
290         * lyxfont.h: include LColor.h to satisfy concept checks.
291
292 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
293
294         * pariterator.h: add typdefs for value_type, difference_type,
295         pointer and reference to satisfy concept checks. Also add default
296         constructor for same reason.
297
298         * pariterator.C (operator++): add post-increment operator to
299         satisfy concept checks.
300
301         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
302         checks.
303
304         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
305
306         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
307         checks. Also rename base_type to BaseType to follow naming
308         standard better.
309
310         * FloatList.h: include Floating.h to satisfy concept checks.
311
312 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * lyxfunc.C (getStatus): when the origin of the request is menu or
315         toolbar, and the LyXView does not have focus, do as if there was
316         no buffer (bug 1720)
317
318         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
319         FuncRequest to individual entries of LFUN_SEQUENCE
320
321 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * output_latex.C (TeXOnePar): override runparams.moving_arg
324         according to the needprotect value of the current paragraph (bug
325         1739)
326
327         * paragraph.C (simpleTeXOnePar): no need to override
328         runparams.moving_args here
329
330 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
331
332         * vspace.C: fix off-by-one-error, related to fix #1682
333
334 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
335
336         * lengthcommon.C: a more general fix for bug 1682
337
338 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
339
340         * text.C (backspace): fix crash
341
342 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
343
344         * format.[Ch] (getFormatFromFile): new method
345         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
346
347 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
348
349         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
350
351 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * lyxfunc.C (dispatch): remove the verbose argument
354         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
355         instead
356
357         * kbmap.C (defkey): set the origin of func to KEYBOARD
358
359         * MenuBackend.C (MenuItem):
360         * ToolbarBackend.C (add): set the origin of func to UI
361
362         * funcrequest.[Ch]: add origin member, which indicates which part
363         of LyX requests an action
364
365 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
366
367         * converter.C (move): don't lie in the error message
368         * converter.h (isReachable, move): document
369
370 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
371
372         * buffer.C: remove unused using lyx::support::atoi
373         * paragraph_funcs.C: ditto
374
375 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
376
377         * bufferlist.C (exists): use bind and equal_to instead of
378         compare_memfun
379         (getBuffer): ditto
380         * lyxtextclasslist.C (NumberOfClass): ditto
381
382         * cursor.C (insert): use for_each instead of explicit for loop
383
384         * bufferlist.C (getFileNames): use std::transform and
385         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
386
387         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
388         for loop
389
390         * buffer.C (changeLanguage): use for_each instead of explicit for
391         loop
392         (hasParWithID): implement using getParFromID
393
394         * LaTeXFeatures.C: ws change only
395
396         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
397         to cleanup a bit.
398
399         * BufferView_pimpl.C (trackChanges): use for_each instead of
400         expilicit for loop
401
402 2004-11-04  André Pönitz  <poenitz@gmx.net>
403
404         * undo.h:
405         * undo.C (textUndoOrRedo): fix crash when creating undo information.
406
407         * dociterator.C (asDocIterator): use hard assert again.
408
409 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * lyxlength.C (asLatexString): rewrite so that it does not use
412         snprintf anymore
413
414 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * text3.C (specialChar, dispatch): make sure cursor moves to the
417         right after inserting an inset
418
419 2004-11-02  José Matos  <jamatos@lyx.org>
420
421         * output_docbook.C (docbook):
422         * paragraph.C (getID):
423         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
424         garantee that the output is always legal.
425
426         * tabular.C (docbook):
427         * outputprams.[Ch]: remove mixed contents.
428
429 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
430
431         * text2.C (setCounter): prevent endless loop
432
433 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
434
435         * exporter.C (copyFile): use the mover instead of support::copy()
436         * exporter.C (Export): pass format and latex name to copyFile()
437         * exporter.h (addExternalFile): document
438         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
439
440 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
443
444 2004-10-30  José Matos  <jamatos@lyx.org>
445
446         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
447         text and no inset or font change. This allows to use CDATA
448         sections just for the whole paragraph.
449
450 2004-10-30  José Matos  <jamatos@lyx.org>
451
452         * paragraph.C (getFirstWord): remove unused variable.
453
454 2004-10-30  José Matos  <jamatos@lyx.org>
455
456         * paragraph.C (getFirstWord): the content should always be escaped
457         there.
458         (simpleDocBookOnePar):
459         * output_docbook.C (makeEnvironment): replace reference to CDATA
460         to style pass_thru.
461
462 2004-10-30  José Matos  <jamatos@lyx.org>
463
464         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
465
466 2004-10-30  José Matos  <jamatos@lyx.org>
467
468         * output_docbook.C (makeParagraphs):
469         * paragraph.[Ch] (emptyTag): for docbook and company, if the
470         standard paragraph has only a given type of content drop the wrapper.
471
472 2004-10-29  José Matos  <jamatos@lyx.org>
473
474         * output_docbook.C (makeEnvironment):
475         * sgml.C (openTag):
476         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
477
478 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
479
480         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
481         (cleanID): sanitize any id.
482
483 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
484
485         * buffer.C, lyxlex_pimpl.C:
486         * lyxlex_pimpl.C (setFile):
487         s/getExtFromContents/getFormatFromContents/
488
489 2004-10-28  José Matos  <jamatos@lyx.org>
490
491         * output_docbook.C (makeEnvironment): move id to broadest possible
492         scope.
493
494         * sgml.C (openTag): apply substitution of <> for all attributes.
495
496 2004-10-28  José Matos  <jamatos@lyx.org>
497
498         * buffer.C (makeLinuxDocFile, makeDocBookFile):
499         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
500         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
501
502         * sgml.[Ch]: new version for open and closeTag for paragraph and
503         for strings. Now they handle the ids of paragraphs.
504
505 2004-10-26  Angus Leeming  <leeming@lyx.org>
506
507         * Makefile.am: add mover.[Ch].
508
509         * converter.C (convert, move): use the new Movers to move external
510         files to the temp directory.
511
512         * lyx_main.C (init): ensure that the global system_movers data
513         is initialised.
514
515         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
516         preferences file.
517
518         * mover.[Ch]: new files, defining a Mover as a utility to move an
519         external file between directories and, if necessary, manipulate this
520         file using a helper script.
521
522 2004-10-25  José Matos  <jamatos@lyx.org>
523
524         * output_docbook.C (makeCommand): merge two if's that tested the
525         same condition.
526
527 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * sgml.C (escapeString): fix warning in a better way
530
531 2004-10-25  José Matos  <jamatos@lyx.org>
532
533         * sgml.C (escapeString): import the require boosts header file for
534         tie, and avoid a signed unsigned comparison.
535
536 2004-10-25  José Matos  <jamatos@lyx.org>
537
538         * sgml.h: add #include <string>
539
540 2004-10-25  José Matos  <jamatos@lyx.org>
541
542         * sgml.[Ch] (escapeString): new function to escape all the string.
543
544 2004-10-24  José Matos  <jamatos@lyx.org>
545
546         * paragraph.[Ch] (getFirstWord): new function to get the first
547         word. Useful for description.
548         (simpleDocBookOnePar): remove depth argument, add another that
549         says where to start the paragraph.
550
551         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
552         use the new functions to fix cleanly the support for descriptions.
553
554 2004-10-24  José Matos  <jamatos@lyx.org>
555
556         * buffer.C (makeLinuxDocFile, makeDocBookFile):
557         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
558         * output_linuxdoc.C (linuxdocParagraphs):
559         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
560         add buffer as argument.
561
562 2004-10-24  José Matos  <jamatos@lyx.org>
563
564         * output_docbook.C (makeEnvironment, searchEnvironment): place
565         CDATA inside paragraphs and fix scope for listitems.
566
567 2004-10-24  José Matos  <jamatos@lyx.org>
568
569         * output_docbook.C: remove using statement for stack.
570
571 2004-10-23  José Matos  <jamatos@lyx.org>
572
573         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
574         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
575         docbook. The new scheme is recursive and makes use of iterators, the
576         same as latex export works.
577         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
578         directly with the paragraph contents. This code was moved up to
579         output_docbook.C (docbookParagraphs).
580         * sgml.C (openTag, closeTag): removed unneeded newlines.
581         (closeEnvTags) removed.
582
583 2004-10-23  André Pönitz  <poenitz@gmx.net>
584
585         * undo.C (textUndoOrRedo):
586         * dociterator.C (asDocIterator): work around crash
587
588         * cursor.C (getStatus): replace ASSERT by more verbose error message
589           and manual correction of the problem. Should increase stability
590           while providing more sensible information.
591
592 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
595
596         * bufferlist.C (previous, next): new methods
597
598         * lfuns.h:
599         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
600
601 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
602
603         * buffer.C (makeDocBookFile): add dsssl stylesheet control
604         entities to preamble.
605
606 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
607
608         * messages.C (Pimpl): strip off translation context information
609
610 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
613         the cursor is correct (bug 1694)
614
615 2004-10-13  José Matos  <jamatos@lyx.org>
616
617         * output_docbook.C (docbookParagraphs): fix closing tags in the
618         end of the document.
619
620 2004-10-09  José Matos  <jamatos@lyx.org>
621
622         * buffer.C: format up to 237.
623         * bufferparams.C (write): use tostr to convert booleans to strings.
624
625 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
626
627         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
628
629 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
630
631         * LaTeX.C: implement use of babel language in xindy.
632
633 2004-10-05  José Matos  <jamatos@lyx.org>
634
635         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
636         Add new translators to help reading and writing the lyx file.
637
638 2004-10-05  José Matos  <jamatos@lyx.org>
639
640         * ParagraphParameters.C (read):
641         * text.C (readParToken): replace nexToken by more appropriate lex
642         methods.
643
644 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
645
646         * LaTeX.C (runMakeIndex):
647         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
648         (usually 'makeindex') configurable.
649
650         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
651         with a variable rather than with a number.
652
653 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
654
655         * output_latex.C (TeXOnePar): make sure font setting is the first
656         thing that gets output (and the last at the end). Should fix bug
657         1404.
658
659 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
660
661         * pch.h: use proper signal include
662
663         * LaTeX.h: Use preferred calling of Boost.Signal
664         * buffer.h: ditto
665
666 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * pch.h: dont include <boost/function/function0.hpp>
669
670         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
671
672         * paragraph_pimpl.h: remove usage of ShareContainer
673
674         * paragraph_pimpl.C: remove initialization of ShareContainer.
675
676 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         Fix bug #1666
679
680         * BufferView.C (putSelectionAt): change the semantics when
681         backwards == true: now, this just swaps cursor and anchor wrt the
682         forward case
683
684         * BufferView.h (putSelectionAt): add some documentation
685
686         * lyxfind.C (findBackwards): rewrite using while(). In particular,
687         make sure backwardChar is done at least once (to avoid getting
688         stuck)
689         (findNextChange): use putSelectionAt in the forward direction
690         (operator()): use Paragraph::isWord
691
692 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
693
694         * Spacing.C (set): c_str fix
695
696 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * lyx_cb.C (Reconfigure): quote the name of configure script in
699         case it contains spaces
700
701 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
702
703         * client: new dir
704
705         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
706         (BOOST_LIBS): use top_buildir when looking for the file
707
708 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
709
710         * pch.h: do not use include boost/format.hpp, multiple symbols
711                 will result (gcc bug)
712
713
714 2004-08-23  José Matos  <jamatos@lyx.org>
715
716         * bufferparams.C (readToken): fix reading of the author field.
717
718 2004-08-20  José Matos  <jamatos@lyx.org>
719
720         * lyxrc.C: remove support/translator.h inclusion since it is not used.
721
722 2004-08-20  José Matos  <jamatos@lyx.org>
723
724         * lyxlex.[Ch] (findToken): remove function.
725
726         * ParagraphParameters.C (findToken):
727         * bufferparams.C (findToken): replace call for previous function
728         with local copy. This local function has one more argument, the
729         read string argument.
730
731 2004-08-16  José Matos  <jamatos@lyx.org>
732
733         * ParagraphParameters.C (write):
734         * Spacing.C (writeFile):
735         * bufferparams.C (writeLaTeX):
736         * lyx_cb.C (Reconfigure):
737         * paragraph.C (write):
738         * tabular.C (write): remove unnecessary space at end of line.
739
740
741 2004-08-16  José Matos  <jamatos@lyx.org>
742
743         * text.C (readParagraph): remove debug message.
744
745 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
748         crash
749
750         * output_plaintext.C (asciiParagraph): set depth correctly
751
752         * outputparams.h: add member depth
753
754         * paragraph_funcs.C (ownerPar): remove.
755
756         * text2.C (setCounter): remove first_pit; comment out some
757         non-working code that uses ownerPar
758
759         * BufferView.C (getParentLanguage): remove. Not used anymore, and
760         uses ownerPar
761
762 2004-08-16  José Matos  <jamatos@lyx.org>
763
764         * text.C (readParToken, readParagraph, read): report all unknown tokens.
765         For the same level of importance use the same chanel to report problems.
766         (read): add code to deal with \begin_body and \end_body.
767
768
769 2004-08-15  José Matos  <jamatos@lyx.org>
770
771         * lyxlex.C (getString): fix comment, buffer::readBody is now
772         buffer:readDocument.
773
774         * tex-strings.C (string_papersize): Default -> default,
775         Custom -> custom, for consistency with other options.
776
777 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
778
779         * pch.h: new file
780
781         * Makefile.am: support pch
782
783 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
784
785         * text.C (readParToken): remove the static LyXFont variable and
786         pass it as a parameter instead. This fixes a nasty bug where an
787         inset will be inserted with a bad font in some situations
788         (readParagraph): adapt
789
790         * text2.C (setCounter): reduce number of calls to pars_[pit]
791
792         * text.C (singleWidth): add an assert, fix a test
793
794         * rowpainter.C (paintText): reduce number of calls to singleWidth
795
796         * paragraph.C (isHfill):
797         (isNewline): ws only
798
799 2004-08-14  André Pönitz  <poenitz@gmx.net>
800
801         * text.C:
802         * text2.C:
803         * rowpainter.C:
804         * lyxtext.h (several functions): use a Paragraph & argument
805         instead of par_type
806
807 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
808
809         * metricsinfo.h: add a new field ltr_pos to PainterInfo
810
811         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
812
813         * text.C (singleWidth): remove useless test
814
815 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
816
817         * tabular.h: remove bogus comments
818
819         * tabular.C (getDescentOfRow):
820         (isPartOfMultiColumn): add assertions
821
822         * lyxlength.C (inPixels): remove #warning
823
824 2004-08-14  André Pönitz  <poenitz@gmx.net>
825
826         * paragraph.h: inline getChar()
827
828         * BufferView.h: remove unused declarations
829
830 2004-08-14  José Matos  <jamatos@lyx.org>
831
832         * Buffer.[Ch] (readDocument): new name for old readBody.
833         * Buffer.C: new file format, new keywords: \begin_document,
834         \begin_header, \begin_body, \end_body.
835
836         * bufferparams.C (readToken): replace all calls to lex.nextToken
837         by lex.next(). Do the same to eatLine except where really needed.
838
839         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
840         line when writing to the lyx file.
841
842         * output_plaintext.C (asciiParagraph): fix Bibliography style
843         handling.
844
845         * text.C (read): fix end of file handling.
846
847 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
848
849         * MenuBackend.C (Menu::operator[]): new method to access
850         individual menu items
851         (Menu::hasFunc): new method. search for an item that corresponds
852         to a given func
853         (MenuBackend::specialMenu): new method
854         (MenuBackend::expand): if a special menu has been set, skip
855         entries whose func() appears in this menu
856
857 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
858
859         * text3.C: use Debug::DEBUG a bit more
860
861         * text.C (leftMargin): try to simplify a tiny bit change var x to
862         l_margin. Dont output the wide margins always.
863         (rightMargin): no margin in inner texts
864
865         * rowpainter.h (nestMargin): new func
866         (changebarMargin): new func
867         (rightMargin): new func
868
869         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
870         now functions.
871         (paintLast): ditto
872
873         * factory.C (createInset): modify setDrawFrame
874
875         * cursor.C: use Debug::DEBUG a bit more
876
877 2004-08-14  André Pönitz  <poenitz@gmx.net>
878
879         * coordcache.[Ch]:
880         * Makefile.am: new files to accomodate an 'external' (x,y)-position
881         cache for all insets in (at least partially) visible (top-level)
882         paragraphs.
883
884         * BufferView_pimpl.C: reset external coord cache before every update.
885         This means the coord cache only contains valid entries.
886
887 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
888
889         bug 1096
890         * BufferView_pimpl.C (getInsetByCode): move function out of class
891         and change in to a template in anon namespace. Also fix to do what
892         suits us better.
893
894 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
895
896         bug 1305
897         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
898         of char
899         (breakParagraph): rename par to par_offset and use a local
900         reference. Add code to keep the language over a rebreak.
901         (breakParagraphConservative): rename par to par_offset, use a
902         local reference
903         (mergeParagraph): ditto
904         (outerHook): ditto
905         (isFirstInSequence): ditto
906         (outerFont): rename pit to par_offset
907
908         * paragraph.C: ws change
909         * paragraph.h: ditto
910         * text3.C: ditto
911         * text.C: ditto
912
913 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
914
915         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
916         treatment for ']'
917
918         * paragraph.C (simpleTeXOnePar): when we have a \item with
919         optional argument, enclose the argument with curly brackets (in
920         case it contains a closing square bracket)
921
922         * text2.C (editXY):
923         * text2.C (editXY):
924         * text3.C (checkInsetHit): constify
925
926 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
929         documents (bug 1629)
930
931 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
932
933         Fix toggling of collapsable insets with the mouse (bug 1558)
934
935         * lyxfunc.C (dispatch): adapt to LCursor changes
936
937         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
938         make sure that dispatch is not invoked twice
939
940         * cursor.C (needsUpdate): new method
941         (dispatch): return void
942         (result): new method, to access the DispatchResult of the cursor.
943
944 2004-08-13  José Matos  <jamatos@lyx.org>
945
946         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
947
948 2004-08-13  André Pönitz  <poenitz@gmx.net>
949
950         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
951
952         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
953           multiple cells
954
955 2004-08-12  André Pönitz  <poenitz@gmx.net>
956
957         * text3.C: take out the 'cursor right' form insertInset and only
958         do it in those places when it is really needed. Fixes crash on
959         C-m...
960
961 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
962
963         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
964
965         * BufferView_pimpl.C (setBuffer): initialize the current font of
966         the underlying LyXText
967
968 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
969
970         * kbsequence.C (print): use UI native formatting for menu
971         shortcuts
972
973         * text.C (insertChar): call Paragraph::insertChar with a font
974         argument (cosmetic)
975
976         * paragraph.C (insertInset, insertChar): the version that takes a
977         LyXFont argument is now a wrapper around the other one (the
978         opposite used to be true).
979
980         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
981         argument. Font setting is done in Paragraph now.
982
983 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * outputparams.h: add new members intitle and lang.
986
987         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
988         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
989
990 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
991
992         * text3.C (dispatch): remove special handling of button 4 and 5,
993         it is now taken care of in the frontend code.
994
995 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
996
997         * Spacing.h: add <string> (STLPort compile fix)
998
999 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1000
1001         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1002
1003 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1004
1005         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1006         to bool.
1007
1008         * converter.C (showMessage): inherit from unary_function, make
1009         operator() const.
1010
1011         * buffer.C (writeFile): initialize retval
1012
1013         * InsetList.h: rename private variable list to list_
1014         * InsetList.[Ch]: adjust accordingly.
1015
1016 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1017
1018         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1019         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1020         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1021         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1022         * ParagraphParameters.C, LaTeXFeatures.C: replace
1023         "support/std_sstream.h" with <sstream>
1024
1025 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1026
1027         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1028         * lyxsocket.C (LyXServerSocket): ditto
1029         (serverCallback): ditto
1030
1031 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1032
1033         * LaTeXFeatures.C: check release date when loading jurabib.
1034
1035 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1036
1037         * lyxserver.C (startPipe): call register_socket_callback
1038         (endPipe): call unregister_socket_callback
1039
1040 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1041
1042         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1043         (LyXServerSocket): register the callback
1044         (LyXServerSocket): unregister the callback
1045         (fd): delete function
1046         (serverCallback): improve error checking and setup the callbacks.
1047         (dataCallback): change arg to fd.
1048         (writeln): new func (copied fro the client socket) used for server
1049         write to client.
1050         (LyXDataSocket): simplify
1051         (~LyXDataSocket): close ann unregiser callback
1052         (server): delete function
1053         (fd): delete function
1054         (readln): small changes, improve some std::string usage
1055         (writeln): constify a bit
1056
1057 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1058
1059         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1060         Qt frontend
1061
1062 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1065         after it has been populated
1066
1067 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1068
1069         * text2.C (insertInset): move cursor when inserting inset.
1070
1071 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1072
1073         * kbmap.C (findbindings): a couple of new methods. returns a
1074         container of kb_sequence objects. The real work is done by the
1075         private recursive version
1076         (printbindings): uses findbindings to print out a bracketed list
1077         of bindings (renamed from findbinding).
1078
1079         * MenuBackend.C (binding): use kb_keymap::findbindings
1080
1081         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1082
1083 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1084
1085         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1086
1087 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1088
1089         * paragraph.C (isWord): return true on insets that report
1090         isLetter().
1091
1092         * text.C (getWord): use Paragraph::isWord to decide what is in a
1093         word and what is not; fix bug 1609.
1094
1095 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1096
1097         * tex-strings.C: add "none" to string_paperpackages[], fixes
1098         off-by-one-error in the paperpackage selection.
1099
1100         * lyxlex.[Ch]:
1101         * tex-strings.[Ch]: char const * string[n]
1102         -> char const * const string[]
1103
1104 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1105
1106         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1107         command, return early.
1108
1109 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1110
1111         * debug.h: add DEBUG to enum and fix size of ANY.
1112
1113         * debug.C: add support for Debug::DEBUG
1114         (showTags): cast errorTags.level to unsigned int
1115
1116         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1117         (redoCurrentBuffer): ditto
1118         (updateScrollbar): ditto
1119         * cursor.C (dispatch): ditto
1120         * text2.C (setLayout): ditto
1121         (setFont): ditto
1122         (updateCounters): ditto
1123         (editXY): ditto
1124         (deleteEmptyParagraphMechanism): ditto
1125
1126 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1127
1128         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1129         annotations to cleanup the Makefile slightly.
1130
1131 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * lyxrc.C: do not set user_email to a default value but use empty
1134         instead. The entry used to be translated, which does not work
1135         since at the point where lyxrc is constructed there is no
1136         translation service available
1137
1138         * messages.C (getLocaleDir): remove and use directly
1139         lyx_localedir() instead
1140
1141 2004-06-02  Angus Leeming  <leeming@lyx.org>
1142
1143         Fix crash caused by dereferencing null pointer 'exportdata' in
1144         OutputParams by creating a new ExportData variable on the heap,
1145         storing it in a boost::shared_ptr.
1146         The crash was triggered when generating an Instant Preview
1147         of an external inset.
1148
1149         * Makefile.am: add outputparams.C
1150
1151         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1152         (c-tor): allocate memory to it.
1153
1154         * exporter.C (c-tor): associated changes.
1155
1156 2004-06-01  Angus Leeming  <leeming@lyx.org>
1157
1158         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1159         contains data before calling isInset(0). (Bug 1513.)
1160
1161 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1162
1163         * exporter.C (checkOverwrite): new method
1164         * exporter.C (copyFile): new method
1165         * exporter.C (Export): copy referenced files to the document dir
1166         * exporter.[Ch]: new class ExportedFile
1167         * exporter.[Ch]: new class ExportData. Contains currently the
1168         names of referenced external files
1169         * outputparams.h: add exportdata member.
1170
1171 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1172
1173         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1174         version.C-tmp
1175
1176 2004-05-19  Angus Leeming  <leeming@lyx.org>
1177
1178         * LaTeXFeatures.C:
1179         * ToolbarBackend.C:
1180         * bufferparams.C:
1181         * lyxfunc.C: small changes due to the introduction of namespace
1182         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1183
1184 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1185
1186         * text3.C (dispatch): supress update when only moving the cursor
1187         * cursor.C (selHandle): remove commented code
1188
1189 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1190
1191         * paragraph.C (startTeXParParams): correct column count
1192         * CutAndPaste.C (pasteSelection): remove const_cast
1193         * output_docbook.C (docbookParagraphs): remove const_cast
1194         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1195         const_cast and return ParagraphList::const_iterator
1196         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1197         * output_plaintext.C (writeFileAscii): remove const_cast
1198         * paragraph.[Ch] (simpleTeXOnePar): make const
1199         * paragraph_funcs.C (outerPar): use const iterators
1200         * paragraph_pimpl.C (validate): use const iterators
1201         * text.C (setHeightOfRow): use const iterators
1202
1203 2004-05-17  Angus Leeming  <leeming@lyx.org>
1204
1205         * lfuns.h:
1206         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1207
1208         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1209         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1210         if the citation engine has changed.
1211
1212 2004-05-14  José Matos  <jamatos@lyx.org>
1213
1214         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1215         if the textclass does not provide it. Have it different for sgml and
1216         xml.
1217         support the language of document.
1218         * output_docbook.C (docbookParagraphs):
1219         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1220         first anchor as the id of the paragraph, remove special case code.
1221         * sgml.C (escapeChar): escape only < & >.
1222
1223 2004-05-14  Angus Leeming  <leeming@lyx.org>
1224
1225         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1226         dependencies on src/frontends/controllers/biblio.h. Define a
1227         CiteEngine_enum wrapper class to enable the enum to be forward
1228         declared.
1229
1230 2004-05-12  Angus Leeming  <leeming@lyx.org>
1231
1232         * buffer.C: up LYX_FORMAT to 234.
1233         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1234         use_numerical_citations with a single biblio::CiteEngine cite_engine
1235         variable.
1236         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1237
1238 2004-05-13  José Matos  <jamatos@lyx.org>
1239
1240         * converter.h:
1241         * converter.C (Converter, readFlags): add xml member.
1242         * outputparams.h: add XML flavor.
1243         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1244
1245 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1246
1247         * lyxfunc.C (dispatch):
1248         (getStatus): fix handling of LFUN_SEQUENCE
1249
1250 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1251
1252         * debug.C (showLevel): do not forget the end-of-line marker
1253
1254 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1255
1256         * kbmap.C (read): do not stop parsing a bind file when an error
1257         occurs (bug 1575)
1258
1259 2004-04-29  Angus Leeming  <leeming@lyx.org>
1260
1261         * cursor.C:
1262         * factory.C:
1263         * pariterator.C:
1264         * text2.C: wrap a bunch of #warning statements
1265         inside #ifdef WITH_WARNINGS blocks.
1266
1267 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1268
1269         * buffer.C: increment format to 233.
1270
1271 2004-04-28  Angus Leeming  <leeming@lyx.org>
1272
1273         * BufferView_pimpl.C:
1274         * lyxfunc.C:
1275         * text3.C:
1276         s/updateToolbar()/updateToolbars()/
1277         s/Toolbar.h/Toolbars.h/
1278
1279 2004-04-28  Angus Leeming  <leeming@lyx.org>
1280
1281         * BufferView.[Ch] (c-tor):
1282         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1283         No longer passes these data to the WorkArea generator.
1284
1285 2004-04-28  Angus Leeming  <leeming@lyx.org>
1286
1287         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1288
1289 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1290
1291         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1292
1293 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * output_latex.C (TeXEnvironment): make sure that there is a line
1296         break before \end{foo} for the last paragraph of a document
1297         (TeXOnePar): if the paragraph is at the end of the document (or
1298         inset) and the language has to be reset, then make sure that the
1299         line break is _before_ the language command, not after (fixes bug
1300         1225); also make sure that the language reset command is the first
1301         thing after the paragraph (to ensure proper nesting of
1302         environments and thus fix bug 1404)
1303
1304 2004-04-21  John Levon  <levon@movementarian.org>
1305
1306         * ToolbarBackend.h:
1307         * ToolbarBackend.C: make "name" be a programmatic name
1308         and a gui_name field.
1309
1310         * lyxfunc.C: display the minibuffer on M-x
1311
1312 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1315         (bug 1526)
1316
1317 2004-04-19  Angus Leeming  <leeming@lyx.org>
1318
1319         * BufferView_pimpl.C (setBuffer): changed preview interface.
1320
1321         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1322         possible values.
1323
1324 2004-04-19  John Levon  <levon@movementarian.org>
1325
1326         * BufferView_pimpl.C:
1327         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1328
1329 2004-04-05  Angus Leeming  <leeming@lyx.org>
1330
1331         * text.C (redoParagraphs): add call to updateCounters(), thereby
1332         fixing the missing "Figure #:" label from the caption of a
1333         figure float.
1334
1335 2004-04-13  Angus Leeming  <leeming@lyx.org>
1336
1337         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1338         cursor is clicked out of an inset.
1339
1340 2004-04-13  Angus Leeming  <leeming@lyx.org>
1341
1342         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1343         than an InsetOld one.
1344
1345 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1346
1347         * format.[Ch]: add editor to Format
1348         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1349         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1350
1351 2004-04-08  André Pönitz  <poenitz@gmx.net>
1352
1353         * metricsinfo.h: remove PainterInfo::width member
1354
1355 2004-04-08  Angus Leeming  <leeming@lyx.org>
1356
1357         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1358         "\providecommand" rather than "\newcommand", thereby preventing
1359         clashes with packages that define "\boldsymbol" themselves.
1360         Eg, beamer.
1361
1362 2004-04-08  Angus Leeming  <leeming@lyx.org>
1363
1364         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1365         thereby squashing an unnecessary warning.
1366
1367 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1368
1369         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1370         setBuffer()
1371
1372 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * BufferView.C (setCursor): call redoParagraph (some insets could
1375         have been opened)
1376         (putSelectionAt): remove the 'double update' trick
1377
1378         * BufferView_pimpl.C (fitCursor): call refreshPar
1379         (workAreaDispatch): remove an uneeded update call
1380         (dispatch): remove some manual update calls
1381
1382         * cursor.[Ch]: remove cached_y_, updatePos
1383         (selHandle): set noUpdate when appropriate
1384
1385         * lyxfunc.C (dispatch): track if we need an update
1386
1387         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1388
1389         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1390         (paintSelection): cheap optimization, do not call cursorX when not
1391         needed
1392         (paintPars): change signature
1393         (refreshPar): add
1394         (paintText): adjust
1395         (paintTextInset): adjust
1396
1397         * text.C: adjust
1398
1399 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * lengthcommon.C: compilation fix: remove explicit array size from
1402         unit_name[] and friends
1403
1404 2004-04-05  Angus Leeming  <leeming@lyx.org>
1405
1406         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1407
1408         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1409         present only for the preferences dialog.
1410         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1411
1412 2004-04-05  Angus Leeming  <leeming@lyx.org>
1413
1414         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1415         to enable the frontends to export changes to lyxrc correctly.
1416
1417         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1418
1419 2004-04-07  André Pönitz  <poenitz@gmx.net>
1420
1421         * cursor.[Ch] (selClear, adjust): remove math
1422
1423         * cursor_slice.C: more agressive assert
1424
1425         * lyxfunc.C:
1426         * BufferView_pimpl.C: rework mouse event dispatch
1427
1428         * dociterator.C:
1429         * paragraph.C:
1430         * text2.C:
1431         * text3.C: adjust
1432
1433 2004-04-05  André Pönitz  <poenitz@gmx.net>
1434
1435         * cursor.[Ch] (valign, halign...): remove unneeded functions
1436
1437 2004-04-05  Angus Leeming  <leeming@lyx.org>
1438
1439         * lyxlength.[Ch] (unit_name et al.): const-correct.
1440
1441 2004-04-05  Angus Leeming  <leeming@lyx.org>
1442
1443         * BufferView_pimpl.C:
1444         * buffer.C:
1445         * counters.C:
1446         * cursor.C:
1447         * lyxfunc.C
1448         * paragraph.C:
1449         * pariterator.C:
1450         * text.C:
1451         * text2.C:
1452         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1453
1454 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1455
1456         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1457
1458 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1461         * BufferView_pimpl.[Ch] (getStatus)
1462         * BufferView.[Ch] (getStatus): add
1463         * lyxfunc.C (getStatus): move lfuns handled in
1464         BufferView::dispatch to te function above
1465         * Cursor.C (setSelection): set selection() = true
1466
1467 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1468
1469         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1470
1471 2004-03-31  Angus Leeming  <leeming@lyx.org>
1472
1473         * lyxfunc.C (dispatch): Fall through to the generic
1474         Dialogs::show("preamble").
1475
1476 2004-03-31  Angus Leeming  <leeming@lyx.org>
1477
1478         * lyxfunc.C (dispatch): Fall through to the generic
1479         Dialogs::show("spellchecker").
1480
1481 2004-03-31  Angus Leeming  <leeming@lyx.org>
1482
1483         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1484         preferences dialog.
1485
1486 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1487
1488         * BufferView.C
1489         * cursor.[Ch]
1490         * dociterator.[Ch]:
1491         * insetiterator.[Ch]:
1492         * lyxfind.C:
1493         * lyxfunc.C:
1494         * pariterator.[Ch]:
1495         * text2.C:
1496         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1497
1498 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1499
1500         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1501         insets where we are putting the cursor.
1502
1503 2004-03-31  Angus Leeming  <leeming@lyx.org>
1504
1505         * lfuns.h:
1506         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1507
1508         * lyxrc.[Ch] (read, write): overloaded member functions taking
1509         a std::[io]stream arguments.
1510
1511         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1512
1513 2004-03-31  Angus Leeming  <leeming@lyx.org>
1514
1515         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1516         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1517
1518         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1519         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1520
1521 2004-03-31  Angus Leeming  <leeming@lyx.org>
1522
1523         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1524         the LFUN_ALL_INSETS_TOGGLE code.
1525
1526 2004-03-30  Angus Leeming  <leeming@lyx.org>
1527
1528         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1529         has died. Fall through to the generic Dialogs::show("document").
1530
1531 2004-03-30  Angus Leeming  <leeming@lyx.org>
1532
1533         * lfuns.h:
1534         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1535         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1536
1537         * lyxfunc.C (getStatus, dispatch): define the actions for these
1538         lfuns. Little more than a cut and pste job from ControlDocument.C
1539
1540         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1541
1542 2004-03-30  Angus Leeming  <leeming@lyx.org>
1543
1544         * lfuns.h:
1545         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1546         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1547
1548         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1549         open/closed state of ollapsable insets. Usage:
1550
1551         all-inset-toggle <state> <name>, where
1552         <state> == "open" || "closed" || "toggle" and
1553         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1554
1555         * lyxtext.h, text2.C (toggleInset): removed.
1556
1557         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1558         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1559         now passes LFUN_INSET_TOGGLE to the found inset.
1560
1561         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1562         is now invoked as "all-insets-toggle toggle branch".
1563
1564 2004-03-30  Angus Leeming  <leeming@lyx.org>
1565
1566         * dociterator.C:
1567         * insetiterator.C:
1568         * pariterator.[Ch]: added/corrected header blurb.
1569
1570 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1571
1572         * dociterator.[Ch]: add an inset_ member
1573         (backwardPos): implemented
1574         (backwardPos, forwardPos): use inset_ when the stack is empty.
1575         (doc_iterator_begin, doc_iterator_end): implemented
1576         * pariterator.[Ch]: adjust, add begin, end
1577         * insetiterator.[Ch]: adjust, add begin, end
1578         * cursor.C:
1579         * document.C:
1580         * BufferView.C:
1581         * BufferView_pimpl.C:
1582         * CutAndPaste.C: adjust
1583
1584 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1585
1586         * buffer.C: increment file format to 232.
1587         * LaTeXFeatures.C: add bibtopic package.
1588         * bufferparams.[Ch]: param \use_bibtopic.
1589
1590         * lyxrc.[Ch]: add lyxrc bibtex_command
1591         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1592
1593         * buffer.C: increment file format to 231.
1594
1595 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1596
1597         * dociterator.C: implement forwardPar
1598         * iterators.[Ch]: remove, replaced by
1599         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1600         * BufferView.C:
1601         * BufferView_pimpl.C:
1602         * CutAndPaste.C:
1603         * buffer.C:
1604         * bufferview_funcs.C:
1605         * cursor.C:
1606         * lyxfind.C
1607         * lyxfunc.C
1608         * paragraph_funcs.C
1609         * toc.C:
1610         * Makefile.am: adjust
1611
1612 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1613
1614         * CutAndPaste.C (pasteSelection): fix 2 crashes
1615         (eraseSelection): fix a crash
1616         * paragraph_funcs.C: remove a warning
1617
1618 2004-03-28  Angus Leeming  <leeming@lyx.org>
1619
1620         * lfuns.h:
1621         * LyXAction.C (init): new LFUN_PRINT.
1622
1623         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1624
1625 2004-03-27  Angus Leeming  <leeming@lyx.org>
1626
1627         * lfuns.h:
1628         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1629
1630         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1631
1632 2004-03-27  Angus Leeming  <leeming@lyx.org>
1633
1634         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1635         insetlist always contains non-null pointers to insets.
1636
1637 2004-03-26  Angus Leeming  <leeming@lyx.org>
1638
1639         * src/BufferView_pimpl.C:
1640         * src/CutAndPaste.C:
1641         * src/buffer.C:
1642         * src/iterators.C:
1643         * src/output_plaintext.C:
1644         * src/outputparams.h:
1645         * src/paragraph_funcs.C:
1646         * src/rowpainter.C:
1647         * src/text.C:
1648         * src/text2.C:
1649         * src/frontends/controllers/ControlErrorList.C:
1650         * src/frontends/gtk/FileDialogPrivate.C:
1651         * src/frontends/gtk/GPainter.C:
1652         * src/frontends/gtk/GToolbar.C:
1653         * src/frontends/qt2/QRef.C:
1654         * src/mathed/math_scriptinset.C: squash compiler warnings.
1655
1656 2004-03-26  Angus Leeming  <leeming@lyx.org>
1657
1658         * ispell.C (LaunchIspell::start):
1659         * lyx_cb.C (AutoSaveBuffer::start):
1660         invoke run(DontWait) rather than runNonBlocking().
1661
1662 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1663
1664         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1665
1666 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * kbsequence.C (print): adjust
1669
1670         * kbmap.C (printKeySym): rename and change signature
1671         (printKey): use LyXKeySym::print()
1672
1673 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1674
1675         * undo.C: add using std::advance to compile for stlport
1676
1677 2004-03-24  Angus Leeming  <leeming@lyx.org>
1678
1679         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1680         it leads to a crash when no buffer is present.
1681
1682 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1683             Martin Vermeer  <martin.vermeer@hut.fi>
1684
1685         * lyxfunc.C (dispatch):
1686         * bufferparams.C (readToken): use the new LColor::setColor
1687
1688         * LColor.[Ch] (setColor): new version that takes two strings as
1689         argument and creates a new color entry if necessary
1690
1691 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1692
1693         * buffer.C (makeLaTeXFile): if the main latex file that is
1694         processed is usually a subdocument of some master, then pretend
1695         for a while that it is actually the master
1696
1697 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1698
1699         * buffer.C (getLabelList):
1700         (getBibkeyList): use getMasterBuffer()
1701         (getMasterBuffer): new method. Returns the main document in the
1702         case where one is using included documents.
1703
1704 2004-03-25  André Pönitz  <poenitz@gmx.net>
1705
1706         * Makefile.am:
1707         * iterators.[Ch]:
1708         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1709
1710         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1711
1712         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1713         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1714
1715         * ParameterStruct.h: merge with ParagraphParameters
1716
1717         * lyxtext.h: remove LyXText::parOffset() and getPar()
1718
1719         * text3.C: Remove all 'manual' update calls. We do now one per user
1720         interaction which is completely sufficient.
1721
1722         * Bidi.C:
1723         * BufferView.[Ch]:
1724         * BufferView_pimpl.C:
1725         * FontIterator.[Ch]:
1726         * MenuBackend.C:
1727         * ParagraphParameters.[Ch]:
1728         * buffer.C:
1729         * buffer.h:
1730         * bufferlist.C:
1731         * cursor.[Ch]:
1732         * cursor_slice.[Ch]:
1733         * dociterator.[Ch]:
1734         * errorlist.[Ch]:
1735         * factory.C:
1736         * lfuns.h:
1737         * lyxfind.C:
1738         * lyxfunc.C:
1739         * output_docbook.[Ch]:
1740         * output_latex.[Ch]:
1741         * output_linuxdoc.[Ch]:
1742         * output_plaintext.[Ch]:
1743         * paragraph.[Ch]:
1744         * paragraph_funcs.[Ch]:
1745         * paragraph_pimpl.[Ch]:
1746         * rowpainter.C:
1747         * tabular.[Ch]:
1748         * text.C:
1749         * text2.C:
1750         * toc.C:
1751         * undo.[Ch]: adjust
1752
1753         * frontends/controllers/ControlDocument.C:
1754         * frontends/controllers/ControlErrorList.C:
1755         * frontends/controllers/ControlSpellchecker.C:
1756         * insets/inset.C:
1757         * insets/inset.h:
1758         * insets/insetbase.h:
1759         * insets/insetbibitem.C:
1760         * insets/insetbox.C:
1761         * insets/insetbranch.C:
1762         * insets/insetcaption.C:
1763         * insets/insetcharstyle.C:
1764         * insets/insetcharstyle.h:
1765         * insets/insetcollapsable.C:
1766         * insets/insetcollapsable.h:
1767         * insets/insetert.C:
1768         * insets/insetfloat.C:
1769         * insets/insetfoot.C:
1770         * insets/insetmarginal.C:
1771         * insets/insetnote.C:
1772         * insets/insetoptarg.C:
1773         * insets/insettabular.C:
1774         * insets/insettext.C:
1775         * insets/insettext.h:
1776         * insets/insetwrap.C:
1777         * mathed/math_mboxinset.C:
1778         * mathed/math_nestinset.C:
1779         * mathed/math_scriptinset.C:
1780         * mathed/math_scriptinset.h:
1781         * support/types.h:
1782
1783 2004-03-24  Angus Leeming  <leeming@lyx.org>
1784
1785         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1786         deal with any child processes that have finished but are waiting to
1787         communicate this fact to the rest of LyX.
1788
1789 2004-03-24  Angus Leeming  <leeming@lyx.org>
1790
1791         64-bit compile fixes.
1792
1793         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1794         (c-tor): pass lyx::pos_types rather than ints.
1795
1796         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1797         lyx::pos_type.
1798
1799         * text.C (Delete): compile fix.
1800         (getPar): ensure that function declaration is the same as that in
1801         the header file.
1802
1803 2004-03-23  Angus Leeming  <leeming@lyx.org>
1804
1805         * ispell.C (LaunchIspell):
1806         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1807         a boost::shred_ptr rather than a std::auto_ptr.
1808
1809 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1810
1811         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1812         handle LFUN_FILE_INSERT_*
1813
1814         * lyxrc.C (setDefaults, getDescription, output, read):
1815         * lyxrc.h: remove ps_command
1816
1817 2004-03-22  Angus Leeming  <leeming@lyx.org>
1818
1819         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1820         Ensure that error_handler is processed once only and that all data
1821         is saved before attempting to output any warning messages.
1822
1823         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1824
1825 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1826
1827         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1828
1829 2004-03-19  André Pönitz  <poenitz@gmx.net>
1830
1831         * cursor.[Ch] (reset): take main text inset as argument
1832
1833         * BufferView: adjust
1834         * BufferView_pimpl.C: adjust
1835
1836         * paragraph.[Ch]: fix completely broken operator=()
1837
1838 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1839
1840         * LColor.C (getFromLyXName): make sure that the color name is used
1841         as lowercase.
1842
1843 2004-03-17  Angus Leeming  <leeming@lyx.org>
1844
1845         * lfuns.h:
1846         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1847
1848         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1849         dialog and to kill a forked process.
1850
1851 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1852
1853         * text2.C (setCursorFromCoordinates): fix font problem
1854
1855 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1858         bogus "rebuild cursor" code
1859
1860 2004-03-11  André Pönitz  <poenitz@gmx.net>
1861
1862         * buffer.[Ch]: use InsetText instead of LyXText as container for
1863         the main lyx text.
1864
1865         * dociterator.[Ch]: drop the BufferView * member which is not needed
1866         anymore after the change to buffer.C
1867
1868         * paragraph_funcs.C:
1869         * text.C:
1870         * text2.C:
1871         * BufferView.[Ch]:
1872         * BufferView_pimpl.[Ch]:
1873         * cursor.[Ch]:
1874         * cursor_slice.[Ch]: adjust
1875
1876         * text3.C: fix bug in mathDispatch
1877
1878 2004-03-08  André Pönitz  <poenitz@gmx.net>
1879
1880         * undo.[Ch]: use 'StableDocumentIterator' as base for
1881         the Undo struct.
1882
1883 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1884
1885         * LaTeXFeatures.C:
1886         * bufferparams.[Ch]: add jurabib support and param.
1887
1888         * LaTeX.C: add FIXME/comment.
1889
1890 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1891
1892         * buffer.C: increment file format to 230.
1893
1894 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1895
1896         * cursor.C (dispatch): avoid infinite loops
1897
1898 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * rowpainter.C (paintSelection): fix x coordinates
1901
1902 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1903
1904         * text.C (rowBreakPoint): fix breaking before displayed insets
1905
1906 2004-03-01  André Pönitz  <poenitz@gmx.net>
1907
1908         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1909
1910         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1911
1912         * Makefile.am:
1913         * BufferView.C:
1914         * BufferView_pimpl.C:
1915         * buffer.C:
1916         * lyxfind.C:
1917         * lyxfunc.C:
1918         * text.C:
1919         * text2.C:
1920         * text3.C: adjust
1921
1922 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * lyxtext.h:
1925         * text.C:
1926         * text2.C:
1927         * rowpainter.C:
1928         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1929         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1930
1931 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1932
1933         * Bidi.[Ch] (computeTables): const correctness
1934         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1935         fill_hfill, fill_label_hfill and x from Row
1936         * lyxtext.h: prepareToPrint returns a RowMetrics
1937         * rowPainter.C: adjust
1938         * text.C (prepareToPrint): use width, not textWidth. adjust
1939         (redoParagraphInternal, cursorX): adjust
1940         * text2.C (getColumnNearX): adjust
1941         (init): put a default value to the top LyXText::width
1942
1943 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1944
1945         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1946
1947 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1948
1949         * lyxtext.h: add FontIterator class
1950
1951         * text.C (FontIterator, operator*, operator->, operator++): add
1952         (rowBreakPoint, setRowWidth): adjust (fixing a
1953         rebreaking bug)
1954
1955 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * BufferView_pimpl.C (workAreaDispatch): allow also
1958         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1959
1960 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1961
1962         * text.C (rowBreakPoint): fix a bug showing with very large insets
1963
1964 2004-02-25  André Pönitz  <poenitz@gmx.net>
1965
1966         * text3.C:
1967         * cursor.[Ch]: move some mathed specific code to mathed
1968
1969 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1970
1971         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1972         use_tempdir in preferences
1973         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1974         tempfile creation
1975         * lyx_main.C: ensure that tempdir is valid
1976         * lyxlex.h: correct typo
1977         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1978         * paragraph.[Ch] (isMultiLingual): make const
1979         * cursor.[Ch] (openable): make const
1980
1981 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1982
1983         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1984
1985 2004-02-20  André Pönitz  <poenitz@gmx.net>
1986
1987         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1988
1989         * cursor.[Ch]: prepare for localized getStatus()
1990
1991         * lyxtext.h:
1992         * tabular.C:
1993         * text.C:
1994         * text2.C:
1995         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1996
1997 2004-02-20  André Pönitz  <poenitz@gmx.net>
1998
1999         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2000
2001 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * text2.C (setCursorFromCoordinates): switch to absolute coords
2004         (cursorUp): adjust
2005         (cursorDown): adjust
2006         * text3.C (dispatch): adjust
2007
2008 2004-02-16  André Pönitz  <poenitz@gmx.net>
2009
2010         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2011           insets/ChangeLog)
2012
2013         * cursor_slice.[Ch]: remove unneeded acessor function
2014
2015         * lyxtext.h: rename rtl() to isRTL()
2016
2017         * rowpainter.C:
2018         * tabular.C:
2019         * text.C:
2020         * text2.C:
2021         * text3.C: adjust
2022
2023 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * rowpainter.C (paintSelection): coord fix
2026
2027 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2028
2029         * Spacing.C: compile fix
2030
2031 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2032
2033         * cursor.C (dispatch): restore current_ before returning
2034
2035 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2036
2037         * text2.C (cursorUp, cursorDown): fix coords
2038         (moveUp): fix crash
2039
2040 2004-02-12  André Pönitz  <poenitz@gmx.net>
2041
2042         * lyxtext.h:
2043         * text.C:
2044         * text2.C:
2045         * text3.C: add LCursor & parameter to most cursor movement functions
2046           remove usage of LyXText::cursorRow() and cursorPar()
2047
2048         * cursor.[Ch]: add textRow() needed members
2049
2050         * BufferView.C:
2051         * BufferView_pimpl.C:
2052         * paragraph.[Ch]:
2053         * BufferView.C:
2054         * BufferView_pimpl.C: adjust
2055
2056 2004-02-11  André Pönitz  <poenitz@gmx.net>
2057
2058         * lyxfunc.C:
2059         * BufferView.[Ch]:
2060         * BufferView_pimpl.C: shift undo/redo handling
2061
2062         * cursor.[Ch]: fix mathed crash
2063
2064         * lyxfind.C:
2065         * lyxtext.h: move selectionAsText to LCursor
2066
2067         * output_latex.C:
2068         * paragraph.C:
2069         * text.C:
2070         * text2.C:
2071         * text3.C: adjust
2072
2073         * rowpainter.C: fix excessive drawing
2074
2075 2004-02-06  André Pönitz  <poenitz@gmx.net>
2076
2077         * BufferView.[Ch]:
2078         * BufferView_pimpl.[Ch]:
2079         * text3.C: move some text specific LFUN handling
2080
2081 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * text3.C (checkInsetHit): adjust coords
2084         * text2.C (getColumnNearX): adjust coords
2085         (edit): adjust coords
2086         * text.C (getRowNearY): add two asserts
2087
2088 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2089
2090         * converter.C:
2091         * format.C: add using std::distance to compile on gcc 2.95/stlport
2092
2093 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2094
2095         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2096
2097 2004-02-04  André Pönitz  <poenitz@gmx.net>
2098
2099         * BufferView.[Ch] (insertInset):
2100         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2101
2102         * text2.C:
2103         * text3.C: adjust
2104
2105 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2106
2107         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2108         on the default clause of the switch
2109         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2110         wasn't catched by LCursor::dispatch
2111
2112 2004-02-03  André Pönitz  <poenitz@gmx.net>
2113
2114         * BufferView.C:
2115         * cursor.[Ch]: some additional asserts
2116
2117         * undo.[Ch]: remove LyXText dependency in interface
2118
2119         * lyxfunc.C: adjust
2120
2121         * lyxtext.h (firstPar, lastPar): remove dead functions
2122
2123         * text.C:
2124         * text2.C:
2125         * text3.C:
2126         * paragraph.[Ch]: adjust
2127
2128 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2129
2130         * lyxfind.C (find): fix argument order in call to ::find
2131
2132 2004-02-02  André Pönitz  <poenitz@gmx.net>
2133
2134         * cursor.[Ch]: remove direct access to anchor
2135
2136         * text.C: remove findText() hack
2137
2138 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2139
2140         * iterators.[Ch] (lockPath): remove in favour of...
2141         * BufferView.[Ch] (setCursor): this addition
2142         * BufferView.C (putSelectionAt): adjust
2143         * undo.C (performUndoOrRedo): adjust
2144         * lyxfunc.C (dispatch): adjust
2145
2146 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2147
2148         * iterators.C (lockPath): add a missing slice
2149         * undo.C (performUndoOrRedo): remove redundant positioning code
2150
2151 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2152
2153         * vc-backend.C (scanMaster): ";" -> ';'
2154
2155 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2156
2157         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2158         std::binary_function
2159
2160         * lyxtextclass.C (compare_name): rename to...
2161         (LayoutNamesEqual): ...this
2162
2163         * lyxlex_pimpl.C (compare_tags): inherit from
2164         std::binary_function, put back into anon namespace
2165
2166         * lyxfind.C (MatchString): inherig from std::binary_function
2167         (findChange): use empty() istead of !size()
2168
2169         * format.C (FormatNamesEqual): new functor
2170         (getFormat): use it
2171         (getNumber): use it
2172         (add): use it
2173         (erase): use it
2174         (setViewer): use it
2175
2176         * converter.C (compare_Converter): rename to...
2177         (ConverterEqual): ...this, and fixup a bit.
2178         (getConverter): use it, and make function const
2179         (getNumber): use it, and make function const
2180         (add): use it
2181         (erase): use it:
2182
2183         * bufferlist.C: add using boost::bind
2184
2185         * MenuBackend.C (MenuNamesEqual): new functor
2186         (hasMenu): use it, and make function const
2187         (hasSubmenu): use nested bind to get rid of compare_memfun.
2188
2189 2004-01-30  André Pönitz  <poenitz@gmx.net>
2190
2191         * BufferView_pimpl.C:
2192         * cursor.C:
2193         * cursor.h:
2194         * cursor_slice.[Ch]:
2195         * lyxfunc.C:
2196         * lyxtext.h:
2197         * paragraph_funcs.C:
2198         * paragraph_funcs.h:
2199         * rowpainter.C:
2200         * text.C:
2201         * text2.C:
2202         * text3.C: move some of the edit(x,y) handling to the insets
2203         some coordinate changes.
2204
2205 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2206
2207         * text.C: add using statements for std::advance and std::distance
2208
2209         * paragraph.C: add using statement for std::distance
2210
2211         * lyxfind.C: add using statement for std::advance
2212
2213         * cursor.C (region): remove std:: from swap
2214         (openable): use nucleus in stead of operator->
2215
2216         * BufferView.C: add using statements for std::distance and std::swap
2217
2218 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2219
2220         * iterators.C: Remove the pimple, move the needed structures to
2221         the header file. Create accessor for the positions stack.
2222         (asPosIterator): remove function
2223
2224         * PosIterator.C (PosIterator): move constructors to top of file
2225         (PosIterator): reimplement the constructor taking a ParIterator in
2226         terms of setFrom.
2227         (setFrom): new function
2228         (operator!=): inline it
2229
2230 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2231
2232         * lyxfind.C (replaceAll): use std::advance
2233
2234         * iterators.h: inherit from std::iterator.
2235
2236         * PosIterator.C (advance, distance): remove
2237         * PosIterator.h: interit from std::iterator.
2238
2239 2004-01-26  André Pönitz  <poenitz@gmx.net>
2240
2241         * BufferView.[Ch]:
2242         * BufferView_pimpl.[Ch]:
2243         * InsetList.[Ch]:
2244         * PosIterator.[Ch]:
2245         * buffer.h:
2246         * bufferview_funcs.C:
2247         * cursor.[Ch]:
2248         * cursor_slice.h:
2249         * factory.[Ch]:
2250         * iterators.[Ch]:
2251         * lyxfind.C:
2252         * lyxfunc.C:
2253         * lyxtext.h:
2254         * output_docbook.C:
2255         * output_latex.C:
2256         * output_linuxdoc.C:
2257         * output_plaintext.C:
2258         * paragraph.[Ch]:
2259         * paragraph_funcs.[Ch]:
2260         * paragraph_pimpl.[Ch]:
2261         * rowpainter.C:
2262         * tabular.C:
2263         * tabular.h:
2264         * text.C:
2265         * text2.C:
2266         * text3.C: more IU:  dumps most of the rest of the mathcursor
2267     implementation into cursor.[Ch]; "globalize" a bit of it.
2268
2269 2004-01-25  Angus Leeming  <leeming@lyx.org>
2270
2271         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2272
2273 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2274
2275         * LaTeXFeatures.h: add nice_ and nice() const
2276         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2277
2278 2004-01-20  André Pönitz  <poenitz@gmx.net>
2279
2280         * BufferView.[Ch]:
2281         * BufferView_pimpl.C:
2282         * PosIterator.C:
2283         * bufferview_funcs.C:
2284         * cursor.[Ch]:
2285         * cursor_slice.[Ch]:
2286         * factory.C:
2287         * iterators.C:
2288         * lyx_cb.C:
2289         * lyxfind.C:
2290         * lyxfunc.C:
2291         * lyxtext.h:
2292         * rowpainter.C:
2293         * text.C:
2294         * text2.C:
2295         * text3.C:
2296         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2297           LCursor and mathcursor parts to LCursor and InsetBase.
2298
2299 2004-01-15  André Pönitz  <poenitz@gmx.net>
2300
2301         * cursor_slice.[Ch]: add a few covienience functions
2302
2303         * funcrequest.[Ch]: remove BufferView * member
2304
2305         * BufferView_pimpl.C:
2306         * cursor.C:
2307         * factory.[Ch]:
2308         * lyxfind.[Ch]:
2309         * lyxfunc.C:
2310         * lyxtext.h:
2311         * text3.C:
2312         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2313
2314 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2317         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2318
2319 2004-01-13  André Pönitz  <poenitz@gmx.net>
2320
2321         * textcursor.[Ch]:
2322         * lyxtext.h: hide cursor and selection anchor behind accessor function
2323
2324         * BufferView.C:
2325         * BufferView_pimpl.[Ch]:
2326         * PosIterator.C:
2327         * bufferview_funcs.C:
2328         * cursor.h:
2329         * lyxfind.C:
2330         * lyxfunc.C:
2331         * text.C:
2332         * text2.C:
2333         * text3.C:
2334         * undo.C: adjust
2335
2336         * cursor.h:
2337         * cursor_slice.[Ch]: some integer type changes for inset unification
2338
2339         * lyxcursor.[hC]: remove, it's CursorSlice now.
2340
2341         * Makefile.am:
2342         * BufferView_pimpl.[Ch]:
2343         * bufferview_funcs.C:
2344         * cursor_slice.C:
2345         * lyxtext.h:
2346         * text.C:
2347         * text2.C:
2348         * text3.C:
2349         * textcursor.[Ch]: adjust
2350
2351 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2352
2353         * text2.C (undoSpan): add and use
2354         * text.C (breakParagraph): use undoSpan (fix bug 578)
2355         * lyxtext.h: adjust
2356
2357 2004-01-08  Angus Leeming  <leeming@lyx.org>
2358
2359         * BufferView_pimpl.C (MenuInsertLyXFile):
2360         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2361         * lyxfunc.C (menuNew, open, doImport):
2362         FileFilterList change to the FileDialog open and save functions.
2363
2364 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2365
2366         * ShareContainer.h: make isEqual and isUnique adaptable
2367
2368         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2369
2370 2004-01-07  Angus Leeming  <leeming@lyx.org>
2371
2372         * LyXAction.C:
2373         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2374
2375         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2376
2377         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2378         functions replacing find, replace and replaceAll.
2379
2380         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2381         LFUN_WORDFIND(FORWARD|BACKWARD).
2382
2383 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2384
2385         * text.C (breakParagraph): remove an outdated #warning
2386
2387 2004-01-07  André Pönitz  <poenitz@gmx.net>
2388
2389         * lyxfind.C: somewhat clearer logic
2390
2391         * text.C: prevent crash in cursorX on unitialized row cache
2392
2393 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2394
2395         * lyxcursor.[Ch] (operator>): add
2396         * textcursor.C (selStart, selEnd): use std::min and std::max
2397
2398 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2399
2400         * Chktex.C: include boost/format.hpp
2401
2402 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2403
2404         * InsetList.C: replace functor MathcIt with adaptable functor
2405         InsetTablePosLess
2406         (insetIterator): modify accordingly
2407
2408         * BranchList.h: move the BranchNamesEqual functor here from...
2409         * BranchList.C: ... to here
2410
2411         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2412         SameName and match.
2413         (add): replace a finding loop with std::find_if.
2414
2415 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2416
2417         * output_docbook.C: moving LatexParam functionality into
2418         .layout files
2419
2420 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2421
2422         * buffer.C: increment format to 229.
2423
2424 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2425
2426         * LaTeXFeatures.C:
2427         * lyx_sty.[Ch]: remove minipageindent_def
2428
2429         * LyXAction.C:
2430         * factory.C:
2431         * lfuns.h:
2432         * lyxfunc.C:
2433         * text3.C: remove LFUN_INSET_MINIPAGE
2434
2435 2003-12-28  Angus Leeming  <leeming@lyx.org>
2436
2437         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2438
2439 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2440
2441         * text2.C (setParagraph): fix off-by-one crash
2442
2443 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2444
2445         * output_docbook.C: header stuff for AGU
2446
2447 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2448
2449         * text2.C (redoCursor): remove
2450         * text.C:
2451         * text3.C:
2452         * BufferView_pimpl.C: remove calls to redoCursor and
2453         setCursor(cursor.par(), cursor.pos()) all around
2454
2455 2003-12-15  Angus Leeming  <leeming@lyx.org>
2456
2457         * buffer.C: up the format to 228.
2458
2459 2003-12-15  André Pönitz  <poenitz@gmx.net>
2460
2461         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2462         slices
2463
2464         * Makefile.am:
2465
2466         * BufferView_pimpl.C:
2467         * cursor.[Ch]:
2468         * lyxcursor.[Ch]:
2469         * rowpainter.[Ch]:
2470         * lyxtext.h:
2471         * text.C:
2472         * text2.C:
2473         * text3.C: adjust
2474
2475 2003-12-15  Angus Leeming  <leeming@lyx.org>
2476
2477         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2478         than getFromGUIName to manipulate the color.
2479
2480 2003-12-14  Angus Leeming  <leeming@lyx.org>
2481
2482         * BranchList.[Ch]: minimize the API.
2483         (Branch::getBranch, getColor): now return a 'const &'.
2484         (Branch::setSelected) now returns a bool set to true if the
2485         selection status changes.
2486         (BranchList::clear, size, getColor, setColor, setSelected,
2487         allBranches, allSelected, separator): removed.
2488         (BranchList::find): new functions, returning the Branch with
2489         the given name.
2490         (BranchList::add, remove): return a bool indicating that
2491         the operation was successful.
2492
2493         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2494         new InsetBranch::isBranchSlected member function.
2495
2496         * LColor.[Ch]: mimimize the API.
2497         (fill): renamed as addColor and made private.
2498         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2499         versions of these functions taking a string arg have been removed.
2500
2501         * bufferparams.C (readToken):
2502         * lyxfunc.C (dispatch):
2503         * lyxrc.C (read): changes due to the altered BranchList and
2504         LColor APIs.
2505
2506         * factory.C (createInset, readInset): changes due to altered
2507         InsetBranch c-tor.
2508
2509 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2510
2511         * factory.C:
2512         * lyxfunc.C: remove insetminipage. "minipage-insert"
2513         now produces a frameless minipage box inset.
2514
2515 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2516
2517         * textcursor.[Ch] (selStart,selEnd): add new methods
2518         remove selection::start, end, use LyXCursor::operator<
2519         * lyxcursor.[Ch] (operator<): add
2520         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2521         * BufferView.[Ch] (unsetXSel): add
2522         * text2.C (clearSelection): use unsetXSel,adjust
2523         * text.C: adjust
2524         * text3.C: adjust
2525         * rowpainter.C: adjust
2526         * bufferview_funcs.C (put_selection_at): adjust
2527
2528 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2529
2530         * BufferView_pimpl.C: small coord. correction
2531
2532 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2533
2534         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2535         dragging over the splash screen.
2536
2537 2003-12-11  Angus Leeming  <leeming@lyx.org>
2538
2539         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2540         as it is now handled in LyXText::dispatch.
2541
2542         * text3.C (doInsertInset): remove a level of nesting.
2543
2544 2003-12-11  Angus Leeming  <leeming@lyx.org>
2545
2546         * factory.C (createInset): changes due to the changed interface to
2547         InsetCommandMailer::string2params.
2548
2549 2003-12-10  Angus Leeming  <leeming@lyx.org>
2550
2551         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2552         'dialog-show-new-inset <inset name>'
2553
2554 2003-12-10  Angus Leeming  <leeming@lyx.org>
2555
2556         * buffer.C: up the format to 227.
2557
2558         * factory.C: the box inset is now identified simply by 'Box'.
2559
2560 2003-12-10  Angus Leeming  <leeming@lyx.org>
2561
2562         * buffer.C: up the format to 226.
2563
2564         * factory.C: the note inset is now identified simply by 'Note'.
2565
2566 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2569         when a pit is enough. Standarize a couple of loops.
2570
2571 2003-12-05  Angus Leeming  <leeming@lyx.org>
2572
2573         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2574         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2575         data to the re-worked "log" dialog.
2576
2577 2003-12-03  André Pönitz  <poenitz@gmx.net>
2578
2579         * PosIterator.C:
2580         * iterators.C:
2581         * lyxtext.h:
2582         * output_latex.C:
2583         * paragraph_funcs.C:
2584         * text.C:
2585         * text2.C: use Inset::getText instead of Inset::getParagraph
2586
2587 2003-12-03  André Pönitz  <poenitz@gmx.net>
2588
2589         * buffer.[Ch]:
2590         * lyxtext.h:
2591         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2592         InsetText::read() as LyXText::read()
2593
2594 2003-12-02  Angus Leeming  <leeming@lyx.org>
2595
2596         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2597         type. Add a comment in the implementation that the function uses
2598         the stream's bad() function rather than fail() as the std::streams
2599         would do.
2600
2601 2003-12-02  André Pönitz  <poenitz@gmx.net>
2602
2603         * lyxlex.[Ch]: make interface more similar to std::stream
2604
2605         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2606
2607 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2610
2611 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2612
2613         * vspace.[Ch]: remove VSpace::NONE
2614
2615 2003-12-01  André Pönitz  <poenitz@gmx.net>
2616
2617         * buffer.[Ch]:
2618         * lyxtext.h: move ParagraphList member to LyXText
2619         rename LyXText::ownerParagraphs to LyXText::paragraph
2620
2621         * CutAndPaste.C:
2622         * bufferview_funcs.C:
2623         * iterators.[Ch]:
2624         * lyx_cb.C:
2625         * paragraph.C:
2626         * rowpainter.C:
2627         * tabular.C:
2628         * text.C:
2629         * text2.C:
2630         * text3.C: adjust
2631
2632         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2633
2634         * undo.C: fix cursor positioning
2635
2636 2003-12-01  John Levon  <levon@movementarian.org>
2637
2638         * BufferView_pimpl.C: fix a crash on exit with
2639         a buffer open
2640
2641 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2642
2643         * BranchList.C: fix setSelected() method.
2644
2645 2003-11-28  André Pönitz  <poenitz@gmx.net>
2646
2647         * ParagraphParameters.[Ch]:
2648         * ParameterStruct.h: remove space above/below from Paragraph to
2649          InsetVSpace
2650
2651         * BufferView_pimpl.C:
2652         * factory.C:
2653         * lyxfunc.C:
2654         * lyxtext.h:
2655         * output_latex.C:
2656         * paragraph.C:
2657         * paragraph_funcs.C:
2658         * rowpainter.[Ch]:
2659         * text.C:
2660         * text2.C:
2661         * text3.C: adjust
2662
2663 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2664
2665         * factory.C: Syntax change for CharStyles
2666
2667 2003-11-28  André Pönitz  <poenitz@gmx.net>
2668
2669         * BufferView.[Ch]:
2670         * BufferView.[Ch]:
2671         * buffer.[Ch]:
2672         * buffer.[Ch]: move LyXText member
2673
2674 2003-11-28  André Pönitz  <poenitz@gmx.net>
2675
2676         * BufferView.[Ch]: make LyXText * text a private member
2677
2678         * BufferView_pimpl.C:
2679         * cursor.C:
2680         * iterators.C:
2681         * lyx_cb.C:
2682         * lyxfind.C:
2683         * lyxtext.h:
2684         * rowpainter.[Ch]:
2685         * text.C:
2686         * text2.C:
2687         * undo.C: adjust
2688
2689         * output_plaintext.C: cleanup
2690
2691 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2692
2693         * buffer.C:
2694         * lyxtextclass.[Ch]: parametrize SGML document header
2695
2696 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2697
2698         * converter.[Ch]:
2699         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2700         getFlavor().
2701
2702 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2703
2704         * text2.C (setFont): rework using PosIterator (no more recursive)
2705         (setCharFont): no more needed
2706         (setLayout): no more selection cursors fiddling (done by redoCursor)
2707         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2708         destroy remaining ones)
2709
2710 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2711
2712         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2713         * lyxtext.h: ditto
2714         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2715         selection cursors
2716         * lyxfunc.C: adjust
2717         * text3.C: adjust + re-allow multi par depth changes
2718         * textcursor.C: simplify a bit
2719
2720 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2721
2722         * src/buffer.C:
2723         * src/lyxlayout.C:
2724         * src/lyxlayout.h:
2725         * src/lyxtext.h:
2726         * src/output_docbook.C:
2727         * src/output_latex.C:
2728         * src/paragraph.C:
2729         * src/paragraph.h:
2730         * src/sgml.C:
2731         * src/sgml.h:
2732         * src/text2.C: Introducing a number of tags parametrizing various
2733         XML formats that we may want to support
2734
2735 2003-11-25  André Pönitz  <poenitz@gmx.net>
2736
2737         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2738
2739         * lyxtext.h (leftMargin/rightMargin): simplify interface
2740
2741         * rowpainter.C:
2742         * text.C:
2743         * text2.C:
2744         * text3.C: adjust
2745
2746 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2747
2748         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2749         master file to any child files. Fixes bug 546.
2750
2751 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2752
2753         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2754
2755 2003-11-24  André Pönitz  <poenitz@gmx.net>
2756
2757         * rowpainter.C: simplification
2758
2759         * text2.C (updateCounters): remove call to redoParagraph on
2760         changed labels as this is far too expensive.
2761
2762 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * converter.C (convert): fix a crash: this function gets
2765         called with buffer == 0 from importer code.
2766
2767 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2768
2769         * text3.C (cursorPrevious): make sure that we do not compare
2770         iterators form different containers.
2771         (cursorNext): ditto
2772
2773         * rowpainter.C (paintSelection): make sure that we do not compare
2774         iterators from different containers.
2775
2776         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2777         iterators from different ParagraphList containers.
2778         [NEXT] ditto
2779
2780         * text2.C (LyXText): change order of initialization slightly
2781         (operator=): new function. copy all variables except cache_par_
2782         (moveUp): make sure that we do not compare iterators from
2783         different ParagraphList constainers.
2784         (moveDown): ditto
2785
2786         * text.C (firstPar): new function
2787         (lastPar): new function
2788         (endPar): new function
2789
2790         * lyxtext.h: move things around and group public functions, public
2791         variables, private functions, private variables
2792
2793 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2794
2795         * factory.C: change call to InsetERT constructor to avoid
2796         additional invocation of method status
2797         * text2.C (toggleInset): remove redundant update() call
2798         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2799         instead of a Bufferview pointer
2800
2801 2003-11-21  André Pönitz  <poenitz@gmx.net>
2802
2803         * rowpainter.C: simplification
2804
2805 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2806
2807         * text3.C (dispatch): make possible to extend a word/row selection
2808         with the mouse
2809
2810 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2811
2812         * lyxtext.h: x0_,y0_ -> xo_,yo_
2813         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2814         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2815         * rowpainter.C (paintRows): paint full paragraphs
2816
2817 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2818
2819         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2820         screen coordinates)
2821
2822 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * lyxtext.h: add x0_, y0_
2825         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2826         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2827
2828 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * text2.C (setCursorIntern): move the x_target update here *
2831         * text3.C: change some bv() to true/false in calls to
2832         cursorUp/Down/Right/Left
2833         * cursor.C: use helper function.
2834
2835 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2836
2837         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2838         * paragraph_funcs.[Ch]: correct comment
2839         * rowpainter.C: do not paint selections away from bv->cursor()
2840         Fix a long standing selection painting bug.
2841         * text3.C: generalize mouse-selection code to LyXTexts other that
2842         top one
2843         * textcursor.C: do not use y coords if we can use par offsets
2844
2845 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2846
2847         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2848         cursor position after e.g. inset insert)
2849
2850 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2851
2852         * lyxfind.C (replace): adjust to locking removal + some
2853         code simplification
2854
2855 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2856
2857         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2858         of the path
2859
2860 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2861
2862         * lyxlayout.[Ch]:
2863         * output_docbook.C: XML sanitation: new layout
2864         parameters InnerTag and CommandDepth
2865
2866 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2867
2868         * BufferView_pimpl.C:
2869         * factory.C:
2870         * text3.C: Fix the insertion and modification of button-style
2871         insets
2872
2873 2003-11-13  André Pönitz  <poenitz@gmx.net>
2874
2875         * InsetList.[Ch]: remove deleteLyXText
2876
2877         * paragraph.[Ch]: cache beginOfBody position
2878
2879         * Bidi.C:
2880         * text.C:
2881         * text2.C:
2882         * text3.C: remove superfluous update() calls
2883
2884         * vspace.C: cleanup
2885
2886 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2887
2888         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2889         * BufferView.C (fitLockedInsetCursor): remove
2890         * cursor.[Ch] (getDim): add
2891         * text.C (getRowNearY): add faster version
2892         * text3.C: remove some update calls
2893
2894 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2895
2896         * LaTeXFeatures.C:
2897         * LyXAction.C:
2898         * MenuBackend.C:
2899         * MenuBackend.h:
2900         * dispatchresult.h:
2901         * factory.C:
2902         * lfuns.h:
2903         * lyxfunc.C:
2904         * lyxtextclass.C:
2905         * lyxtextclass.h:
2906         * text3.C: The Character Style /XML short element patch.
2907
2908 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2909
2910         * text3.C:
2911         * factory.C: Small step to solving 'unable to insert some insets'
2912         problem
2913
2914 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * cursor.[Ch] (updatePos): new function for updating the y
2917         position of the tip inset
2918         * bufferview_funcs.C (put_selection_at):
2919         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2920
2921 2003-11-11  André Pönitz  <poenitz@gmx.net>
2922
2923         * text.C: remove big comment on invalid Paragraph pointers as it is
2924         not valid anymore
2925
2926 2003-11-11  André Pönitz  <poenitz@gmx.net>
2927
2928         * text_funcs.[Ch]: merge with ...
2929
2930         * text.C: ... this
2931
2932         * lyxtext.h:
2933         * text2.C:
2934         * text3.C: adjust
2935
2936         * Makefile.am: remove text_funcs.[Ch]
2937
2938 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * cursor.C (getPos): return absolute cached y coord
2941
2942         * BufferView_pimpl.C (fitCursor): new simplistic code
2943         (workAreaDispatch): add a fitCursor call
2944
2945 2003-11-10  André Pönitz  <poenitz@gmx.net>
2946
2947         * BufferView.[Ch]:
2948         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2949
2950 2003-11-10  André Pönitz  <poenitz@gmx.net>
2951
2952         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2953         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2954         indicate that the cursor needs to leave an inset
2955
2956         * lyxtext.h: remove inset locking
2957
2958         * cursor.[Ch]: re-implement functionality provided by inset locking
2959
2960         * BufferView.[Ch]:
2961         * BufferView_pimpl.[Ch]:
2962         * LyXAction.C:
2963         * bufferview_funcs.[Ch]:
2964         * factory.C:
2965         * funcrequest.[Ch]:
2966         * iterators.C:
2967         * lyx_cb.C:
2968         * lyxfind.C:
2969         * lyxfunc.C:
2970         * text.C:
2971         * text2.C:
2972         * text3.C:
2973         * undo.C: adjust
2974
2975 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * PosIterator.[Ch]: replace the stack with a vector, add inset
2978         accesor
2979         * iterators.[C]: adjust
2980
2981 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2984         replaced
2985         * paragraph_funcs.C (readParToken): put the correct id in the
2986         error item, not the id of the top paragraph
2987
2988 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2989
2990         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2991         * bufferview_funcs.C (put_selection_at): use the above
2992
2993 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2994
2995         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2996
2997 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2998
2999         * output_linuxdoc.h:
3000         * output_plaintext.h:
3001         * output.h:
3002         * output_docbook.h: add #include statements
3003
3004 2003-11-05  José Matos  <jamatos@lyx.org>
3005
3006         * output_docbook.[Ch]:
3007         * output_latex.[Ch]:
3008         * output_linuxdoc.[Ch]:
3009         * output_plaintext.[Ch]: New files for output formats.
3010         * output.[Ch]: New file for helper functions.
3011
3012         * buffer.[Ch]:
3013         * paragraph_funcs.[Ch]: output functions moved to new files.
3014
3015         * outputparams.h: rename of latexrunparams.h
3016
3017         * LaTeX.[Ch]:
3018         * buffer.[Ch]:
3019         * bufferlist.[Ch]:
3020         * converter.[Ch]:
3021         * exporter.C:
3022         * paragraph.[Ch]:
3023         * paragraph_funcs.[Ch]:
3024         * paragraph_pimpl.[Ch]:
3025         * tabular.[Ch]: rename ascii to plaintext
3026         and LatexRunParams to OutputParams.
3027
3028 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3029
3030         * iterators.[Ch] (text): require bv argument
3031         * undo.C (recordUndo):
3032         * lyxfunc.C (dispatch):
3033         * bufferview_funcs.C (put_selection_at): adjust
3034
3035 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3036
3037         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3038
3039 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3040
3041         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3042         nestings
3043
3044 2003-11-04  André Pönitz  <poenitz@gmx.net>
3045
3046         * cursor.[Ch]: restructure
3047
3048         * BufferView.[Ch]:
3049         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3050
3051         * iterators.[Ch] (asCursor): remove
3052
3053         * lfuns.h: remove LFUN_INSET_EDIT
3054
3055         * lyxfunc.C:
3056         * tabular.C:
3057         * text.C:
3058         * text2.C:
3059         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3060
3061 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3062
3063         * lyxfind.[Ch]: complete overhaul
3064         * BufferView_pimpl.C:
3065         * lyxfunc.C: adjust
3066         * paragraph.[Ch] (insert): add
3067
3068 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * BufferView.[Ch]:
3071         * lyxtext.h:
3072         * text.C: remove dead spellcheck code
3073
3074 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * dispatchresult.h: add a val setter
3077
3078         * cursor.C (dispatch): use a tempvar for data_[i]
3079
3080 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3081
3082         * PosIterator.[Ch]: compile fix
3083
3084 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3085
3086         * text.C (cursorPar): deactivate the cursor cache
3087
3088 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3089
3090         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3091
3092 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * text3.C (dispatch): adjust for new DisptchResult semantics.
3095
3096         * lyxfunc.C (dispatch): handle update when return from
3097         Cursor::dispatch, adjust for new DispatchResult semantics.
3098
3099         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3100         DispatchResult(true) mean to not update. Add class functions for
3101         setting dispatched and update, as well as reading.
3102
3103         * cursor.C (dispatch): don't handle update here
3104
3105 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3108         * trans_mgr.C: adjust
3109
3110         * paragraph_funcs.C (readParToken): exception safety
3111
3112         * lyxvc.h: store the vcs pointer in a scoped_ptr
3113         * lyxvc.C: adjust
3114
3115         * lyxsocket.C (serverCallback): exception safety
3116
3117         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3118
3119         * ispell.C (clone): make it return a auto_ptr
3120
3121         * factory.C (createInset): exception safety
3122         (readInset): exception safety
3123
3124         * bufferlist.C (newBuffer): exception safety
3125
3126         * Thesaurus.C (Thesaurus): use initialization for aik_
3127
3128         * MenuBackend.C (expandToc): exception safety.
3129
3130 2003-11-03  André Pönitz  <poenitz@gmx.net>
3131
3132         * buffer.C:
3133         * buffer.h:
3134         * bufferview_funcs.C: remove getInsetFromId()
3135
3136         * lyxcursor.[Ch]:
3137         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3138
3139         * lyxfunc.C:
3140         * text2.C:
3141         * text3.C: adjust
3142
3143 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3144
3145         * PosIterator.C (distance, advance): new
3146         * bufferview_funcs.[Ch] (put_selection_at): new
3147         * iterators.[Ch] (lockPath): new
3148
3149 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3150
3151         * iterators.[Ch] (asPosIterator): added
3152         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3153         * PosIterator.[Ch]: added
3154
3155 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3156
3157         * text3.C:
3158         * lyxfunc.C:
3159         * cursor.C (dispatch):
3160         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3161
3162         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3163         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3164         contructor, add a class function dispatched. Remove operator>=
3165
3166 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3167
3168         * debug.C: only use the default constructor for debugstream
3169         (lyxerr) here.
3170
3171         * main.C (main): include debug.h and setup the lyxerr streambuf
3172         here.
3173
3174 2003-10-31  José Matos  <jamatos@lyx.org>
3175
3176         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3177
3178         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3179         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3180         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3181         * paragraph_pimpl.C (simpleTeXSpecialC):
3182         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3183         add LatexRunParams argument.
3184
3185         * exporter.C (Export): change call accordingly.
3186
3187         * latexrunparams.h: add new member to take care of the other backends.
3188 2003-10-30  José Matos  <jamatos@lyx.org>
3189
3190         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3191         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3192         factorise code for paragraph output.
3193         * buffer.[Ch]:
3194         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3195         move functions.
3196
3197 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3198
3199         * text3.C (dispatch):
3200         * lyxfunc.C (dispatch):
3201         * cursor.C (dispatch):
3202         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3203
3204         * dispatchresult.h: make the dispatch_result_t ctor explicit
3205
3206 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3207
3208         * sgml.[Ch]:
3209         * buffer.C: small refactoring of docbook stuff
3210
3211 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3214         meaning.
3215
3216 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3217
3218         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3219         operator dispatch_result_t, and operators for == != and >=
3220
3221         * cursor.C (dispatch): adjust for operator dispatch_result_t
3222         removal. comment out call to update
3223
3224         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3225
3226 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * text3.C:
3229         * text2.C:
3230         * text.C:
3231         * lyxtext.h:
3232         * lyxfunc.C:
3233         * cursor.C:
3234         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3235         (dispatch):
3236
3237         * dispatchresult.h: new file, DispatchResult broken out of
3238         insets/insetbase.h
3239
3240         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3241
3242 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3243
3244         * text.C (rowBreakPoint): put a hack inside #if 0
3245
3246 2003-10-28  André Pönitz  <poenitz@gmx.net>
3247
3248         * lyxtext.h:
3249         * metricsinfo.C:
3250         * paragraph_funcs.C:
3251         * rowpainter.C:
3252         * text.C:
3253         * text2.C: general cleanup (lots of small stuff)
3254
3255 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3256
3257         * text2.C (cursorEnd): simple fix to the "end key goes to one
3258         before the end on last row" bug
3259
3260 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3261
3262         * text.C (backspace): fix the "zombie characters"
3263
3264 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3265
3266         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3267
3268 2003-10-27  André Pönitz  <poenitz@gmx.net>
3269
3270         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3271
3272         * factory.C: handle new InsetPagebreak, InsetLine
3273
3274         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3275         and move handling into new InsetPagebreak, InsetLine
3276
3277         * BufferView_pimpl.C:
3278         * LyXAction.C:
3279         * ParagraphParameters.C:
3280         * ParameterStruct.h:
3281         * lyxfunc.C:
3282         * lyxtext.h:
3283         * paragraph.C:
3284         * paragraph.h:
3285         * paragraph_funcs.C:
3286         * paragraph_pimpl.C:
3287         * rowpainter.C:
3288         * text.C:
3289         * text2.C:
3290         * text3.C: adjust
3291
3292 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3293
3294         * text.C:
3295         * lyxrow_funcs.[Ch]:
3296         * Bidi.C:
3297         * paragraph.C:
3298         * lyxtext.h:
3299         * rowpainter.C:
3300         * text2.C:
3301         * text3.C: remove lastPos uses in favour of Row::endpos
3302
3303 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * undo.C (performUndoOrRedo): fix two crashes by setting a
3306         cursor by hand and reordering some calls. Use bv->lockInset instead
3307         of inset->edit because the latter loses cursor information
3308
3309 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3310
3311         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3312         by Martin
3313         (rowBreakPoint): fix width. change point to point + 1.
3314         Add a missing check.
3315
3316 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3317
3318         * MenuBackend.C:
3319         * lyxfunc.C: fix (at least partly) the problems
3320         with the Nav menu and headers inside branch insets
3321         reported by Kayvan
3322
3323 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3324
3325         * paragraph.C (getChar): add strong asserts
3326
3327         * lyxrow_funcs.C (lastPos): remove hideous hack
3328
3329         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3330         (fill): adjust to that (avoid an infinite loop)
3331
3332 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3333
3334         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3335
3336 2003-10-23  André Pönitz  <poenitz@gmx.net>
3337
3338         * RowList_fwd.h: change list<> to vector<> to gain speed
3339         after suggestion from Alfredo
3340
3341 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3342
3343         * lyxtext.h: move the bidi stuff from here...
3344         * text.C: and here
3345         * text2.C: and here
3346         * Bidi.[Ch]: ... to here
3347
3348 2003-10-23  André Pönitz  <poenitz@gmx.net>
3349
3350         * lyxtext.h:
3351         * text.C (isLastRow, isFirstRow): new functions
3352
3353         * paragraph.h: new width cache member
3354
3355         * rowpainter.C: replace RowList::iterator with Row & where possible
3356
3357         * lyxfunc.C: replace several view()->text with a single call
3358
3359         * toc.C: fix 'unused' warning
3360
3361 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3364         when woring with stream::pos_type
3365         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3366
3367 2003-10-22  André Pönitz  <poenitz@gmx.net>
3368
3369         * lyxtext.h:
3370         * text.C: use Row & instead of RowList::iterator
3371
3372         * lyxrow.h: rename end() to endpos()
3373
3374         * rowpainter.C:
3375         * text.C:
3376         * text2.C: adjust
3377
3378 2003-10-22  Angus Leeming  <leeming@lyx.org>
3379
3380         * buffer.[Ch] (fully_loaded): new member function, returning true
3381         only when the file has been loaded fully.
3382         Used to prevent the premature generation of previews and by the
3383         citation inset to prevent computation of the natbib-style label.
3384
3385         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3386         templates are all set up.
3387
3388         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3389
3390 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3391
3392         * text.C: fixed an "oops" in the "is a bit silly"
3393         bug fix
3394
3395 2003-10-21  André Pönitz  <poenitz@gmx.net>
3396
3397         * FuncStatus.[Ch]: small stuff, whitespace
3398
3399         * lyxfont.[Ch]: operator<<() for debug reasons
3400
3401         * lyxfunc.C:
3402         * lyxrow_funcs.C:
3403         * lyxtext.h: whitespace, spelling
3404
3405         * paragraph.C: naming of variables
3406
3407         * text.C:
3408         * text2.C: small stuff
3409
3410
3411 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3412
3413         * text.C: (1) finish off the inset display() work;
3414         (2) fix the "is a bit silly" bug (accessing char
3415         past end of par).
3416
3417 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3418
3419         * text.C: re-introduce display() for insets, fixing the
3420         various bugs (stretch of line above, math inset
3421         positioning, ...)
3422
3423 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3424
3425         * text.C (rightMargin): remove spurious semicolon
3426
3427         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3428         1415)
3429
3430 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3431
3432         * text3.C: fix one crash due to wrong cursor def
3433
3434 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3435
3436         * vc-backend.C (scanMaster): make the regex static
3437
3438         * LaTeX.C (scanAuxFile): make the regexs static
3439
3440         * text3.C (doInsertInset, dispatch, dispatch):
3441         * text2.C (cursorUp, cursorDown):
3442         * text.C (selectNextWordToSpellcheck):
3443         * BufferView_pimpl.C (dispatch):
3444         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3445
3446 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3447
3448         * lyxsocket.C: include <cerrno>
3449
3450 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * lyxfunc.C (dispatch): remove textcache stuff
3453
3454         * bufferlist.C (release): remove textcache stuff
3455         (closeAll): ditto
3456
3457         * TextCache.C: delete file
3458         * TextCache.h: delete file
3459
3460         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3461
3462         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3463         delete of the bv_->text.
3464         (resizeCurrentBuffer): remove texcache stuff
3465         (workAreaResize): ditto
3466
3467 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3468
3469         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3470         action.
3471
3472 2003-10-16  André Pönitz  <poenitz@gmx.net>
3473
3474         * lyxrow.[Ch]:
3475         * paragraph.h:
3476         * rowpainter.C:
3477         * text.C:
3478         * text2.C:
3479         * text3.C: speed up by storing y positions per paragraph plus per-row
3480         offset instead of having a 'full' y position in the row.
3481
3482 2003-10-15  André Pönitz  <poenitz@gmx.net>
3483
3484         * iterators.[Ch]:
3485         * iterators.[Ch]:
3486         * undo.[Ch]: make undo aware of inner insets
3487
3488 2003-10-14  Angus Leeming  <leeming@lyx.org>
3489
3490         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3491         static member functions LyX::ref() and LyX::cref.
3492         (lastfiles): new accessor functions for the new lastfiles_ member var.
3493         (addLyXView, views_): add a new LyXView to the list of views_.
3494         (updateInset): loop over all LyXViews to call their own updateInset
3495         member function, returning a pointer to the Buffer owning the inset.
3496
3497         * BufferView_pimpl.C (loadLyXFile):
3498         * MenuBackend.C (expandLastfiles):
3499         * bufferlist.C (MenuWrite, QuitLyX):
3500         lastfiles is no longer a global variable.
3501         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3502
3503         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3504         static function. Access through LyX::cref().emergencyCleanup().
3505
3506 2003-10-14  André Pönitz  <poenitz@gmx.net>
3507
3508         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3509
3510         * undo.[Ch]: restoring part of 'undo in insets'
3511
3512         * Makefile.am:
3513         * undo_funcs.[Ch]: merge with undo.[Ch]
3514
3515         * tabular.C: small cleansing stuff
3516
3517 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3518
3519         * paragraph_funcs.C (readParToken): report unknown insets as error
3520         boxes. Use the outer paragraph as location (also for unknown
3521         tokens).
3522
3523         * factory.C (readInset): do not abort on reading an unknown inset.
3524         Eat it and return 0.
3525
3526 2003-10-13  Angus Leeming  <leeming@lyx.org>
3527
3528         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3529
3530         * lyxrc.C: displayTranslator is now a function,
3531         declared in GraphicsTypes.h.
3532
3533 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3534
3535         * format.C: new placeholder $$a to pass the socket address.
3536
3537         * bufferlist.[Ch]: new function getBufferFromTmp.
3538
3539         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3540           files in the temporary dir.
3541
3542 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3543
3544         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3545
3546         * Makefile.am: add lyxsocket.[Ch].
3547
3548         * lyx_main.C (error_handler): handle SIGPIPE.
3549
3550 2003-10-13  André Pönitz  <poenitz@gmx.net>
3551
3552         * BufferView_pimpl.C:
3553         * lyxtext.h:
3554         * text.C:
3555         * text2.C:
3556         * text3.C:
3557         * undo_funcs.[Ch]: use paroffset_type instead of
3558           ParagraphList::iterators to prevent multiple conversion
3559           (and get a more robust interface)
3560
3561 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3562
3563         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3564         * lyxtext.h: ditto
3565         * text3.C (dispatch): ditto
3566
3567 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3568
3569         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3570         move the onlyfile, use onlyfile instead of foundfile in a couple
3571         of places.
3572
3573         * DepTable.C (update): flush the error stream a bit more
3574
3575 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3576
3577         * lyxserver.C (callback): adjust
3578
3579         * lyxfunc.C (getStatus): add a missing brace in commented code
3580         (ensureBufferClean): reindent
3581         (dispatch): delete version taking a string
3582
3583 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3584
3585         * LaTeX.C (deplog): move found file handlig from here...
3586         (handleFoundFile): .. to new function here.
3587         (deplog): make sure to discover several files mentioned on the
3588         same log line.
3589
3590 2003-10-10  André Pönitz  <poenitz@gmx.net>
3591
3592         * lyxfunc.C:
3593         * lyxtext.h:
3594         * tabular.C:
3595         * text.C:
3596         * text2.C:
3597         * text3.C: fix some of the tabular crashes
3598
3599 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3600
3601         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3602
3603         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3604
3605 2003-10-09  André Pönitz  <poenitz@gmx.net>
3606
3607         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3608
3609         * BufferView.C:
3610         * BufferView_pimpl.C:
3611         * bufferview_funcs.C:
3612         * lyx_cb.C:
3613         * lyxcursor.C:
3614         * lyxfind.C:
3615         * lyxfunc.C:
3616         * lyxtext.h:
3617         * text.C:
3618         * text2.C:
3619         * text3.C:
3620         * text_funcs.[Ch]:
3621         * textcursor.[Ch]:
3622         * undo_funcs.C: adjust
3623
3624 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3625
3626         * text2.C (incrementItemDepth): new function, use a backtracking
3627         algorithm to discover the correct item depth.
3628         (resetEnumCounterIfNeeded): new function, use a backtracking
3629         algorithm to discover if counter reset is needed.
3630         (setCounter): use them. Simplify a bit. Add different labels for
3631         different item depths for itemize.
3632
3633         * paragraph.C (Paragraph): remove initialization of enumdepth
3634         (operator=): ditto
3635
3636         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3637         enumerate and itemize. Change the type of itemdepth to signed char.
3638
3639 2003-10-08  André Pönitz  <poenitz@gmx.net>
3640
3641         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3642           thing assignable.
3643         * text.C:
3644         * text2.C: adjust
3645
3646         * tabular.[Ch]: fix crash after 'row-insert'
3647
3648 2003-10-08  Angus Leeming  <leeming@lyx.org>
3649
3650         Fix doxygen warnings.
3651
3652         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3653         Remove CutAndPaste:: prefix from header file declaration.
3654
3655         * LColor.h (fill): remove LColor:: prefix from declaration.
3656
3657         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3658         use lyx::depth_type rather than Paragraph::depth_type so that
3659         header file and .C file match.
3660
3661         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3662
3663         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3664         * aspell.C: \file aspell_local.C -> \file aspell.C
3665         * gettext.C: \file gettext.C -> \file src/gettext.C
3666         * gettext.h: \file gettext.h -> \file src/gettext.h
3667         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3668         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3669         * text.C: \file text.C -> \file src/text.C
3670
3671         * toc.C: move comment so that doxygen is not confused.
3672
3673 2003-10-07  Angus Leeming  <leeming@lyx.org>
3674
3675         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3676
3677 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3678
3679         * aspell.C:
3680         * aspell_local.h: add forgotten std::string's.
3681
3682 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3683
3684         * LaTeXFeatures.C:
3685         * LyXAction.C:
3686         * factory.C:
3687         * lfuns.h:
3688         * lyxfunc.C:
3689         * text3.C: The Box patch. Fancybox support, minipage, parbox
3690
3691 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3692
3693         * CutAndPaste.h:
3694         * DepTable.h:
3695         * FloatList.h:
3696         * LaTeXFeatures.h:
3697         * ParagraphParameters.h:
3698         * TextCache.h:
3699         * Thesaurus.h:
3700         * bufferlist.h:
3701         * exporter.h:
3702         * importer.h:
3703         * lastfiles.h:
3704         * lyxfind.h:
3705         * lyxfont.h:
3706         * lyxlex.h:
3707         * lyxtextclasslist.h:
3708         * messages.h:
3709         * paragraph.h:
3710         * paragraph_pimpl.C:
3711         * textcursor.h: add <string> and other small fixes to make Lars'
3712         std::string patch compile with STLport.
3713
3714 2003-10-06  Angus Leeming  <leeming@lyx.org>
3715
3716         * LColor.h: Add missing #include <string>.
3717
3718 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3719
3720         * All most all file in all subdirs: Make <string> be the prefered
3721         way of getting to std::string, add using declarations.
3722
3723 2003-10-06  André Pönitz  <poenitz@gmx.net>
3724
3725         * metricsinfo.C: initialize LyXFont before changing attribute.
3726         (fixes the 'math in \emph is upright' bug)
3727
3728 2003-10-06  André Pönitz  <poenitz@gmx.net>
3729
3730         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3731
3732 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3733
3734         * graph.C:
3735         * paragraph_pimpl.C: Small fixes to build using STLport
3736
3737 2003-10-02  André Pönitz  <poenitz@gmx.net>
3738
3739         * lyxfunc.C:
3740         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3741
3742 2003-10-01  André Pönitz  <poenitz@gmx.net>
3743
3744         * factory.C: assert early
3745
3746 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3747
3748         * lyx_main.C: remove the global debug object
3749
3750         * debug.h: adjust for new debugstream
3751
3752         * debug.C: adjust for new debugstream and keep the global debug
3753         object here.
3754
3755 2003-09-22  Angus Leeming  <leeming@lyx.org>
3756
3757         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3758         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3759         an incomplete class LyXFont.
3760
3761 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3762
3763         * factory.C: bug fix in branches
3764
3765 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3766
3767         * lyxfunc.C (processKeySym): adjust
3768         (dispatch): adjust
3769         (dispatch): change arg name from ev to func, adjust
3770         (sendDispatchMessage): ditto
3771
3772         * lyx_main.C (defaultKeyBindings): adjust keybindings
3773         (deadKeyBindings): ditto
3774
3775         * kbsequence.C (addkey): return a FuncRequest
3776
3777         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3778
3779         * kbmap.C (bind): take a FuncRequest as arg, adjust
3780         (read): adjust
3781         (lookup): adjust
3782         (defkey): change to take a FuncRequest as arg, adjust
3783         (findbinding): take a FuncRequest as arg, adjust.
3784
3785         * funcrequest.h (operator=): added
3786
3787         * funcrequest.C (FuncRequest): default kb_action changed from
3788         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3789
3790         * buffer.C (dispatch): simplify
3791         (dispatch): adjust to take a FuncRequest as arg, adjust
3792
3793         * boost.C (assertion_failed): change assertion message slightly
3794
3795         * ToolbarBackend.C (read): simplify
3796
3797         * MenuBackend.C (binding): adjust call to findbinding, add a
3798         message if no binding is found.
3799         (read): simplify
3800         (expandToc): correct by adding a empty FuncRequest
3801
3802         * LyXAction.C: include <boost/assert.hpp>
3803         (isPseudoAction): delete function
3804         (LookupFunc): change name to...
3805         (lookupFunc): this. change return type to FuncRequest.
3806         (getActionName): take kb_action as arg, simplify
3807         (funcHasFlag): add an assert, simplify.
3808
3809 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3810
3811         * toc.C (action): return a FuncRequest, simplify
3812
3813         * lyxfunc.C (processKeySym): adjust
3814         (getStatus): delete version that takes an int.
3815         (getStatus): adjust
3816         (dispatch): delete version that takes action as int
3817         (dispatch): adjust
3818         (sendDispatchMessage): simplify and adjust
3819
3820         * funcrequest.C (getArg): take unsigned int as arg
3821
3822         * ToolbarBackend.C (read): adjust
3823         (add): delete version that takes func as a string.
3824         (getIton): take a FuncRequest as arg
3825
3826         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3827         action.
3828
3829         * MenuBackend.C (MenuItem): add a new construct that only takes a
3830         Kind, simplify the constructor use for submenus.
3831         (add): adjust
3832         (expandLastfiles): adjust
3833         (expandDocuments): adjust
3834         (expandFormats): adjust
3835         (expandFloatListInsert): adjust
3836         (expandFloatInsert): adjust
3837         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3838
3839         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3840         Remove class variables lyx_pseudo_map and lyx_arg_map
3841
3842         * LyXAction.C (searchActionArg): delete function
3843         (getPseudoAction): delete function
3844         (retrieveActionArg): delete function
3845         (LookupFunc): make it return kb_action, simplify.
3846         (getActionName): simplify
3847
3848         * factory.C (createInset): fix new bug
3849
3850 2003-09-19  Angus Leeming  <leeming@lyx.org>
3851
3852         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3853         masterFilename_ parameter in the include inset.
3854
3855         * factory.C (createInset): changes due to the changes to InsetInclude.
3856
3857 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3858
3859         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3860
3861 2003-09-18  Angus Leeming  <leeming@lyx.org>
3862
3863         * buffer.C:
3864         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3865         Inset::fillWithBibKeys.
3866         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3867
3868 2003-09-18  Angus Leeming  <leeming@lyx.org>
3869
3870         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3871         variables.
3872         (ctor): pass and store a 'Buffer const &'
3873         (buffer): new member function.
3874
3875         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3876         '*this' to the LaTeXFeatures ctor.
3877
3878 2003-09-18  Angus Leeming  <leeming@lyx.org>
3879
3880         * LColor.h:
3881         * lyxfont.C:
3882         * lyxfont.h:
3883         * lyxtext.h:
3884         * text.C: rename EnumLColor as LColor_color.
3885
3886 2003-09-18  Angus Leeming  <leeming@lyx.org>
3887
3888         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3889         remove #include "insets/insetbase.h" from cursor.h.
3890
3891 2003-09-18  Angus Leeming  <leeming@lyx.org>
3892
3893         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3894         InsetOld_code to remove #include "inset.h".
3895
3896         * iterators.C: add #include "insets/inset.h"
3897
3898 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3899
3900         * BufferView.C: remove more locking stuff that apparently doesn't
3901         do anything sensible.
3902
3903 2003-09-16  André Pönitz  <poenitz@gmx.net>
3904
3905         * paragraph.[Ch]:
3906         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3907           performance boost.
3908
3909 2003-09-16  Angus Leeming  <leeming@lyx.org>
3910
3911         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3912
3913         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3914         arg/return type.
3915
3916         * paragraph.h: remove #include "lyxfont.h". Forward declare
3917         LyXFont_size.
3918
3919 2003-09-16  Angus Leeming  <leeming@lyx.org>
3920
3921         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3922         of support/textutils.h.
3923         (isWord): move the contents of support/textutils.h's IsWordChar here.
3924
3925         * buffer.C:
3926         * lyxfind.C:
3927         * rowpainter.C:
3928         * text.C:
3929         * text2.C: add #include "paragraph.h".
3930
3931         * rowpainter.C:
3932         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3933
3934 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3935
3936         * main.C:
3937         * lyx_main.C:
3938         * lyx_cb.C:
3939         * buffer.C:
3940         * LaTeX.C: use namespace alias for lyx::support::os
3941
3942 2003-09-16  Angus Leeming  <leeming@lyx.org>
3943
3944         * bufferparams.C:
3945         * bufferview_funcs.C:
3946         * factory.C:
3947         * lyxfunc.C:
3948         * paragraph_pimpl.C:
3949         * rowpainter.C:
3950         * text.C: add #include "LColor.h".
3951
3952 2003-09-16  Angus Leeming  <leeming@lyx.org>
3953
3954         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3955         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3956         return LyXFont &.
3957         Store the FontBits::color variable as an int rather than as an
3958         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3959         file.
3960
3961         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3962         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3963         string calls together.
3964
3965         * lyxrc.C: add #include "LColor.h".
3966
3967 2003-09-15  Angus Leeming  <leeming@lyx.org>
3968
3969         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3970         a cow_ptr.
3971
3972 2003-09-15  Angus Leeming  <leeming@lyx.org>
3973
3974         * LColor.h: add an EnumLColor wrapper for LColor::color.
3975
3976         * lyxfont.[Ch] (color, setColor, realColor):
3977         * lyxtext.h, text.C (backgroundColor):
3978         pass EnumLColor args to/from the functions, rather than LColor::color
3979         ones.
3980
3981         * lyxfont.h:
3982         * lyxtext.h: forward declare EnumLColor.
3983
3984         * lyx_main.C: add #include "LColor.h".
3985
3986 2003-09-15  Angus Leeming  <leeming@lyx.org>
3987
3988         * .cvsignore: add lyx-gtk.
3989
3990 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3991
3992         * Chktex.C
3993         * LaTeX.C
3994         * LaTeXFeatures.C
3995         * ParagraphParameters.C
3996         * Spacing.C
3997         * buffer.C
3998         * bufferparams.C
3999         * bufferview_funcs.C
4000         * chset.C
4001         * counters.C
4002         * funcrequest.C
4003         * lyxfont.C
4004         * lyxgluelength.C
4005         * lyxlength.C
4006         * paragraph.C
4007         * paragraph_funcs.C
4008         * text3.C
4009         * vc-backend.C: remove usage of STRCONV
4010
4011 2003-09-15  Angus Leeming  <leeming@lyx.org>
4012
4013         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4014         explicitly define the color passed to the painter.
4015
4016 2003-09-15  Angus Leeming  <leeming@lyx.org>
4017
4018         * bufferparams.C (BufferParams): reorder member initializers to avoid
4019         compiler warning.
4020
4021 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4024         * text.C (updateRowPositions): remove an unusual nop
4025
4026 2003-09-12  André Pönitz  <poenitz@gmx.net>
4027
4028         * BufferView_pimpl.C:
4029         * Bullet.C:
4030         * layout.h:
4031         * lyxfunc.C:
4032         * lyxlayout.[Ch]:
4033         * lyxtextclass.C:
4034         * rowpainter.C:
4035         * text.C:
4036         * text2.C:
4037         * Counters.[Ch]: finish the 'automatic counters' job
4038
4039 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4040
4041         * aspell.C: include <boost/assert.cpp> (compile fix)
4042
4043 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4044
4045         * boost.C (assertion_failed): use lyx::support::abort instead of
4046         assert.
4047
4048 2003-09-10  Angus Leeming  <leeming@lyx.org>
4049
4050         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4051         with their _fwd progeny.
4052
4053 2003-09-09  Angus Leeming  <leeming@lyx.org>
4054
4055         134 files throughtout the source tree: replace 'using namespace abc;'
4056         directives with the appropriate 'using abc::xyz;' declarations.
4057
4058 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4059
4060         * boost.C (emergencyCleanup): moved here from LAssert.c
4061         (assertion_failed): new function, called by BOOST_ASSERT
4062
4063         * several files: change Assert to BOOST_ASSERT
4064
4065 2003-09-09  Angus Leeming  <leeming@lyx.org>
4066
4067         * buffer.[Ch]: Add an Impl class and move Buffer's member
4068         variables into it. As a result move several header files out of
4069         buffer.h.
4070
4071         Add header files to lots of .C files all over the tree as a result.
4072
4073 2003-09-09  Angus Leeming  <leeming@lyx.org>
4074
4075         * buffer.[Ch]: make Buffer's member variables private. Add
4076         accessor functions.
4077
4078         Lots of changes all over the tree as a result.
4079
4080 2003-09-08  Angus Leeming  <leeming@lyx.org>
4081
4082         * graph.C: #include <config.h>.
4083
4084 2003-09-08  Angus Leeming  <leeming@lyx.org>
4085
4086         * BranchList.C:
4087         * BufferView.C:
4088         * BufferView_pimpl.C:
4089         * CutAndPaste.C:
4090         * DepTable.C:
4091         * LaTeX.C:
4092         * LaTeXFeatures.C:
4093         * LyXAction.C:
4094         * MenuBackend.C:
4095         * TextCache.C:
4096         * aspell.C:
4097         * buffer.C:
4098         * bufferlist.C:
4099         * changes.C:
4100         * chset.C:
4101         * converter.C:
4102         * counters.C:
4103         * debug.C:
4104         * graph.C:
4105         * ispell.C:
4106         * lyx_cb.C:
4107         * lyxfind.C:
4108         * lyxfunc.C:
4109         * lyxlex_pimpl.C:
4110         * lyxrc.C:
4111         * lyxrow.C:
4112         * paragraph.C:
4113         * rowpainter.C:
4114         * texrow.C:
4115         * text.C:
4116         * text2.C:
4117         * toc.C: remove redundant using directives.
4118
4119 2003-09-07  Angus Leeming  <leeming@lyx.org>
4120
4121         * LaTeXFeatures.h: remove #include "support/types.h".
4122         * ToolbarBackend.h: remove #include <algorithm>.
4123         * changes.h: remove #include <ctime>.
4124         * debug.h: remove #include <iosfwd>.
4125         * graph.h: remove #include "support/std_string.h".
4126         * lyx_main.h: remove #include <csignal>.
4127         * lyxlex_pimpl.h: remove #include <fstream>.
4128         * sgml.h: remove #include <algorithm>, <utility>.
4129         * toc.h: remove #include "support/std_ostream.h".
4130         Add #include <iosfwd>.
4131
4132 2003-09-07  Angus Leeming  <leeming@lyx.org>
4133
4134         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4135
4136         * converter.h: forward declare LatexRunParams.
4137         * encoding.h: remove #include "lyxrc.h".
4138         * lyxtext.h: remove #include "LColor.h".
4139         * lyxtextclass.h: remove #include "support/types.h".
4140         * trans.h: remove #include "tex-accent.h".
4141         * trans_mgr.h: remove #include "tex-accent.h".
4142         * insets/inset.h: remove #include "support/types.h", <vector>.
4143         * insets/insetcollapsable.h: remove #include "LColor.h".
4144         * insets/insetinclude.h: remove #include "dimension.h".
4145         * insets/insetlatexaccent.h: remove #include "dimension.h".
4146         * insets/insetoptarg.h:: remove #include "insettext.h".
4147         * insets/insettext.h: remove #include "dimension.h",
4148         <boost/shared_ptr.hpp>
4149
4150         * insets/renderers.h: add #include "dimension.h".
4151         * insets/updatableinset.h: add #include "support/types.h".
4152
4153         * many .C files: Associated changes.
4154
4155 2003-09-06  Angus Leeming  <leeming@lyx.org>
4156
4157         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4158         one, inside testInvariant.
4159
4160         * PrinterParams.C: new file.
4161         * PrinterParams.[Ch]: move the function bodies out of line.
4162
4163 2003-09-06  Angus Leeming  <leeming@lyx.org>
4164
4165         * ParagraphParameters.h: forward declare ParameterStruct rather than
4166         including its header file.
4167         (depth): moved out-of-line.
4168
4169 2003-09-06  Angus Leeming  <leeming@lyx.org>
4170
4171         * BufferView_pimpl.h:
4172         * kbmap.h:
4173         * kbsequence.h:
4174         * lyxfunc.h: forward declare LyXKeySym rather than
4175         #include "frontends/LyXKeySym.h".
4176
4177         * BufferView_pimpl.C:
4178         * kbmap.C:
4179         * kbsequence.C:
4180         * lyxfunc.C: associated changes.
4181
4182 2003-09-06  Angus Leeming  <leeming@lyx.org>
4183
4184         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4185         As a result, can remove the #include "insets/inset.h" from BufferView.h
4186
4187 2003-09-06  Angus Leeming  <leeming@lyx.org>
4188
4189         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4190         As a result, can remove the #include "insets/inset.h" from BufferView.h
4191
4192 2003-09-06  Angus Leeming  <leeming@lyx.org>
4193
4194         * buffer_funcs.C:
4195         * buffer.h:
4196         * bufferlist.C:
4197         * BufferView.C:
4198         * bufferview_funcs.C:
4199         * BufferView_pimpl.C:
4200         * CutAndPaste.C:
4201         * lyx_cb.C:
4202         * lyxfunc.C:
4203         * paragraph.h:
4204         * ParagraphParameters.C:
4205         * tabular.C:
4206         * text3.C:
4207         * toc.C:
4208         * undo_funcs.C:
4209         * frontends/controllers/ControlDocument.C:
4210         * insets/insetcaption.C: rearrange the #includes into some sort of
4211         coherent order.
4212
4213         * buffer.h: remove #includes ErrorList.h, undo.h
4214
4215 2003-09-06  Angus Leeming  <leeming@lyx.org>
4216
4217         * support/types.h: add a 'depth_type' typedef, used to store the
4218         nesting depth of a paragraph.
4219
4220         * paragraph.h:
4221         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4222         defining explicitly.
4223
4224         * buffer.h:
4225         * paragraph_funcs.h:
4226         * ParagraphParameters.h:
4227         * sgml.h: use lyx::depth_type rather than Paragraph or
4228         ParameterStruct's depth_type.
4229
4230         * buffer.h
4231         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4232
4233         * BufferView.C:
4234         * BufferView_pimpl.C:
4235         * CutAndPaste.C:
4236         * ParagraphParameters.C:
4237         * buffer_funcs.C:
4238         * bufferlist.C:
4239         * bufferview_funcs.C:
4240         * lyx_cb.C:
4241         * lyxfunc.C:
4242         * tabular.C:
4243         * text3.C:
4244         * toc.C:
4245         * undo_funcs.C:
4246         * frontends/LyXView.C:
4247         * frontends/controllers/ControlDocument.C:
4248         * frontends/controllers/ControlErrorList.C:
4249         * insets/insetbibitem.C:
4250         * insets/insetbranch.C:
4251         * insets/insetcaption.C:
4252         * insets/insetcollapsable.C:
4253         * insets/insetenv.C:
4254         * insets/insetert.C:
4255         * insets/insetfloat.C:
4256         * insets/insetfoot.C:
4257         * insets/insetfootlike.C:
4258         * insets/insetnewline.C:
4259         * insets/insetquotes.C:
4260         * insets/insettabular.C:
4261         * insets/insettext.C:
4262         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4263
4264         * frontends/controllers/ControlChanges.C: #include "changes.h".
4265
4266 2003-09-06  Angus Leeming  <leeming@lyx.org>
4267
4268         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4269         than #including paragraph.h.
4270
4271         * ParagraphList.h:
4272         * RowList.h: deleted. Superfluous.
4273
4274         * CutAndPaste.h:
4275         * iterators.h:
4276         * lyxcursor.h:
4277         * lyxtext.h:
4278         * text_funcs.h:
4279         * undo.h:
4280         * undo_funcs.h:
4281         * insets/inset.h:
4282         * insets/insettext.h: use ParagraphList_fwd.h rather than
4283         ParagraphList.h.
4284
4285         * paragraph.h: don't forward declare ParagraphList.
4286
4287         * buffer.h:
4288         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4289         rather than ParagraphList.h. paragraph.h is still needed for the
4290         Paragraph::depth_type parameters.
4291
4292         * textcursor.h: enable it to compile stand-alone in light of the
4293         above changes.
4294
4295         * bufferview_funcs.C:
4296         * iterators.C:
4297         * lyxfunc.C:
4298         * lyxrow_funcs.C:
4299         * paragraph.C:
4300         * rowpainter.C:
4301         * text.C:
4302         * text2.C:
4303         * text3.C:
4304         * text_funcs.C:
4305         * textcursor.C:
4306         * undo.C:
4307         * frontends/controllers/ControlParagraph.C:
4308         * frontends/controllers/ControlTabular.C:
4309         * insets/insetmarginal.C:
4310         * insets/insetminipage.C:
4311         * insets/insetnote.C:
4312         * insets/insetoptarg.C: add header files needed to compile again.
4313
4314 2003-09-06  Angus Leeming  <leeming@lyx.org>
4315
4316         * RowList_fwd.h: new file, forward-declaring Row rather than
4317         #including lyxrow.h.
4318
4319         * lyxrow_funcs.h:
4320         * lyxtext.h:
4321         * paragraph.h:
4322         * insets/insettext.h: use it instead of RowList.h
4323
4324         * bufferview_funcs.C:
4325         * lyxfunc.C:
4326         * lyxrow_funcs.C:
4327         * paragraph.C:
4328         * rowpainter.C:
4329         * text.C:
4330         * text2.C:
4331         * text3.C: #include "RowList.h".
4332
4333 2003-09-05  Angus Leeming  <leeming@lyx.org>
4334
4335         * factory.C (createInset):
4336         * vspace.C (c-tor): replace sscanf call with an istringstream.
4337         * ispell.C: re-add missing HP/UX headers.
4338         * lyxserver.C: re-add missing  os2 headers.
4339
4340 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4341
4342         * BranchList.C:
4343         * graph.C:
4344         * ispell.C:
4345         * lastfiles.C:
4346         * lyx_cb.C:
4347         * lyxserver.C:
4348         * texrow.C:
4349         * text3.C: re-add missing system headers, needed for 2.95.2.
4350
4351 2003-09-05  Angus Leeming  <leeming@lyx.org>
4352
4353         Changes most place everywhere due to the removal of using directives
4354         from support/std_sstream.h.
4355
4356 2003-09-05  Angus Leeming  <leeming@lyx.org>
4357
4358         Replace LString.h with support/std_string.h,
4359         Lsstream.h with support/std_sstream.h,
4360         support/LIstream.h with support/std_istream.h,
4361         support/LOstream.h with support/std_ostream.h.
4362
4363         Changes resulting throughout the tree.
4364
4365 2003-09-05  Angus Leeming  <leeming@lyx.org>
4366
4367         * sgml.h: ensure that the header file can be compiled stand-alone.
4368         * *.C: strip out redundant #includes. (320 in total.)
4369
4370 2003-09-04  Angus Leeming  <leeming@lyx.org>
4371
4372         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4373         here (from getPackages).
4374
4375         * debug.[Ch]: add a new EXTERNAL tag.
4376
4377 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4378
4379         * text2.C (cursorEnd): simplify
4380         (setCursor): adjust
4381         (getColumnNearX): adjust
4382
4383         * text.C (computeBidiTables): adjust
4384         (fill): adjust
4385
4386         * rowpainter.C (paintChars): adjust
4387         (paintSelection): adjust
4388         (paintChangeBar): adjust
4389         (paintText): adjust
4390
4391         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4392         lastPos instead.
4393         (numberOfSeparators): adjust
4394
4395 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4396
4397         * LyXAction.C:
4398         * box.[Ch]:
4399         * lfuns.h:
4400         * lyxfunc.C:
4401         * text3.C: Restricts the mouse click functionality
4402         of insets like bibtex, include, toc and floatlist to the visible
4403         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4404         up the dialogs. Cursor has to be in front of the inset (i.e.
4405         start of row) for this to function.
4406
4407 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4408
4409         * bufferview_funcs.C (currentState): output row information
4410
4411 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4412
4413         * bufferview_funcs.C (currentState): output paragraph position
4414
4415 2003-09-04  Angus Leeming  <leeming@lyx.org>
4416
4417         * FloatList.h: move out #include "Floating.h".
4418         * LaTeX.h: move out #include "DepTable.h".
4419         * LyXAction.h: move out #include "funcrequest.h".
4420         * buffer.h: move out #include "author.h", "iterators.h".
4421         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4422         * lyx_main.h: move out #include "errorlist.h".
4423         * lyxfunc.h: move out #include "FuncStatus.h".
4424         * lyxtext: move out #include "lyxcursor.h".
4425         * paragraph_pimpl.h: move out #include "counters.h".
4426
4427 2003-09-03  Angus Leeming  <leeming@lyx.org>
4428
4429         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4430         preamble_snippets list, enabling us to add snippets to the preamble
4431         only if the snippet was not there already.
4432
4433 2003-09-04  Angus Leeming  <leeming@lyx.org>
4434
4435         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4436
4437 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4438
4439         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4440         update
4441
4442 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4443
4444         * BranchList.C: point fix, earlier forgotten
4445
4446 2003-09-02  Angus Leeming  <leeming@lyx.org>
4447
4448         * box.C (contains): renamed from 'contained' after a fantastic
4449         amount of hot air.
4450
4451 2003-09-02  John Levon  <levon@movementarian.org>
4452
4453         * BufferView.C:
4454         * lyxcursor.h:
4455         * lyxcursor.C:
4456         * lyxfunc.C:
4457         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4458
4459 2003-09-02  John Levon  <levon@movementarian.org>
4460
4461         * text2.C: simplification of cursorEnd(), including partial
4462         fix for bug 1376
4463
4464 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * buffer.C (readFile): add a space
4467
4468 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4469
4470         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4471
4472 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4473
4474         * buffer.C (readFile): new function, take a filename and a
4475         ParagraphList::iterator
4476         (readFile): adjust
4477         (readFile): adjust, make it private. don't use setStream, make
4478         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4479         always contain the filename.
4480
4481         * BufferView.C (insertLyXFile): simplify and make it work for
4482         gzipped files.
4483
4484 2003-08-30  John Levon  <levon@movementarian.org>
4485
4486         * Makefile.am: fix dist (from Kayvan)
4487
4488 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4489
4490         * most files: change to use const Buffer refs
4491
4492 2003-08-27  André Pönitz  <poenitz@gmx.net>
4493
4494         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4495         on top of ownerPar().
4496
4497 2003-08-27  John Levon  <levon@movementarian.org>
4498
4499         * funcrequest.C: properly initialise POD members
4500
4501 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * lyxtext.h (top_y): move top_y from here
4504         * text.C:
4505         * text2.C:
4506         * text3.C:
4507         * BufferView.[Ch]:
4508         * BufferView_pimpl.[Ch]: to here
4509         * frontends/screen.C:
4510         * insets/insettabular.C:
4511         * insets/insettext.C: adjust
4512         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4513
4514 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4515
4516         * BufferView.[Ch]:
4517         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4518
4519 2003-08-26  André Pönitz  <poenitz@gmx.net>
4520
4521         * paragraph_func.[Ch] (outerPar): new function
4522
4523         * paragraph.C:
4524         * paragraph_funcs.C:
4525         * paragraph_funcs.h:
4526         * paragraph_pimpl.C:
4527         * text2.C: remove Inset::par_owner
4528
4529 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4530
4531         * lyxrow_funcs.C:
4532         * lyxtext.h:
4533         * text.C:
4534         * text2.C: eliminates the needFullRow/display() stuff
4535         altogether, putting the logic in metrics/draw in the insets.
4536
4537 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * text2.C (redoParagraphInternal, redoParagraphs):
4540         * text.C (redoParagraph): add a call to updateRowPositions at the
4541         end of each 'metrics-like' call. Remove all others.
4542         (getRow): remove the 'y-computing' version.
4543         (getRowNearY): do not compute nor return the real y. Solve the
4544         'y < 0' problem and simplify.
4545
4546 2003-08-22  Angus Leeming  <leeming@lyx.org>
4547
4548         * *.[Ch]: clean-up of licence and author blurbs.
4549         Also move config.h out of a few .h files and into a few .C files.
4550
4551 2003-08-22  André Pönitz  <poenitz@gmx.net>
4552
4553         * lyxrow.[Ch]: add x_ and *fill_ members
4554
4555         * lyxtext.h:
4556         * text.C:
4557         * rowpainter.C:
4558         * text2.C: adjust/remove prepareToPrint() calls
4559
4560 2003-08-22  André Pönitz  <poenitz@gmx.net>
4561
4562         * lyxrow.[Ch]: add  end_ member
4563
4564         * lyxrow_funcs.C: use LyXRow::end_
4565
4566         * lyxtext.h (singleWidth): add LyXFont parameter
4567
4568         * rowpainter.C:
4569         * text2.C: adjust LyXText::singleWidth() calls
4570
4571         * text.C (redoParagraph): simplify row breaking logic
4572
4573
4574 2003-08-19  André Pönitz  <poenitz@gmx.net>
4575
4576         * funcrequest.C: initialize button_ member
4577
4578         * text3.C:
4579         * rowpainter.[Ch]: interface consolidation
4580
4581 2003-08-18  André Pönitz  <poenitz@gmx.net>
4582
4583         * BufferView.C:
4584         * BufferView_pimpl.C:
4585         * lyxfind.C:
4586         * paragraph_funcs.C:
4587         * rowpainter.C:
4588         * text3.C: remove LyXScreen::draw() and fitCursor calls
4589
4590         * BranchList.h: remove spurious semicolons
4591
4592         * MenuBackend.C: fix branchlist related crash
4593
4594 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4595
4596         * BranchList.[Ch]:
4597         * InsetList.[Ch]:
4598         * LColor.[Ch]:
4599         * LyXAction.C:
4600         * Makefile.am:
4601         * MenuBackend.[Ch]:
4602         * bufferparams.[Ch]:
4603         * factory.C:
4604         * lfuns.h:
4605         * lyxfunc.C:
4606         * text3.C: implements the 'branch inset'
4607         idea. This allows the output of various versions of a document
4608         from a single source version, selectively outputing or suppressing
4609         output of parts of the text.
4610         This implementation contains a 'branch list editor' in a separate
4611         tab of the document settings dialog. Branches are user definable
4612         and have a "display colour" to distinguish them on-screen.
4613
4614         ColorHandler was somewhat cleaned up.
4615         (1) make possible a dynamically growing LColor list by allowing
4616         the graphic context cache to grow along (vector);
4617         (2) eliminate an IMHO unnecessary step in colour allocation.
4618
4619 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4620
4621         * BufferView_pimpl.C: compile fix
4622
4623 2003-08-15  André Pönitz  <poenitz@gmx.net>
4624
4625         * rowpainter.C: remove extra metrics calls
4626
4627         * lyxtext.h: merge the two constructors into a single one,
4628           pass reference to owner's par list
4629
4630         * BufferView_pimpl.C:
4631         * text.C:
4632         * text2.C: adjust
4633
4634 2003-08-15  André Pönitz  <poenitz@gmx.net>
4635
4636         * lyxrow_funcs.[Ch]:
4637         * lyxtext.h:
4638         * paragraph.h:
4639         * paragraph_funcs.C:
4640         * rowpainter.C:
4641         * text.C:
4642         * text2.C:
4643         * text3.C:
4644         * text_funcs.C: split LyXText::rowlist_ into individual
4645         Paragraph::rows_ chunks
4646
4647         * BufferView.[Ch]:
4648         * BufferView_pimpl.[Ch]:
4649         * lyxfind.C:
4650         * lyxtext.h:
4651         * text3.C: remove toggleSelection()
4652
4653 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4654
4655         * bufferlist.C: beautify two alerts (shorter text of buttons)
4656         * buffer.C: Remove redundant ' ' from message
4657         * tabular.h:
4658         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4659         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4660         rename VALIGN_CENTER to VALIGN_MIDDLE
4661
4662 2003-08-11  André Pönitz  <poenitz@gmx.net>
4663
4664         * lyxtext.h (getPar):
4665         * text.C: new function
4666
4667 2003-08-11  André Pönitz  <poenitz@gmx.net>
4668
4669         * Makefile.am:
4670         * tracer.[Ch]: remove unneeded files
4671
4672         * InsetList.[Ch]: remove resizeInsetsLyXText()
4673
4674         * lyxtext.h:
4675         * text.C:
4676         * text2.C:
4677         * text3.C: merge insertParagraphs() and appendParagraph()
4678         remove breakAgain(), update()
4679
4680         * BufferView_pimpl.[Ch]:
4681         * bufferview_funcs.[Ch]:
4682         * lyxfunc.C:
4683         * paragraph.[Ch]:
4684         * rowpainter.C:
4685         * tabular.C: adjust after text & InsetList changes.
4686
4687 2003-08-08  André Pönitz  <poenitz@gmx.net>
4688
4689         * text.C (insertChar, backspace): replace rowlist fiddling
4690         with rebreak of full par
4691
4692         * lyxtext.h:
4693         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4694         checkParagraph, updateInset): removed
4695
4696 2003-08-07  André Pönitz  <poenitz@gmx.net>
4697
4698         * paragraph.C:
4699         * text3.C: merge some LFUN handlers, remove dead code
4700
4701 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4702
4703         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4704
4705 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4706
4707         * text2.C (DEPM): fix part of bug 1255 and 1256
4708
4709 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4710
4711         * BufferView_pimpl.C (workAreaDispatch): change to use
4712         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4713         that are no mouse related.
4714
4715 2003-08-05  André Pönitz  <poenitz@gmx.net>
4716
4717         * BufferView.[Ch]:
4718         * BufferView_pimpl.[Ch]:
4719         * bufferview_funcs.C:
4720         * text2.C:
4721         * text3.C: rip out "deep update"
4722
4723         * textcursor.[Ch] (last_sel_cursor): remove unused member
4724
4725 2003-08-04  André Pönitz  <poenitz@gmx.net>
4726
4727         * BufferView.[Ch]:
4728         * BufferView_pimpl.[Ch]:
4729         * ParagraphParameters.C:
4730         * bufferview_funcs.C:
4731         * lyx_cb.C:
4732         * lyxfind.C:
4733         * lyxfunc.C:
4734         * text.C:
4735         * text2.C:
4736         * text3.C: replace "complicated" BufferView::update(...) calls with
4737         simpler ones.
4738
4739         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4740
4741 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4742
4743         * Makefile.am (lyx_SOURCES): add paper.h
4744
4745 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4746
4747         * Makefile.am: move things around so that both lyx-qt and
4748         lyx-xforms can be built (according to --with-frontend). Then lyx
4749         is a symbolic link to lyx-[firstfrontend]
4750
4751 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4752
4753         * Always use std::endl with lyxerr
4754
4755 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4756
4757         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4758
4759 2003-08-01  André Pönitz  <poenitz@gmx.net>
4760
4761         * BufferView.[Ch]:
4762         * BufferView_pimpl.[Ch]:
4763         * lyxfunc.C:
4764         * text3.C: merge BufferView::repaint() and BufferView::update()
4765
4766 2003-08-01  José Matos  <jamatos@lyx.org>
4767
4768         * buffer.[Ch]: file_format is no longer a buffer data element.
4769
4770 2003-08-01  André Pönitz  <poenitz@gmx.net>
4771
4772         * BufferView.C:
4773         * lyxtext.h:
4774         * text.C:
4775         * text2.C: make redoParagraph more independent of current cursor
4776
4777         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4778         * text.C:
4779         * text2.C: remove unneeded members
4780
4781 2003-07-30  André Pönitz  <poenitz@gmx.net>
4782
4783         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4784
4785         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4786           create a single function...
4787
4788         * paragraph_funcs.C (moveItem): ... here.
4789
4790         * text.C:
4791           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4792
4793 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4794
4795         * LColor.[Ch]: Add comment and greyedout logical colors.
4796
4797 2003-07-30  André Pönitz  <poenitz@gmx.net>
4798
4799         * tabular.C: don't use Assert too heavily. This crashes where it
4800           shouldn't
4801
4802 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4803
4804         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4805         is disabled (bug 1232)
4806
4807 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4808
4809         * factory.C: limited 'arg' scope
4810
4811 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4812
4813         * factory.C: fixed Note submenu issues
4814
4815 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4816
4817         * factory.C: submenu for Note/Comment/Greyedout
4818
4819 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4820
4821         * lyx_main.C (LyX):
4822         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4823
4824 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4825
4826         * LaTeXFeatures.C:
4827         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4828         greyedout. Patch provided by Jürgen Spitzmüller.
4829
4830 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4831
4832         * kbmap.C (read): fix error message when reading bind files
4833
4834 2003-07-29  Angus Leeming  <leeming@lyx.org>
4835
4836         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4837         certainly does not do what it purports to do. I am doing it, and
4838         us, a favour by killing it.
4839
4840 2003-07-28  José Matos  <jamatos@lyx.org>
4841
4842         * buffer.C (readBody, do_writeFile):
4843         * paragraph.C(readParagraph): \end_document replaces \the_end.
4844
4845 2003-07-29  André Pönitz  <poenitz@gmx.net>
4846
4847         * BufferView.[Ch]:
4848         * BufferView_pimpl.[Ch]:
4849         * lyxfunc.C:
4850         * text2.C:
4851         * text3.C:
4852         * textcursor.[Ch]: remove toggleToggle & Co
4853
4854 2003-07-28  José Matos  <jamatos@fep.up.pt>
4855
4856         * buffer.C (readParagraph):
4857         * params_func (readParToken, readParagraph):
4858         * paragraph.C (write): \layout -> \begin_layout.
4859
4860 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4861
4862         * lyxlex_pimpl.C (setFile): clean up slightly.
4863
4864         * bufferparams.h: add compressed var
4865
4866         * buffer_funcs.C (readFile): adjust for LyXLex change
4867         (newFile): ditto + simplify
4868
4869         * buffer.C (writeFile): handle writing of compressed files
4870
4871         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4872         Check if the file is compressed and set a bufferparm if so.
4873
4874         * Makefile.am (lyx_LDADD): remove explicit -lz
4875
4876 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4877
4878         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4879         makeDocBookFile): put the real LyX version in the first line of
4880         the file
4881
4882         * version.h:
4883         * version.C.in: remove lyx_docversion
4884
4885         * tabular.C (write_attribute): add a template-based version to
4886         write enums properly
4887
4888 2003-07-28  André Pönitz  <poenitz@gmx.net>
4889
4890         * lyxtext.h:
4891         * text.C:
4892         * text2.C:
4893         * text3.C: use doubles again for x-coordinates. They are needed.
4894
4895 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * messages.C (getLocaleDir): use lyx_localedir()
4898
4899         * lyxlex_pimpl.C (setFile): compress stuff
4900
4901         * buffer.C (writeFile): add some compression stuff
4902         (do_writeFile): new func, dont call expliti close... will this
4903         breake anything?
4904
4905         * Makefile.am (lyx_LDADD): add -lz
4906
4907 2003-07-28  José Matos  <jamatos@fep.up.pt>
4908
4909         * buffer.C: increment file format.
4910         * paragraph_funcs (readParagraph, readParToken):
4911         * paragraph.C (readParagraph): add \end_layout.
4912
4913 2003-07-27  Angus Leeming  <leeming@lyx.org>
4914
4915         * Makefile.am: remove special casing for configure-time setting of
4916         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4917
4918         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4919         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4920
4921 2003-07-26  André Pönitz  <poenitz@gmx.net>
4922
4923         * paragraph_func.[Ch]:
4924         * paragraph.C (realizeFont): inline it whereever it is used
4925
4926         * rowpainter.C:
4927         * text.C:
4928         * text2.C:
4929         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4930
4931
4932 2003-07-26  André Pönitz  <poenitz@gmx.net>
4933
4934         *       lyxtext.h:
4935         * text.C:
4936         * text2.C: get rid of LyXText::need_break_row
4937
4938 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4939
4940         * toc.[Ch]: put namespace toc inside namespace lyx
4941
4942         * MenuBackend.C (expandToc2): adjust for lyx::toc
4943         (expandToc): ditto
4944
4945         * lyxfunc.C (dispatch): adjust for lyx::find
4946
4947         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4948         lyx::find instead. Reorganize a bit.
4949         (LyXReplace): rename to replace
4950         (LyXFind): rename to find
4951
4952         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4953         (dispatch): ditto
4954
4955 2003-07-26  André Pönitz  <poenitz@gmx.net>
4956
4957         * text.C (setHeightOfRow): restrict scope of temporary variable
4958
4959         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4960           code (never has been used?)
4961
4962 2003-07-27  Asger Alstrup  <alstrup@local>
4963
4964         * text.C (fill): Optimise algorithm to exploit that we can reuse
4965         the LyXFont for many characters.
4966         (setHeightOfRow): Same thing.
4967         (rowBreakPoint): Same thing.
4968
4969 2003-07-26  Asger Alstrup  <alstrup@local>
4970
4971         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4972
4973         * text.C (singleWidth): Spurious font copying in hot-spot
4974         singleWidth avoided. Reorder tests for arabic for efficiency.
4975
4976         * text.C (fill): handle empty paragraphs better.
4977
4978 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4979
4980         * ispell.C:
4981         * encoding.h: add includes
4982
4983         * lyxrc.C: remove reading of bind files
4984
4985         * lyx_main.C (init): setup bindings and menus only if we have a
4986         gui.
4987
4988         * kbmap.C (read): new method. Do the actual reading of bind
4989         files.
4990
4991         * converter.C (dvipdfm_options):
4992         * bufferparams.C:
4993         * lyxrc.C (read):
4994         (output): adapt PAPER_* enums.
4995
4996         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4997
4998         * bufferparams.h: remove paper-related enums from there
4999
5000         * paper.h: New file. A trivial header file to hold paper-related
5001         enums. It should later expand to contain many paper-related
5002         horrors access.
5003
5004         * lyxrc.C: declare extern displayTranslator
5005
5006 2003-07-27  José Matos  <jamatos@fep.up.pt>
5007
5008         * tabular.[Ch] (linuxdoc): add support for tables and figures
5009         (linuxdoc).
5010
5011 2003-07-27  José Matos  <jamatos@fep.up.pt>
5012
5013         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5014         consistency in both functions.
5015         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5016
5017 2003-07-26  Asger Alstrup  <alstrup@local>
5018
5019         * rowpainter.C (paintRows): Change algorithm to work directly on
5020         the insets rather than asking every character in the document
5021         whether its an inset.
5022
5023 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5024
5025         * buffer.C (openFileWrite): factorize some code
5026
5027 2003-07-26  Angus Leeming  <leeming@lyx.org>
5028
5029         * lyx_cb.C:
5030         * lyx_main.[Ch]: replace occurances of system_tempdir with
5031         os::getTmpDir().
5032
5033 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5034
5035         * rename Inset to InsetOld
5036
5037 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5038
5039         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5040         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5041         which I think is a bit clearer. EDIT is gone, since it was
5042         premature optimisation, and broken for mathed anyway.
5043         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5044         with cursor positioning in insets as well (math insets still do not
5045         work, but that's a different story anyway.) It mysteriously
5046         crashes sometimes with undo in the first paragraph, but I'm fairly
5047         confident that this is a compiler bug.
5048
5049 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5050
5051         * paragraph.C (Paragraph): adjust for new clone return type
5052         (operator==): ditto
5053         (copyIntoMinibuffer): ditto
5054
5055 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5056
5057         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5058         by not having a special case, and always doing a full rebreak of
5059         the document after undo.
5060
5061 2003-07-23  Angus Leeming  <leeming@lyx.org>
5062
5063         * factory.C (createInset): InsetExternal::setParams now takes a
5064         Buffer const * arg.
5065
5066 2003-07-23  Angus Leeming  <leeming@lyx.org>
5067
5068         * factory.C (createInset): changed interface to the external and
5069         graphics mailers' string2params functions.
5070
5071 2003-07-23  Angus Leeming  <leeming@lyx.org>
5072
5073         * factory.C (createInset): pass a
5074         Buffer const * parameter to InsetExternalMailer's string2params.
5075
5076 2003-07-22  John Levon  <levon@movementarian.org>
5077
5078         * Thesaurus.h: include the right aiksaurus header
5079
5080 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5081
5082         * MenuBackend.C (expand): check menu shortcuts unconditionally
5083
5084 2003-07-21  Angus Leeming  <leeming@lyx.org>
5085
5086         * factory.C (createInset): pass a
5087         buffer_path parameter to InsetGraphicsMailer's string2params.
5088
5089 2003-07-21  Angus Leeming  <leeming@lyx.org>
5090
5091         * BufferView_pimpl.C (buffer):
5092         * buffer.C (d-tor):
5093         * lyx_main.C (LyX):
5094         * lyxfunc.C (dispatch):
5095         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5096         rather than the grfx shortcut.
5097
5098 2003-07-21  André Pönitz  <poenitz@gmx.net>
5099
5100         * rowpainter.C: remove unused variables
5101
5102         * tabular_funcs.C:
5103         * tabular_funcs.h: move to tabular.C
5104         * Makefile.am: adjust
5105
5106         * tabular.[Ch]: basic optical cleaning
5107
5108         * author.h: pass references, not values
5109
5110 2003-07-18  André Pönitz  <poenitz@gmx.net>
5111
5112         * lyxtext.h:
5113         * metricsinfo.C:
5114         * metricsinfo.h:
5115         * rowpainter.C:
5116         * text.C:
5117         * text2.C:
5118         * text3.C: two-phase drawing for InsetText and InsetTabular
5119         some float -> int changes.
5120
5121 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5122
5123         * lyx_main.C: fix the fix
5124
5125 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5126
5127         * lyx_main.C: fix a crash in batch mode if no files specified
5128         * converter.C: ws
5129
5130 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5131
5132         * format.[Ch] (papersize): moved to BufferParams
5133         * converter.[Ch] (dvips_options): moved to BufferParams
5134         (dvipdfm_options): moved to anon namespace
5135         * bufferparams.[Ch]: added above functions.
5136
5137 2003-07-17  André Pönitz  <poenitz@gmx.net>
5138
5139         * lyxtext.h:
5140         * rowpainter.C:
5141         * text2.C: don't call inset->update() anymore
5142
5143         * metricsinfo.[Ch]: add convenience constructor
5144
5145 2003-07-16  André Pönitz  <poenitz@gmx.net>
5146
5147         * lyxcursor.[Ch]:
5148         * lyxfunc.[Ch]:
5149         * text.C:
5150         * text2.C: replace the LyXCursor::irow_ member with
5151          on-demand computation of the value
5152
5153 2003-07-16  John Levon  <levon@movementarian.org>
5154
5155         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5156
5157 2003-07-15  André Pönitz  <poenitz@gmx.net>
5158
5159         * text.C:
5160         * text2.C: remove no more needed refresh_row
5161
5162 2003-07-15  André Pönitz  <poenitz@gmx.net>
5163
5164         * lyxtext.h:
5165         * rowpainter.C:
5166         * text2.C:
5167         * text3.C: refresh_status tristate -> need_update bool
5168
5169 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5170
5171         * lyxtext.h (init): remove reinit argument (act as if always true)
5172         * text2.C: adjust to that
5173
5174 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5175
5176         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5177         * text3.C: use it to delete selections in some cases
5178         (bugs 441, 673, 702, 954).
5179
5180 2003-07-14  André Pönitz  <poenitz@gmx.net>
5181
5182         * rowpainter.[Ch]: reduce interface
5183
5184 2003-07-14  André Pönitz  <poenitz@gmx.net>
5185
5186         * BufferView_pimpl.C:
5187         * text2.C: adjust after removing unused BufferView * argument
5188
5189 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5190
5191         * text2.C (init): fix a crash fired on resize
5192
5193 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5194
5195         * buffer.[Ch]: added new closing signal
5196         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5197         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5198         BufferView::Pimpl via the closing the signal
5199
5200 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5201
5202         * buffer.[Ch]: take out all bv-related from buffer
5203         * BufferView.C:
5204         * BufferView_pimpl.[Ch]: connect to new signals
5205         * CutAndPaste.C: removed useless asserts
5206         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5207         * lyxvc.[Ch]:
5208         * vc-backend.[Ch]:
5209         * lyxfunc.C: moved view-related funciontality from vc here
5210         * paragraph.C: removed outdated comments
5211         * text.C: ws
5212
5213 2003-07-10  André Pönitz  <poenitz@gmx.net>
5214
5215         * BufferView_pimpl.C:
5216         * tabular.h:
5217         * tabular_funcs.C:
5218         * text.C:
5219         * text2.C: remove InsetText::InnerCache, clean up consequences
5220
5221 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5222
5223         * ispell.C: fix two typos in error messages
5224
5225 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5226
5227         * Extend Note inset to other forms of annotation like Comment
5228         and Greyedout. Right button click gives dialog.
5229
5230         Files modified or added (+):
5231
5232         * insetnote.[Ch]
5233         * FormNote.[Ch]      +
5234         * ControlNote.[Ch]   +
5235         * form_note.fd       +
5236         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5237         frontends/controllers
5238         * xforms/Dialogs.C
5239         * factory.C
5240
5241 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5242
5243         * aspell.C: add missing namespace lyx::support
5244
5245 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5246
5247         * BufferView.[Ch] (newFile): Add
5248         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5249         * LaTeX.[Ch] (message): added this signal and use it
5250         * buffer.[Ch] (busy, message): added these signals and use them
5251         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5252         * converter.C:
5253         * exporter.C:
5254         * format.C:
5255         * importer.C: use buffer signals instead of direct bv calling
5256         * lyx_cb.[Ch] (ShowMessage): removed
5257         * lyx_main.C:
5258         * lyxfunc.C:
5259         * paragraph_funcs.C:
5260         * text2.C: use buffer signals
5261
5262 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5263
5264         * introduce namespace lyx::graphics
5265
5266 2003-07-02  André Pönitz  <poenitz@gmx.net>
5267
5268         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5269
5270 2003-07-01  André Pönitz  <poenitz@gmx.net>
5271
5272         * text.C:
5273         * text2.C:
5274         * text3.C:
5275         * text_funcs.[Ch]:
5276         * textcursor.h:
5277         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5278           text*.C to text_func.C
5279
5280 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * introduce namespace lyx::support
5283
5284 2003-06-30  André Pönitz  <poenitz@gmx.net>
5285
5286         * Chktex.C:
5287         * funcrequest.C:
5288         * lyxtext.h:
5289         * text.C: re-enable --with-included-string
5290
5291 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * textcursor.C: add <config.h>
5294
5295         * text.C (getWord): remove const from word_location arg
5296
5297         * lyxvc.C (getLogFile): fix const type order
5298
5299         * lyxtext.h: remove const from word_location arg, add arg name
5300
5301         * lyxlayout.h: currect type on labeltype.
5302
5303         * importer.C: correct \file
5304
5305         * converter.C (intToFormat): use std:: on ret val, ws changes
5306
5307         * bufferlist.h: correct \file
5308
5309         * buffer.C (makeLinuxDocFile): fix const type order
5310         (makeDocBookFile): ditto
5311         (fillWithBibKeys): use std:: on stdlib args.
5312
5313         * CutAndPaste.C: fix authors.
5314         (availableSelections): use std:: on return vector
5315
5316 2003-06-27  André Pönitz  <poenitz@gmx.net>
5317
5318         * BufferView_pimpl.C:
5319         * bufferview_funcs.C:
5320         * lyxcursor.C:
5321         * lyxcursor.h:
5322         * lyxfunc.C:
5323         * lyxtext.h:
5324         * rowpainter.C:
5325         * text.C:
5326         * text2.C:
5327         * text3.C: remove LyXCursor::row_ member
5328
5329         * lyxtext.h:
5330         * text.C: rename fullRebreak() to partialRebreak() and implement
5331           a fullRebreak() that really bereks fully
5332
5333         * textcursor.h: new struct for cursor-related data
5334
5335 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5336
5337         * lyx_main.C (LyX): get full path of document loaded on the
5338         command line
5339
5340 2003-06-26  André Pönitz  <poenitz@gmx.net>
5341
5342         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5343           remove unused/broken operator>,<,>=.
5344
5345         *       text.C: remove only use of broken operator<= in an Assert().
5346
5347 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5348
5349         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5350         moved errorlist_.clear to showErrorList
5351
5352 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5353
5354         * converter.C (scanLog, runLaTeX):
5355         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5356         move the bv->showErrorList call to the callers
5357         * lyxfunc.C: i.e. here...
5358         * text2.C: and here
5359         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5360         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5361         namespace, the second to...
5362         * buffer_funcs (BufferFormat, parseErrors): added
5363         * errorlist.C (ErrorList(TeXErrors const &)): removed
5364
5365 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5366
5367         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5368
5369 2003-06-24  "Garst R. Reese" <reese@isn.net>
5370
5371         * debug.C: fix typo
5372
5373 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5374
5375         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5376
5377         * version.C.in: change docversion to 1.4
5378
5379 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5380
5381         * buffer.C: fix a bug just introduced
5382
5383 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5384
5385         * buffer.[Ch]: added the parseError signal and use it, removed
5386         sgmlError
5387         * BufferView.[Ch] (addError): moved to ...
5388         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5389         to the Buffer::parseError signal to catch (guess what) parse errors
5390         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5391
5392 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5393
5394         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5395         ability to create a buffer and to return an existing one from
5396         the list. Moved these functions to...
5397         * buffer_funcs.[Ch]: added
5398         * BufferView.[Ch] (loadLyXFile): added
5399         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5400         job removed from bufferlist::loadLyXFile.
5401         * buffer.C (setReadOnly): make it work without view
5402         (i.e added an if (users))
5403
5404 2003-06-19  Angus Leeming  <leeming@lyx.org>
5405
5406         * lfuns.h:
5407         * LyXAction.C (init):
5408         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5409         with LFUN_DIALOG_SHOW <name> <data>.
5410
5411 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5412
5413         * CutAndPaste.C (availableSelections): small compilation fix for
5414         ancient (gcc 2.9x) compilers
5415
5416 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * text3.C (cursorNext): add tmp var
5419
5420         * text2.C (updateCounters): for function calling out of for clause
5421         (replaceSelectionWithString): ditto
5422         (insertStringAsParagraphs): ditto
5423         (getColumnNearX): add tmp var
5424         (setCursorFromCoordinates): add tmp var
5425         (cursorDownParagraph): add tmp var
5426         (deleteEmptyParagraphMechanism): add tmp var
5427
5428         * text.C (insertChar): add tmp var
5429
5430         * rowpainter.C (paintDepthBar): add tmp var
5431
5432         * CutAndPaste.C (availableSelections): potentially check all
5433         paragraphs in a cut to fill the shown strings.
5434
5435 2003-06-18  André Pönitz  <poenitz@gmx.net>
5436
5437         * kbmap.[Ch]: use vector<> instead of list<>
5438
5439 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5440
5441         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5442         pasteSelection with index
5443
5444         * text2.C (pasteSelection): modify, call pasteSelection with index
5445
5446         * paragraph.C (asString): reimplement version with no interval to
5447         call the one with interval.
5448
5449         * lyxtext.h: add index arg to pasteSelection
5450
5451         * MenuBackend.C (MenuItem): handle PasteRecent
5452         (Menu::read::Menutags): add md_pasterecent
5453         (read): handle it
5454         (expandPasteRecent): new function
5455         (expand): use it
5456
5457         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5458
5459         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5460         the limited stack
5461         (availableSelections): new function
5462
5463 2003-06-17  Angus Leeming  <leeming@lyx.org>
5464
5465         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5466
5467 2003-06-17  Angus Leeming  <leeming@lyx.org>
5468
5469         * lfuns.h:
5470         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5471
5472         * lyxfunc.C (dispatch): invoke it.
5473
5474 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5475
5476         * iterators.C (operator++, ParPosition): reintroduce some
5477         const_cast for the benefit of older compilers.
5478
5479 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5480
5481         * text3.C (dispatch): do not modify clipboard when doing
5482         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5483         LFUN_DELETE_SKIP on a selection selection
5484
5485 2003-06-16  André Pönitz  <poenitz@gmx.net>
5486
5487         * BufferView.C:
5488         * buffer.C:
5489         * buffer.h:
5490         * paragraph.C:
5491         * tabular.[Ch]: IU of clone() and getLabelList();
5492
5493 2003-06-13  André Pönitz  <poenitz@gmx.net>
5494
5495         * tabular.h: compactification
5496
5497 2003-06-12  André Pönitz  <poenitz@gmx.net>
5498
5499         * tabular.C:
5500         * tabular.h:
5501         * tabular_funcs.h: some renaming plus whitespace
5502
5503 2003-06-12  André Pönitz  <poenitz@gmx.net>
5504
5505         * BufferView.C:
5506         * BufferView_pimpl.C:
5507         * CutAndPaste.C:
5508         * buffer.C:
5509         * iterators.[Ch]:
5510         * lyxfunc.C:
5511         * text.C:
5512         * toc.C: Return a Paragraph & for ParIterator::operator*()
5513
5514 2003-06-11  John Levon  <levon@movementarian.org>
5515
5516         * lyx_main.C:
5517         * ToolbarBackend.h:
5518         * ToolbarBackend.C: add "Toolbars" section and
5519         put the flags there
5520
5521 2003-06-10  Angus Leeming  <leeming@lyx.org>
5522
5523         * lfuns.h:
5524         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5525
5526         * lyxfunc.C (dispatch): invoke it.
5527
5528 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5529
5530         * main.C: protect <ios> with HAVE_IOS
5531         (main): protect sync_with_stdio with HAVE_IOS
5532
5533 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5534
5535         * text2.C (cutSelection): adjust
5536         (pasteSelection): adjust
5537
5538         * messages.C: handle get of empty string
5539
5540         * main.C (main): use sync_with_stdio(false)
5541
5542         * lyxfunc.C (dispatch): adjust
5543
5544         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5545         (WriteAs): remove unneeded BufferView arg.
5546
5547         * bufferparams.h: use correct types on papersize, papersize2 and
5548         paperpackage.
5549
5550         * bufferparams.C (readToken): adjust for type
5551         (writeLaTeX): add missing cases to switch.
5552
5553         * bufferlist.C (quitWriteBuffer): adjust
5554         (close): adjust
5555
5556         * buffer.C (asciiParagraph): remove some commented code.
5557
5558         * CutAndPaste.C: remove current_view extern variable.
5559         (cutSelection): add BufferParams arg.
5560         (eraseSelection): add BufferParams arg.
5561         (pasteSelection): add Buffer const & arg
5562
5563 2003-06-07  John Levon  <levon@movementarian.org>
5564
5565         * buffer.C:
5566         * paragraph_funcs.C:
5567         * paragraph_pimpl.C:
5568         * text.C:
5569         * text2.C:
5570         * paragraph.h:
5571         * paragraph.C: allow InsetERT to freely space lines,
5572         and some consolidation of code
5573
5574 2003-06-06  José Matos  <jamatos@fep.up.pt>
5575
5576         * buffer.C (makeDocBookFile): fix bug #821
5577
5578 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5579
5580         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5581
5582 2003-06-04  Angus Leeming  <leeming@lyx.org>
5583
5584         * buffer.C: bump format to 224.
5585
5586 2003-06-05  André Pönitz  <poenitz@gmx.net>
5587
5588         * text2.C (redoParagraphs): remove two const_cast<>
5589
5590 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5591
5592         * ParagraphList.h: remove last remnants of NO_STD_LIST
5593
5594 2003-06-03  Angus Leeming  <leeming@lyx.org>
5595
5596         * factory.C (createInset): small change to the way InsetExternal's params
5597         are set.
5598
5599 2003-06-04  André Pönitz  <poenitz@gmx.net>
5600
5601         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5602
5603         * paragraph_pimpl.h:
5604         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5605
5606         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5607
5608         * undo_funcs.C: make some simple cases of undo work again
5609
5610 2003-06-03  John Levon  <levon@movementarian.org>
5611
5612         * ispell.C: HPUX doesn't have sys/select.h
5613         (from Albert Chin)
5614
5615 2003-06-03  John Levon  <levon@movementarian.org>
5616
5617         * CutAndPaste.C: update tabular and include inset
5618         buffer references
5619
5620         * buffer.h:
5621         * paragraph.h:
5622         * paragraph.C: remove owningBuffer(), don't pass Buffer
5623         to clone()
5624
5625         * factory.C: insetGraphicsParams changed
5626
5627 2003-06-02  John Levon  <levon@movementarian.org>
5628
5629         * LyXAction.C:
5630         * factory.C:
5631         * lfuns.h:
5632         * lyxfunc.C:
5633         * text3.C: remove insetparent
5634
5635 2003-06-02  John Levon  <levon@movementarian.org>
5636
5637         * buffer.h:
5638         * buffer.C: fix inset_iterator.end(), move out of line
5639         (bug 1149)
5640
5641 2003-06-01  John Levon  <levon@movementarian.org>
5642
5643         * text3.C: use a proper cut/paste when doing inset
5644         insert (from Jürgen Spitzmüller)
5645
5646 2003-06-01  John Levon  <levon@movementarian.org>
5647
5648         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5649
5650 2003-05-30  André Pönitz  <poenitz@gmx.net>
5651
5652         * rowpainter.C: unify second drawing phase
5653
5654 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5655
5656         * trans_mgr.C: remove one case of current_view
5657
5658         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5659
5660         * paragraph_funcs.h: remove paragraph.h include
5661
5662         * paragraph.h: delete NO_STD_LIST stuff
5663
5664         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5665
5666         * buffer.h: remove paragraph.h include
5667
5668         * ParagraphList.C: delete file
5669
5670         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5671
5672         * toc.C (getTocList): adjust
5673
5674         * paragraph_pimpl.C (validate): adjust
5675
5676         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5677
5678         * paragraph.C (Paragraph): adjust
5679         (getPositionOfInset): use const_iterator, adjust
5680         (bibitem): use const_iterator, adjust
5681         (setInsetOwner): adjust
5682
5683         * iterators.C (operator++): adjust
5684
5685         * InsetList.[Ch]: Replace selfmade iterator with standard
5686         vector::iterator also introduce const_iterator. Remove getPos,
5687         getInset and setInset from InsetTable. Adjust accordingly.
5688
5689         * BufferView.C (lockInset): adjust
5690         (ChangeInsets): adjust
5691
5692         * tabular.[Ch]: delete commented same_id functions
5693
5694 2003-05-28  John Levon  <levon@movementarian.org>
5695
5696         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5697
5698 2003-05-28  André Pönitz  <poenitz@gmx.net>
5699
5700         * metricsinfo.[Ch]: remove 'fullredraw' member
5701
5702 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5703
5704         * lyxtextclass.C (operator): remove caching.
5705
5706 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * text3.C: adjust
5709
5710         * text2.C (cursorBottom): adjust
5711         (setCounter): use ParagraphList::find, adjust
5712
5713         * text.C (workWidth): use ParagraphList::find, adjust
5714
5715         * lyxcursor.C (LyXCursor): adjust
5716
5717         * buffer.C (inset_iterator): adjust
5718
5719         * ParagraphList.h: make iterator(value_type) private, make
5720         ParagraphList a friend of iterator.
5721
5722         * ParagraphList.C (find): new function
5723
5724         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5725
5726 2003-05-27  André Pönitz  <poenitz@gmx.net>
5727
5728         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5729
5730 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5731
5732         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5733
5734 2003-05-26  John Levon  <levon@movementarian.org>
5735
5736         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5737
5738 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5739
5740         * remove same_id from function signatures, adjust.
5741
5742 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5745
5746         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5747
5748         * paragraph.C (Paragraph): get rid of same_ids parameter
5749
5750         * ParagraphList.C (insert): adjust
5751         (push_back): adjust
5752
5753 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * paragraph_funcs.C (breakParagraph): adjust
5756         (breakParagraphConservative): adjust
5757
5758         * buffer.C (readParagraph): adjust
5759
5760         * ParagraphList.C (insert): take a reference instead of a pointer
5761         (insert): adjust
5762
5763         * paragraph.[Ch] (id): new function
5764
5765         * bufferlist.C (newFile): adjust
5766
5767         * ParagraphList.C (ParagraphList): adjust
5768         (assign): adjust
5769         (push_back): take a reference instead of a pointer.
5770
5771         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5772
5773         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5774         instead.
5775
5776         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5777         set else use old code.
5778
5779         * ParagraphList.C: remove all NO_NEXT code and only compile this
5780         code of NO_STD_LIST is set.
5781
5782 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5783
5784         * BufferView_pimpl.C:
5785         * TextCache.C:
5786         * TextCache.h:
5787         * bufferlist.C:
5788         * errorlist.h:
5789         * format.C:
5790         * format.h:
5791         * graph.C:
5792         * lyxfunc.C:
5793         * lyxrc.C:
5794         * graphics/GraphicsConverter.C:
5795         * graphics/PreviewLoader.C: header adjustment
5796
5797 2003-05-23  Angus Leeming  <leeming@lyx.org>
5798
5799         * LaTeXFeatures.[Ch] (useBabel): new method.
5800         * bufferparams.C (writeLaTeX): use it.
5801
5802 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5803
5804         * ParagraphList.h (set): remove unused function.
5805
5806 2003-05-23  André Pönitz  <poenitz@gmx.net>
5807
5808         * BufferView.C:
5809         * BufferView_pimpl.C:
5810         * buffer.C:
5811         * buffer.h:
5812         * lyxfunc.C:
5813         * undo_funcs.C: setUndo reworked
5814
5815         * iterators.[Ch]: add access to topmost ParagraphList
5816
5817         * lyxtext.[Ch] (workWidth): add a const
5818
5819 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5820
5821         * texrow.[Ch] (increasePos): remove function
5822         * exporter.C (export): removed unused var and outdated comment
5823
5824 2003-05-23  Angus Leeming  <leeming@lyx.org>
5825
5826         * latexrunparams.h: rename fragile as moving_arg.
5827         * paragraph.C (simpleTeXOnePar): ditto.
5828         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5829
5830 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5831
5832         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5833         (createUndo): ditto
5834         (textUndoOrRedo): comment out a currently unused var.
5835
5836         * paragraph.h (NO_NEXT): enable NO_NEXT
5837
5838         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5839
5840         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5841
5842         * exporter.C (Export): adjust for removeAutoInsets removal.
5843
5844         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5845
5846         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5847
5848         * BufferView.[Ch] (removeAutoInsets): delete function
5849
5850 2003-05-22  Angus Leeming  <leeming@lyx.org>
5851
5852         * latexrunparams.h: add a free_spacing variable.
5853
5854         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5855         to pass moving_arg, as the data is stored in runparams.fragile.
5856
5857         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5858         to Inset::latexOptional or to simpleTeXOnePar.
5859
5860         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5861         free_spacing arg to Inset::latexOptional.
5862
5863         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5864         free_spacing arg.
5865
5866 2003-05-22  Angus Leeming  <leeming@lyx.org>
5867
5868         * latexrunparams.h: add fragile and use_babel variables.
5869
5870         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5871         * buffer.C (makeLaTeXFile): store this returned value in
5872         runparams.use_babel, thus passing it to the inset::latex methods.
5873
5874         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5875         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5876
5877         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5878         longer has a fragile arg, as it is stored in runparams.fragile.
5879
5880         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5881         moving_arg parameter as the data is stored in runparams.fragile.
5882
5883         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5884         a fragile parameter as the data is stored in runparams.fragile.
5885
5886 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5889
5890 2003-05-22  Angus Leeming  <leeming@lyx.org>
5891
5892         * latexrunparams.h: add a 'bool nice' which defaults to false.
5893
5894         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5895         now encapsulated within runparams.
5896
5897         * bufferlist.C (updateIncludedTeXfiles):
5898         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5899
5900 2003-05-22  Angus Leeming  <leeming@lyx.org>
5901
5902         * latexrunparams.h: new file containing struct LatexRunParams.
5903         * Makefile.am: add new file.
5904
5905         * LaTeX.[Ch] (c-tor, run):
5906         * buffer.[Ch] (makeLaTeXFile):
5907         * bufferlist.[Ch] (updateIncludedTeXfiles):
5908         * converter.C (convert, scanLog):
5909         * converter.[Ch] (runLaTeX):
5910         * exporter.C (Export):
5911         * paragraph.[Ch] (simpleTeXOnePar):
5912         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5913         * paragraph_funcs.[Ch] (latexParagraphs):
5914         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5915         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5916         pass around a LatexRunParams parameter.
5917
5918 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5919
5920         * paragraph.[Ch]: remove unused constructor
5921
5922         * ParagraphList.C (erase): new function, taking two iterators
5923
5924 2003-05-22  André Pönitz  <poenitz@gmx.net>
5925
5926         * undo_funcs.C: remove duplicated code
5927
5928         * iterator.[Ch]: operator=
5929
5930 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * tabular.C (SetMultiColumn): ws changes
5933
5934         * rowpainter.C (paintFirst): get rid of a ->previous
5935
5936         * lyx_cb.C (getPossibleLabel): parlist simplification
5937
5938         * BufferView.C (ChangeInsets): simplify slightly.
5939
5940 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5941
5942         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5943         * lfuns.h: new LFUN_SPACE
5944         * lyxfunc.C: protected space has a new lfun
5945         * paragraph_funcs.C: read new space insets
5946         * text3.C:
5947         * factory.C: handle new space insets
5948
5949 2003-05-22  André Pönitz  <poenitz@gmx.net>
5950
5951         * BufferView.C:
5952         * BufferView_pimpl.C:
5953         * buffer.[Ch]:
5954         * lyxfunc.C:
5955         * undo_funcs.C: return a ParIterator from getParFromID.
5956
5957         * iterators.[Ch]: add two const's
5958
5959 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * toc.C (getTocList): adjust
5962
5963         * iterators.[Ch]: rework for parlist
5964
5965         * buffer.C (par_iterator_begin): adjust
5966         (par_iterator_end): adjust
5967
5968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5969
5970         * BufferView.C (removeAutoInsets): adjust
5971         (ChangeInsets): adjust
5972
5973 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5974
5975         * text.C (top_y): fix bug 1110
5976
5977 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5978
5979         * errorlist.[Ch]: added
5980         * buffer.C:
5981         * BufferView.[Ch]:
5982         * BufferView_pimpl.C:
5983         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5984         instead
5985
5986 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5987
5988         * Makefile.am: ensure that lyx is relinked upon changes to the
5989         various "convenience" libs.
5990
5991 2003-05-20  Angus Leeming  <leeming@lyx.org>
5992
5993         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5994         files are compiled in alphabetical order again.
5995
5996         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5997
5998 2003-05-19  Angus Leeming  <leeming@lyx.org>
5999
6000         * gettext.[Ch]: remove "char const * _(char const *)".
6001
6002 2003-05-19  André Pönitz  <poenitz@gmx.net>
6003
6004         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6005
6006         * Makefile.am:
6007         * BufferView.C:
6008         * DepTable.h:
6009         * LaTeXFeatures.C:
6010         * buffer.C:
6011         * lyxfont.C:
6012         * lyxlex.h:
6013         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6014
6015 2003-05-19  André Pönitz  <poenitz@gmx.net>
6016
6017         * buffer.C:
6018         * lyxlayout.[Ch]:
6019         * lyxtextclass.[Ch]:
6020         * paragraph.C:
6021         * paragraph_funcs.[Ch]:
6022         * text2.C:
6023         * text3.C: more insetenv work
6024
6025 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6026
6027         * ParagraphParameters.C (params2string): small bug fixed
6028
6029 2003-05-16  André Pönitz  <poenitz@gmx.net>
6030
6031         * debug.C:
6032         * bufferview_funcs.C: patch from Kornel Benko to prevent
6033           crash when _(...) is called twice in a statement
6034
6035 2003-05-16  André Pönitz  <poenitz@gmx.net>
6036
6037         * BufferView.C:
6038         * lyxfunc.C:
6039         * text.C:
6040         * text2.C:
6041         * text3.C:
6042         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6043
6044 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6045
6046         * lyx_main.C (init): remove spurious static_cast
6047
6048 2003-05-14  André Pönitz  <poenitz@gmx.net>
6049
6050         * BufferView.C: fix format string
6051
6052 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6053
6054         * BufferView.[Ch] (insertErrors): removed
6055         * BufferView.[Ch] (showErrorList): added
6056         * buffer.C (runChkTeX):
6057         * converter.C (scanLog): call showErrorList instead of inserterrors
6058
6059 2003-05-13  André Pönitz  <poenitz@gmx.net>
6060
6061         * BufferView_pimpl.C:
6062         * buffer.C:
6063         * bufferview_func.C:
6064         * MenuBackend.C:
6065         * lyxfunc.C:
6066         * lyxrc.C:
6067         * tex-accent.C:
6068         * text3.C:
6069         * toc.C:
6070         * tabular_funcs.h: tostr() from its own header
6071
6072         * ParagraphParameters.C:
6073         * ToolbarBackend.C:
6074         * bufferparams.C:
6075         * format.C:
6076         * lyxlex_pimpl.C:
6077         * text3.C: STRCONV()
6078
6079 2003-05-12  André Pönitz  <poenitz@gmx.net>
6080
6081         * BufferView.C:
6082         * BufferView_pimpl.C:
6083         * CutAndPaste.C:
6084         * LaTeX.C:
6085         * LaTeXFeatures.C:
6086         * ParagraphParameters.C:
6087         * buffer.C:
6088         * bufferlist.C:
6089         * bufferparams.C:
6090         * bufferview_funcs.C:
6091         * converter.C:
6092         * counters.C:
6093         * debug.C:
6094         * exporter.C:
6095         * format.C:
6096         * importer.C:
6097         * lyx_cb.C:
6098         * lyx_main.C:
6099         * lyxfont.C:
6100         * lyxfunc.C:
6101         * lyxvc.C:
6102         * paragraph.C:
6103         * paragraph_funcs.C:
6104         * tabular.C:
6105         * tabular_funcs.C:
6106         * text2.C:
6107         * text3.C:  boost::format -> bformat  all over the place
6108
6109
6110 2003-05-09  André Pönitz  <poenitz@gmx.net>
6111
6112         * LColor.[Ch]: Pimpl the #include <map> away
6113
6114 2003-05-09  John Levon  <levon@movementarian.org>
6115
6116         * bufferlist.C: never remove emergency saves
6117
6118 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6119
6120         * Makefile.am: better lib building
6121
6122 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6123
6124         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6125         instead.
6126         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6127         (simpleTeXSpecialChars): adjust
6128         (simpleTeXSpecialChars): adjust
6129         * paragraph.C (simpleTeXOnePar): adjust
6130         * buffer.C (makeLaTeXFile): adjust
6131
6132         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6133
6134         * text2.C (changeDepth): parlist cleanup
6135         (getColumnNearX): ditto
6136
6137         * rowpainter.C (getLabelFont): parlist cleanup
6138
6139         * bufferlist.C (newFile): parlist cleanup
6140
6141         * CutAndPaste.C (eraseSelection): parlist cleanup
6142
6143         * BufferView_pimpl.C (trackChanges): parlist cleanup
6144         (dispatch): ditto
6145
6146         * BufferView.C (lockInset): parlist cleanup.
6147         (ChangeInsets): ditto
6148
6149 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * CutAndPaste.h: Update file header.
6152
6153         * CutAndPaste.C: Update file header.
6154         Store the parts cut out of the Document in a limited_stack.
6155         (copySelection): adjust
6156         (pasteSelection): new function, takes the index in the limited stack.
6157         (nrOfParagraphs): adjust
6158         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6159         simplify error inset insertion.
6160         (checkPastePossible): adjust
6161
6162 2003-05-06  John Levon  <levon@movementarian.org>
6163
6164         * text2.C: don't cast wrap inset to float
6165
6166 2003-05-05  André Pönitz  <poenitz@gmx.net>
6167
6168         * iterator.C:
6169         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6170
6171         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6172           few naked Paragraph *.
6173
6174 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6175
6176         * bufferparams.C: Output warning if a document with missing
6177         TeX document class is loaded
6178         * exporter.C: Disable TeX exports if the document class is missing
6179         * lyxtextclass.C:
6180         * lyxtextclass.h:
6181         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6182         isTeXClassAvailable()
6183
6184 2003-05-03  John Levon  <levon@movementarian.org>
6185
6186         * BufferView.h:
6187         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6188         explicit cursor show/hide
6189
6190         * BufferView_pimpl.h:
6191         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6192         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6193
6194         * lyxfunc.C: hide cursor before dispatching.
6195
6196         * lyx_cb.C:
6197         * lyxfind.C:
6198         * text.C:
6199         * text3.C: remove explicit cursor hides
6200
6201 2003-05-02  André Pönitz  <poenitz@gmx.net>
6202
6203         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6204
6205         * undo_funcs.C:
6206         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6207           linked lists
6208
6209         * text2.C: tiny whitespace
6210
6211 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * undo_funcs.C: almost only ws changes.
6214
6215         * ParagraphList.C (splice): just return if pl is empty.
6216
6217 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6218
6219         * ParagraphList.C (splice): new function.
6220
6221         * CutAndPaste.C (pasteSelection): use it
6222
6223 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * CutAndPaste.C (pasteSelection): remove the last next and
6226         previous from this file.
6227
6228 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * CutAndPaste.C (pasteSelection): more clean up, user proper
6231         ParagraphList functions for pasteing.
6232
6233         * ParagraphList.C (insert): new function, three arg insert
6234
6235 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * ParagraphList.C (insert): new function, three arg insert
6238
6239         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6240         not on paragraphs.
6241
6242 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6243
6244         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6245
6246 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6247
6248         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6249
6250 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6253         (copySelection): clean up a bit.
6254         (pasteSelection): use make_pair
6255
6256         * ParagraphList.C (ParagraphList): implement copy constructor
6257         (operator=): implement, base on copy constructor.
6258         (assign): new func
6259
6260         * paragraph.C (erase): return a bool
6261
6262         * paragraph_pimpl.C (erasePos): remove function, move contents...
6263         (erase): ... here. Return a bool.
6264         (erase): call erase instead of erasePos.
6265
6266 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6267
6268         * ParagraphList.h: define PitPosPair
6269         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6270         ParagraphList, fix a bug on pasting multiple pars
6271         * text2.C: change interface to C&P
6272
6273 2003-04-30  André Pönitz  <poenitz@gmx.net>
6274
6275         * undo_func.C: revert part of yesterday's patch 2
6276
6277 2003-04-30  John Levon  <levon@movementarian.org>
6278
6279         * LColor.C: s/tabular/table/
6280
6281 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * text3.C (dispatch): do not convert iterator -> pointer
6284         * undo_funcs.C (setCursorParUndo): ditto
6285         * text_funcs.C (transposeChars): ditto
6286
6287         * text2.C (setLayout): ws changes only
6288
6289         * text.C (breakParagraph): do not convert iterator -> pointer
6290         (insertChar): ditto
6291         (acceptChange): ditto
6292         (rejectChange): ditto
6293         (changeCase): ditto
6294         (Delete): ditto
6295         (backspace): ditto
6296
6297         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6298         pointer
6299
6300 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6301
6302         * text3.C (gotoInset): YABG (yet another bad getChar)
6303
6304 2003-04-29  André Pönitz  <poenitz@gmx.net>
6305
6306         * paragraph.h: make operator= private unimplemented as long as
6307           it is unusable
6308
6309         * ParagraphList.C: whitespace
6310
6311         * paragraph.[Ch]:
6312         * paragraph_pimpl.[Ch]:
6313         * paragraph_funcs.C:
6314         * CutAndPaste.C:
6315         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6316
6317         * text2.C:
6318           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6319
6320 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6321
6322         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6323         * paragraph.[Ch] (erase):
6324         * paragraph_pimpl.[Ch] (erase): change return type and value
6325         * text2.C (cutSelection): some rework
6326
6327 2003-04-28  John Levon  <levon@movementarian.org>
6328
6329         * bufferlist.C: changes for unsaved changes dialog
6330
6331 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6332
6333         * bufferlist.C (newFile): set language (messages_) for new
6334         documents also.
6335
6336         * buffer.C (readFile): ws changes only.
6337
6338 2003-04-28  André Pönitz  <poenitz@gmx.net>
6339
6340         * undo_funcs.C:
6341         * lyxfunc.C:
6342         * buffer.[Ch]:
6343         * BufferView_pimpl.C:
6344         * BufferView.C: getParFromID related ParagraphList::iterator changes
6345
6346 2003-04-28  André Pönitz  <poenitz@gmx.net>
6347
6348         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6349           Changes
6350
6351 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * messages.C: remove one more localedir class variable.
6354
6355 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6356
6357         * messages.C (getLocaleDir): singleton generation function
6358         (Pimpl): use it.
6359         (Messages): add a default constructor.
6360
6361         * main.C (main): do not setup localedir here, do not call
6362         gettext_init.
6363
6364         * gettext.C (_): use it.
6365         (gettext_init): delete funciton
6366
6367 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6368
6369         * gettext.C (getLyXMessages): new singleton generating function.
6370
6371         * buffer.C (updateDocLang): adjust
6372
6373         * Makefile.am (messages.o): add target
6374         (main.o): remove target
6375
6376 2003-04-27  John Levon  <levon@movementarian.org>
6377
6378         * bufferlist.C:
6379         * lyx_cb.C:
6380         * lyxfunc.C:
6381         * lyxvc.C: specify cancel button in Alert::prompt
6382
6383 2003-04-26  John Levon  <levon@movementarian.org>
6384
6385         * text3.C:
6386         * lyxfunc.C:
6387         * lfuns.h:
6388         * LyXAction.C: add LFUN_INSET_SETTINGS
6389
6390         * lyxfunc.C: don't enable tabular-feature when there's
6391         just any locking inset
6392
6393 2003-04-26  John Levon  <levon@movementarian.org>
6394
6395         * bufferlist.C: re-add Cancel to buffer close question
6396
6397         * lyxfunc.C: fix import UI a bit
6398
6399 2003-04-25  John Levon  <levon@movementarian.org>
6400
6401         * gettext.C: remove the broken asserts for now
6402
6403 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * messages.C: make case where setlocale cannot comply work better.
6406
6407         * buffer.C (updateDocLang): new function
6408         (changeLanguage): use it
6409         (readFile): use it
6410
6411         * text2.C (setCounter): use B_ a bit.
6412
6413         * lyxlayout.C (Read): be sure to trim the label strings.
6414
6415         * messages.C (Messages): fix typo in comment
6416
6417         * buffer.C (readFile): set message_ after file is loaded.
6418         (makeDocBookFile): remove double return
6419         (changeLanguage): reset message_ upon language change.
6420         (B_): new func, use this to get translated buffer strings.
6421
6422         * main.C: add myself and Jean Marc as authors.
6423
6424 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * messages.[hC]: pimplify Messages, and three different pimpls to be
6427         used in different circumstances.
6428
6429         * gettext.[Ch]: change for use with new message code.
6430
6431 2003-04-24 André Pönitz <poenitz@gmx.net>
6432
6433         * factory.C: support for eqref
6434
6435 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * messages.[Ch]: add missing char
6438
6439         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6440
6441         * messages.[Ch]: New files
6442
6443 2003-04-18  John Levon  <levon@movementarian.org>
6444
6445         * BufferView.h:
6446         * BufferView.C:
6447         * BufferView_pimpl.C:
6448         * lfuns.h:
6449         * LyXAction.C:
6450         * lyxtext.h:
6451         * text2.C: remove layout-copy/paste (bug 778)
6452
6453 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6454
6455         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6456
6457 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6458
6459         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6460         if they succeed. Act accordingly.
6461
6462 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6463
6464         * text2.C (setCharFont): adjust
6465         (setCounter): adjust
6466         (insertStringAsLines): adjust
6467
6468         * text.C (leftMargin): adjust
6469         (setHeightOfRow): adjust
6470
6471         * rowpainter.C (paintFirst): adjust
6472         (paintLast): adjust
6473
6474         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6475         (outerHook): ditto
6476         (isFirstInSequence): ditto
6477         (getEndLabel): ditto
6478         (outerFont): adjust
6479
6480         * paragraph.C (getParLanguage): comment out some hard stuff.
6481
6482         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6483         (sgmlError): ditto
6484         (simpleDocBookOnePar): ditto
6485         (makeDocBookFile): use ParagraphList::iterator
6486
6487         * CutAndPaste.C (pasteSelection): adjust
6488
6489 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * text2.C (getFont): adjust
6492         (getLayoutFont): adjust
6493         (getLabelFont): adjust
6494
6495         * paragraph_funcs.C (TeXOnePar): adjust
6496
6497         * buffer.C (simpleLinuxDocOnePar): adjust
6498         (simpleDocBookOnePar): adjust
6499
6500         * CutAndPaste.C (pasteSelection): adjust
6501
6502         * BufferView.C (getEncoding): adjust
6503
6504         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6505
6506 2003-04-16  John Levon  <levon@movementarian.org>
6507
6508         * lyxfind.C: use parlist stuff for search/changes
6509
6510 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6513
6514         * text2.C (deleteEmptyParagraphMechanism): adjust
6515
6516         * text2.[Ch] (ownerParagraph): delete func (both of them
6517
6518 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6519
6520         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6521
6522 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6523
6524         * ParagraphList.C: prepare for NO_NEXT
6525
6526 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * text2.C (getFont): adjust
6529         (getLayoutFont): adjust
6530         (getLabelFont): adjust
6531
6532         * paragraph.C (getFont): adjust
6533         (getLabelFont): adjust
6534         (getLayoutFont): adjust
6535
6536         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6537
6538 2003-04-15  John Levon  <levon@movementarian.org>
6539
6540         From Angus Leeming
6541
6542         * lyx_main.C: handle Include in .ui files
6543
6544 2003-04-15  John Levon  <levon@movementarian.org>
6545
6546         * MenuBackend.C: make the doc files length shorter
6547
6548         * ToolbarBackend.h:
6549         * ToolbarBackend.C: handle toolbar placement flags,
6550         Minibuffer
6551
6552 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6553
6554         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6555         adjust
6556
6557         * paragraph_funcs.C (TeXOnePar): adjust
6558
6559         * paragraph.C (getLabelFont): add outerfont arg, adjust
6560         (getLayoutFont): ditto
6561         (simpleTeXOnePar): adjust
6562
6563         * paragraph_pimpl.C (realizeFont): delete func
6564
6565 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6566
6567         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6568         row argument, constify cur argument.
6569
6570 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6571
6572         * text2.C (getFont): adjust
6573         (getLayoutFont): adjust
6574         (getLabelFont): adjust
6575
6576         * paragraph_funcs.C (TeXOnePar): adjust
6577         (outerFont): new func...
6578         (realizeFont): ...moved out from here, changed this to facilitate
6579         transition
6580
6581         * paragraph.C (getFont): take outerfont as arg, adjust
6582         (simpleTeXOnePar): add outerfont arg, adjust
6583
6584         * buffer.C (simpleLinuxDocOnePar): adjust
6585         (simpleDocBookOnePar): adjust
6586
6587         * CutAndPaste.C (pasteSelection): adjust
6588
6589         * BufferView.C (getEncoding): adjust
6590
6591 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6592
6593         * text2.C (setCharFont): adjust
6594         (setCounter): adjust
6595
6596         * text.C (leftMargin): adjust
6597         (setHeightOfRow): adjust
6598
6599         * rowpainter.C (paintFirst): adjust
6600         (paintLast): adjust
6601
6602         * paragraph_pimpl.C (realizeFont): adjust
6603
6604         * paragraph.C (isFirstInSequence): move from here...
6605         * paragraph_funcs.C (isFirstInSequence): ...to here
6606
6607         * paragraph.C (outerHook): move from here...
6608         * paragraph_funcs.C (outerHook): ...to here
6609
6610         * paragraph.C (depthHook): move from here...
6611         * paragraph_funcs.C (depthHook): ...to here
6612
6613         * paragraph.C (getEndLabel): move from here...
6614         * paragraph_funcs.C (getEndLabel): ...to here
6615
6616         * text2.C (realizeFont): move from here...
6617         * paragraph_funcs.C (realizeFont): ...to here
6618
6619 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6620
6621         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6622
6623 2003-04-14  Angus Leeming  <leeming@lyx.org>
6624
6625         * LColor.[Ch]: scrap LColor mathcursor.
6626
6627 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * lyxlex.[Ch] (text): delete function
6630         * trans.C (Load): adjust
6631         * paragraph_funcs.C (readParToken): adjust
6632
6633 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6634
6635         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6636         vector<char> instead of a char[].
6637
6638         * lyxlex_pimpl.C (getString): adjust
6639         (next): adjust
6640         (lex): use getString
6641         (eatLine): adjust
6642         (nextToken): adjust
6643
6644         * lyxlex.C (text): use pimpl_->getString()
6645         (getBool): ditto
6646         (findToken): ditto
6647
6648 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6651         (makeFontEntriesLayoutSpecific): temp var for par.size()
6652         (setLayout): temp var for ownerParagraphs().end()
6653         (fullRebreak): temp var for rows().end()
6654         (selectionAsString): temp var for boost::next(startpit), realize
6655         that the while really is a regular for loop.
6656         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6657         setCursor in one place.
6658         (setParagraph): temp vr for ownerParagraphs().end()
6659         (updateCounters): make the while loop a for loop
6660         (cutSelection): temp var for ownerParagraphs().end()
6661         (updateInset): make the do {} while() a regular for loop
6662         (getCursorX): use temp vars
6663         (setCurrentFont): use temp vars
6664         (getColumnNearX): use temp vars
6665
6666 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * text.C (transformChar): use temp var for getChar
6669         (computeBidiTables): use temp var for row->par()
6670         (fill): move temp vars for row->par() and pit->layout() earlier in
6671         the function.
6672         (labelFill): use temp var for row->par()
6673         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6674         asc and desc, realize that pit never changes and that firstpit is
6675         just a duplicate and not needed. Exchange rit->par() with pit in a
6676         lot of places.
6677         (breakAgain): use a temp var for boost::next(rit)
6678         (breakAgainOneRow): ditto
6679         (breakParagraph): use a temp var for rows().begin()
6680         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6681         (cursorRightOneWord): use temp var for cursor.par() and
6682         cursor.pos(), remove usage of tmpcursor.
6683         (cursorLeftOneWord): use temp var for cursor.par() and
6684         cursor.pos() only set cur at end of function.
6685
6686 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * text.C, text2.C: exchange all usage of Paragraph::next with
6689         boost::next(ParagraphList::iterator)
6690
6691         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6692
6693         * text2.C (cursorTop): simplify implementation
6694         (cursorBottom): ditto
6695         (setParagraph): use ParagraphList::iterator
6696         (setCurrentFont): adjust
6697         (getColumnNearX): adjust
6698         (cursorRight): adjust
6699         (cursorLeft): remove usage of Paragraph::previous
6700         (cursorUpParagraph): ditto
6701         (deleteEmptyParagraphMechanism): slight cleanup
6702
6703         * text.C (isBoundary): take a Paragraph const & instead of a
6704         pointer as arg.
6705         (addressBreakPoint): ditto
6706         (leftMargin): remove usage of Paragraph::previous.
6707         (setHeightOfRow): ditto
6708         (cursorLeftOneWord): ditto
6709         (selectNextWordToSpellcheck): ditto
6710         (Delete): ditto
6711         (backspace): ditto
6712         (breakParagraph): remove one usage of Paragraph::next
6713         (redoParagraph): ditto
6714         (acceptChange): ditto
6715         (insertChar): adjust
6716         (rowBreakPoint): adjust
6717
6718         * bufferview_funcs.C (toggleAndShow): adjust
6719
6720 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6721
6722         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6723         methods to access it.
6724         * lyxtext.h:
6725         * text.C: Added updateRowPositions to compute all row positions.
6726         Make top_y and getRowNearY() to use the cached y position
6727
6728 2003-04-11  John Levon  <levon@movementarian.org>
6729
6730         * text.C (rowBreakPoint): reintroduce the labelEnd
6731         checks, code copied from the row fill stuff. Deep voodoo.
6732
6733         * text.C (fill): add a comment and debugging for the
6734         next poor soul.
6735
6736 2003-04-11  John Levon  <levon@movementarian.org>
6737
6738         * text.C: make sure fullrow insets get wrapped to the next line,
6739         even when they're in a manual label
6740
6741 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6742
6743         * text2.C (insertParagraph): make it take ParagraphList::iterator
6744         as arg.
6745         (setLayout): make it return ParagraphList::iterator
6746         (redoParagraphs): ditto
6747         (setCounter): ditto
6748         (checkParagraph): ditto
6749
6750         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6751
6752         * text2.C: adjust several funcs.
6753         (realizeFont): take a ParagraphList::iterator as arg.
6754         (getLayoutFont): ditto
6755         (getLabelFont): ditto
6756         (setCharFont): ditto
6757
6758         * text.C: adjust several funcs.
6759
6760 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * text.C (selectNextWordToSpellcheck): don't accidentally
6763         skip insets
6764
6765 2003-04-10  John Levon  <levon@movementarian.org>
6766
6767         * ToolbarBackend.C (getIcon): special handling for
6768         LFUN_MATH_DELIM
6769
6770 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6771
6772         * text2.C (cursorRight): a getChar assert fixed
6773
6774 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6775
6776         * text2.C (getFont): change to take a ParagraphList::iterator
6777         instead of Paragraph*
6778         Adjust several functions.
6779
6780         * text.C (transformChar): change to take a ParagraphList::iterator
6781         instead of Paragraph*
6782         (singleWidth): ditto
6783         Adjust several functions.
6784
6785         * rowpainter.C: adjust several functions
6786         * rowpainter.h:store a ParagraphList::iterator and not a
6787         Paragraph&.
6788
6789
6790 2003-04-09  John Levon  <levon@movementarian.org>
6791
6792         * lyxfunc.C:
6793         * lfuns.h:
6794         * LyXAction.h:
6795         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6796         and the "help" bits as well
6797
6798 2003-04-09  John Levon  <levon@movementarian.org>
6799
6800         * ToolbarBackend.h:
6801         * ToolbarBackend.C: allow multiple toolbars
6802
6803 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6804
6805         * undo_funcs.C (setCursorParUndo): adjust
6806
6807         * text_funcs.C (transposeChars): adjust
6808
6809         * text3.C (gotoNextInset): adjust
6810         (dispatch): adjust
6811
6812         * text2.C (setLayout): adjust
6813         (changeDepth): adjust
6814         (setFont): adjust
6815         (redoParagraphs): adjust
6816         (selectionAsString): adjust
6817         (setParagraph): adjust
6818         (insertInset): adjust
6819         (cutSelection): adjust
6820         (copySelection): adjust
6821         (pasteSelection): adjust
6822         (insertStringAsLines): adjust
6823         (updateInset): adjust
6824         (setCursor): change to take a ParagraphList::iterator parameter
6825         (setCursorIntern): change to take a ParagraphList::iterator parameter
6826         (setCurrentFont): adjust
6827         (cursorLeft): adjust
6828         (cursorRight): adjust
6829         (deleteEmptyParagraphMechanism): adjust
6830
6831         * text.C (breakParagraph): adjust
6832         (insertChar): adjust
6833         (acceptChange): adjust
6834         (rejectChange): adjust
6835         (selectNextWordToSpellcheck): adjust
6836         (changeCase): adjust
6837         (Delete): adjust
6838         (backspace): adjust
6839
6840         * lyxfind.C (SearchForward): adjust
6841         (SearchBackward): adjust
6842         (nextChange): adjust
6843
6844         * lyxcursor.C (par): adjust
6845
6846         * lyxcursor.h: store a ParagraphList::iterator instead of a
6847         Paragraph*
6848
6849         * lyx_cb.C (getPossibleLabel): adjust
6850
6851         * bufferview_funcs.C (toggleAndShow): adjust
6852
6853         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6854         (dispatch): adjust
6855
6856         * BufferView.C (removeAutoInsets): adjust
6857         (lockedInsetStoreUndo): adjust
6858
6859 2003-04-09  John Levon  <levon@movementarian.org>
6860
6861         * ToolbarBackend.C: try icon without argument
6862         if with argument fails
6863
6864 2003-04-08  John Levon  <levon@movementarian.org>
6865
6866         * ToolbarBackend.h:
6867         * ToolbarBackend.C: add getIcon(), handle tooltip,
6868         and change from "Icon" to "Item".
6869
6870 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6871
6872         * BufferView.C (lockInset): another bad getchar crunched
6873
6874 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6875
6876         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6877         again)
6878
6879 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * lyxfind.C (searchForward, searchBackwards): bug 782
6882
6883 2003-04-07  John Levon  <levon@movementarian.org>
6884
6885         * paragraph.C: remove dead comment
6886
6887         * text.C: remove troublesome depth-fiddling code
6888         in leftMargin() and rightMargin() (bug 1017)
6889
6890         * text.C: fix breaking of rows in nested lists
6891         (bug 1004)
6892
6893         * text2.C (updateCounters): fix up depth values
6894         (bug 1013)
6895
6896 2003-04-07  John Levon  <levon@movementarian.org>
6897
6898         * BufferView_pimpl.C: clear message when doc finishes resizing,
6899         and after a mouse event
6900
6901         * lyxfunc.C: clear message after exiting inset
6902
6903 2003-04-07  John Levon  <levon@movementarian.org>
6904
6905         * bufferview_funcs.C: show math status not outside
6906         status in the statusbar
6907
6908 2003-04-07  John Levon  <levon@movementarian.org>
6909
6910         * lyxfunc.C: note status changed after a depth change
6911
6912 2003-04-04  Angus Leeming  <leeming@lyx.org>
6913
6914         * LaTeX.h: move AuxInfo operator==, != out of line.
6915         Remove LaTeX virtual destructor; nothing derives from it.
6916         Move operator()() out of public area and rename it startscript().
6917         Change protected for private.
6918
6919 2003-04-04  Angus Leeming  <leeming@lyx.org>
6920
6921         * lyxfunc.C:
6922         * text2.C: remove unneeded #includes.
6923
6924 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6925
6926         * text2.C (dEPM): fix the heigth of the next row
6927
6928 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * text.C: squashed an invalid getChar requester + some ws changes
6931
6932 2003-04-03  John Levon  <levon@movementarian.org>
6933
6934         * bufferview_funcs.h:
6935         * bufferview_funcs.C:
6936         * lyxfunc.C:
6937         * lyxtext.h:
6938         * text2.C: make getStatus work for the env depth lfuns
6939
6940 2003-04-03  John Levon  <levon@movementarian.org>
6941
6942         * bufferview_funcs.h:
6943         * bufferview_funcs.C:
6944         * lyxfunc.C:
6945         * lyxtext.h:
6946         * text2.C: parlistize decDepth(), by merging it with incDepth()
6947
6948 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6949
6950         * lyxrow.h: store a ParagraphList::iterator instead of a
6951         Paragraph* and adjust other class functions to suit.
6952
6953         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6954         above.
6955
6956 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6957
6958         * text2.C (setCursor): do not anchor to cursor row for the time being
6959
6960 2003-04-02  John Levon  <levon@movementarian.org>
6961
6962         * LyXAction.C:
6963         * lfuns.h:
6964         * lyx_main.C:
6965         * lyxtext.h:
6966         * text.C:
6967         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6968
6969 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6970
6971         * paragraph.h: make ParagraphList and ParagraphList::iterator
6972         friends of Paragraph.
6973
6974         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6975
6976         * ParagraphList.C: Use the private next_ and previous_ from
6977         Paragraph.
6978
6979 2003-04-01  John Levon  <levon@movementarian.org>
6980
6981         * ToolbarBackend.h:
6982         * ToolbarBackend.C:
6983         * Makefile.am: rename, remove defaults gunk
6984
6985         * MenuBackend.h:
6986         * MenuBackend.C: remove defaults gunk
6987
6988         * Languages.h:
6989         * Languages.C: remove defaults gunk
6990
6991         * lyx_main.h:
6992         * lyx_main.C: error out if files couldn't be found.
6993
6994 2003-04-02  John Levon  <levon@movementarian.org>
6995
6996         * text2.C: make incDepth() use parlist
6997
6998 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * undo_funcs.C (firstUndoParagraph): adjust
7001
7002         * text3.C (gotoInset): adjust
7003         (dispatch): adjust, and rewrite loop.
7004
7005         * text2.C (init): adjust, and rewrite loop.
7006         (redoParagraphs): adjust
7007         (updateInset): adjust, and rewrite loop.
7008         (deleteEmptyParagraphMechanism): adjust
7009
7010         * tabular.C (LyXTabular): adjust
7011         (SetMultiColumn): adjust
7012         (TeXRow): adjust
7013
7014         * lyxtext.[Ch] (ownerParagraph): delete function
7015         (ownerParagraphs): new function returns a ParagraphList.
7016
7017         * BufferView.C (removeAutoInsets): adjust
7018         (insertErrors): adjust
7019         (setCursorFromRow): adjust
7020
7021 2003-04-01  Angus Leeming  <leeming@lyx.org>
7022
7023         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7024         in the frontends.
7025
7026 2003-04-02  John Levon  <levon@movementarian.org>
7027
7028         * lyxtext.h:
7029         * text.C:
7030         * Makefile.am:
7031         * text_funcs.h:
7032         * text_funcs.C: make transposeChars a free function
7033
7034         * lyxrow_funcs.C: remove wrong comment
7035
7036 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * lyxtext.h: adjust
7039         * rowpainter.C: adjust
7040         * text.C: adjust
7041         * text2.C: adjust
7042         * text3.C: adjust
7043
7044         * lyxrow_funcs. [Ch]: new files
7045
7046         * lyxrow.[Ch]: remove next and previous pointers
7047         (next,previous): remove accessor functions
7048         (isParEnd): move to lyxrow_funcs
7049         (lastPos): move to lyxrow_funcs
7050         (nextRowIsAllInset): move to lyxrow_funcs
7051         (lastPrintablePos): move to lyxrow_funcs
7052         (numberOfSeparators): move to lyxrow_funcs
7053         (numberOfHfills): move to lyxrow_funcs
7054         (numberOfLabelHfills): move to lyxrow_funcs
7055         (hfillExpansion): move to lyxrow_funcs
7056
7057         * lyxfunc.C: adjust
7058
7059         * bufferview_funcs.C (toggleAndShow): adjust
7060
7061         * RowList.h: Remove class RowList from file leave just a
7062         std::list<Row>.
7063
7064         * RowList.C: delete file
7065
7066         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7067         and lyxrow_funcs.h
7068
7069 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7070
7071         * text3.C (cursorPrevious): adjust
7072         (cursorNext): adjust
7073         (dispatch): adjust
7074
7075         * text2.C (redoHeightOfParagraph): adjust
7076         (redoDrawingOfParagraph): adjust
7077         (setCursor): adjust
7078
7079         * text.C (breakParagraph): adjust
7080         (insertChar): adjust
7081         (backspace): adjust
7082
7083         * rowpainter.C (RowPainter): adjust
7084         (leftMargin): simplify and adjust
7085         (most rowpainter functions): adjust.
7086
7087         * rowpainter.h: store the row as RowList::iterator not as Row*
7088
7089         * lyxcursor.C (row): taka RowList::iterator as arg
7090         (irow): ditto
7091
7092         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7093         of Row*.
7094
7095 2003-04-01  Angus Leeming  <leeming@lyx.org>
7096
7097         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7098         stuff like bool Bool.
7099
7100 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7101
7102         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7103         rewrite a loop
7104
7105 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7106
7107         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7108         RowList::iterator.
7109
7110         * lyxtext.h (rows): drop one version and leve a const variant that
7111         returns a RowList::iterator.
7112
7113 2003-03-31  Angus Leeming  <leeming@lyx.org>
7114
7115         * text.C (fill): ensure that the signature is the same as that in the
7116         header file.
7117
7118 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * text2.C (redoParagraphs): adjust
7121         (updateCounters): adjust
7122         (checkParagraph): adjust
7123         (getColumnNearX): adjust and reformat a bit.
7124
7125         * text.C (top_y): adjust
7126         (workWidth): adjust
7127         (leftMargin): adjust
7128         (prepareToPrint): adjust
7129         (getRow): adjust
7130         (getRowNearY): adjust
7131
7132         * lyxtext.h: make rowlist_ mutable.
7133
7134         * RowList.h: add const_iterator
7135         * RowList.C: adjust for RowList::const_iterator.
7136
7137         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7138         adjust.
7139
7140 2003-03-31  John Levon  <levon@movementarian.org>
7141
7142         * lyxrc.h:
7143         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7144
7145         * lyx_main.C: set default fonts from using lyx_gui funcs
7146
7147         * exporter.C: pdf_mode moved from lyxrc
7148
7149         * lyx_cb.C:
7150         * lyxfunc.C: changes from above
7151
7152 2003-03-31  John Levon  <levon@movementarian.org>
7153
7154         * lyx_main.C: fix to the last fix
7155
7156 2003-03-31  John Levon  <levon@movementarian.org>
7157
7158         * bufferlist.C: "Load original" -> "Load Original"
7159
7160         * converter.C:
7161         * exporter.C:
7162         * importer.C:
7163         * lyx_main.C:
7164         * format.C: more Alert cleanups
7165
7166 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7167
7168         * text2.C (removeParagraph): make it take a RowList::iterator as
7169         arg, adjust.
7170         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7171         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7172
7173         * text.C (anchor_row): make it take a RowList::iterator as arg,
7174         adjust.
7175         (computeBidiTables): make it take a const reference to Row instead
7176         of Row pointer, adjust.
7177         (leftMargin): make it take a RowList::iterator as arg, adjust.
7178         (rowBreakPoint): adjust
7179         (breakAgainOneRow): make it take a RowList::iterator as arg,
7180         adjust.
7181         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7182
7183         * bufferview_funcs.C (toggleAndShow): adjust
7184
7185 2003-03-30  John Levon  <levon@movementarian.org>
7186
7187         * Makefile.am:
7188         * BoostFormat.h:
7189         * boost-inst.C: moved to support
7190
7191         * several files: changes as a result
7192
7193 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7194
7195         * text2.C (LyXText): adjust.
7196         (init): adjust
7197         (removeRow): make it take a RowList::iterator as arg, adjust.
7198         (fullRebreak): adjust
7199         (deleteEmptyParagraphMechanism): adjust
7200         (clearPaint): adjust
7201         (postPaint): adjust
7202
7203         * text.C (top_y): adjust
7204         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7205         (breakAgain): make it take a RowList::iterator as arg, adjust.
7206         (breakParagraph): adjust
7207         (insertChar): adjust
7208         (backspace): adjust
7209
7210         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7211         need_break_row, and refresh_row.
7212
7213         * text3.C (dispatch): adjust
7214
7215         * text2.C (checkParagraph): adjust
7216         (setCursor): adjust
7217         (setCursorFromCoordinates): adjust
7218
7219         * text.C (top_y): adjust
7220         (workWidth): adjust
7221         (getRow): make it return a RowList::iterator, adjust
7222         (getRowNearY): make it return a RowList::iterator, adjust
7223
7224         * text2.C (init): adjust
7225         (insertRow): remove function
7226         (insertParagraph): adjust
7227         (redoParagraphs): adjust
7228         (fullRebreak): adjust
7229         (updateCounters): adjust
7230
7231         * text.C (top_y): rewrite to use RowList iterators.
7232         (top_y): adjust
7233         (setHeightOfRow): rewrite to sue RowList iterators.
7234         (appendParagraph): adjust
7235         (breakAgain): adjust
7236         (breakAgainOneRow): adjust
7237         (breakParagraph): adjust
7238         (getRow): adjust
7239         (getRowNearY): adjust, and remove commented code.
7240
7241         * lyxtext.h (firstRow): delete function
7242         (lastRow): delete function
7243         (rows): new function (const and non-const versions.)
7244         (insertRow): delete function
7245
7246         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7247
7248 2003-03-29  John Levon  <levon@movementarian.org>
7249
7250         * BufferView_pimpl.C: always update scrollbar top
7251         because pasting text when we're anchored could mean we
7252         miss an update altogether
7253
7254 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * text2.C (init): use rowlist_.end() and not 0.
7257         (insertRow): change to take a RowList::iterator as arg, adjust
7258         for this.
7259         (insertParagraph): change to take a RowList::iterator as arg,
7260         adjust for this.
7261         (redoParagraphs): remove some debug msgs.
7262
7263         * text.C (appendParagraph): change to take a RowList::iterator
7264         arg, adjust for this.
7265         (breakAgain): add an assert
7266         (breakAgainOneRow): ditto
7267
7268 2003-03-29  John Levon  <levon@movementarian.org>
7269
7270         * text2.C: do not clear selection after inc/decDepth
7271         (bug 550)
7272
7273 2003-03-29  John Levon  <levon@movementarian.org>
7274
7275         * BufferView.C:
7276         * buffer.C: fix broken strerrors according to Lars
7277
7278 2003-03-29  John Levon  <levon@movementarian.org>
7279
7280         * converters.C: more Alert cleanups
7281
7282 2003-03-29  John Levon  <levon@movementarian.org>
7283
7284         * bufferview_funcs.C: remove pointless Alert
7285
7286         * buffer.C: fix confusing error message when
7287         a template is chmoded 000
7288
7289 2003-03-29  John Levon  <levon@movementarian.org>
7290
7291         * BufferView.C:
7292         * BufferView.h:
7293         * BufferView_pimpl.C: Alert fixes
7294
7295         * Makefile.am:
7296         * tabular.C:
7297         * tabular-old.C: remove unused table compat reading
7298
7299 2003-03-29  John Levon  <levon@movementarian.org>
7300
7301         * BufferView.C:
7302         * buffer.C:
7303         * lyx_cb.h:
7304         * lyx_cb.C: more Alert cleanups
7305
7306         * lyxfunc.C: don't allow chktex if not latex document
7307
7308 2003-03-29  John Levon  <levon@movementarian.org>
7309
7310         * lyx_cb.C:
7311         * BufferView.C:
7312         * buffer.C: warnings pushed down from support/,
7313         kill err_alert
7314
7315 2003-03-29  John Levon  <levon@movementarian.org>
7316
7317         * lyxfunc.C: safety check for C-r (revert)
7318
7319 2003-03-29  John Levon  <levon@movementarian.org>
7320
7321         * bufferlist.h:
7322         * bufferlist.C: several UI fixes using Alert::prompt.
7323         Fix the pointless looping quit code. Fix stupid revert
7324         behaviour (bug 938)
7325
7326         * lyxvc.h:
7327         * lyxvc.C:
7328         * lyx_cb.C: use Alert::prompt
7329
7330         * lyx_main.C: remove a silly question
7331
7332         * lyxfunc.C: remove a couple of silly questions,
7333         use Alert::prompt
7334
7335 2003-03-28  John Levon  <levon@movementarian.org>
7336
7337         * text2.C: fix bug 974 (End on empty par)
7338
7339 2003-03-28  John Levon  <levon@movementarian.org>
7340
7341         * BufferView_pimpl.C:
7342         * LyXAction.C:
7343         * lfuns.h: remove do-nothing math greek lfuns
7344
7345 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7346
7347         * lyxgluelength.h (isValidGlueLength): add default arg on
7348         parameter 2. Remove default arg from friend in class.
7349
7350         * lyxlength.h (isValidLength): add default arg on parameter 2.
7351         Remove default arg from friend in class.
7352
7353         * text2.C (LyXText): adjust, initialize refresh_row.
7354         (init): adjust
7355         (removeRow): adjust
7356         (insertRow): adjust
7357         (insertParagraph): adjst
7358         (redoParagraphs): adjust
7359         (fullRebreak): adjust
7360         (updateCounters): adjust
7361         (deleteEmptyParagraphMechanism): first attempt at fixing a
7362         crashing bug.
7363
7364         * text.C (top_y): adjust
7365         (setHeightOfRow): adjust
7366         (getRow): adjust
7367         (getRowNearY): adjust
7368
7369         * lyxtext.h: include RowList.h
7370         (~LyXText): not needed anymore, deleted.
7371         (firstRow): modify for RowList
7372         (lastRow): new function
7373         Delete firstrow and lastrow class variables, add a Rowlist
7374         rowlist_ class variable.
7375
7376         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7377         paragraph is empty.
7378
7379         * RowList.C (insert): fix case where it == begin().
7380
7381 2003-03-26  Angus Leeming  <leeming@lyx.org>
7382
7383         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7384         the thesaurus dialog.
7385
7386 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7389
7390         * RowList.[Ch]: new files
7391
7392         * ParagraphList.C (erase): handle the case where it == begin
7393         correctly.
7394
7395 2003-03-25  John Levon  <levon@movementarian.org>
7396
7397         * Makefile.am:
7398         * aspell_local.h:
7399         * aspell.C: add new aspell support
7400
7401         * lyxrc.h:
7402         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7403         have it accessible.
7404
7405 2003-03-25  Angus Leeming  <leeming@lyx.org>
7406
7407         * lfuns.h:
7408         * LyXAction.C (init): new LFUN_INSET_INSERT.
7409
7410         * BufferView_pimpl.C (dispatch): split out part of the
7411         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7412
7413         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7414         LFUN_INSET_APPLY.
7415
7416 2003-03-25  Angus Leeming  <leeming@lyx.org>
7417
7418         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7419
7420 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7421
7422         * text2.C:
7423         * text3.C: remove useless row->height(0)
7424
7425 2003-03-25  John Levon  <levon@movementarian.org>
7426
7427         * lyxtext.h:
7428         * text2.C:
7429         * text3.C: rename the refreshing stuff to better names
7430
7431 2003-03-24  John Levon  <levon@movementarian.org>
7432
7433         * BufferView_pimpl.h:
7434         * BufferView_pimpl.C: update layout choice on a mouse
7435         press/release
7436
7437 2003-03-23  John Levon  <levon@movementarian.org>
7438
7439         * Makefile.am: fix commandtags.h reference
7440
7441 2003-03-22  John Levon  <levon@movementarian.org>
7442
7443         * BufferView_pimpl.C:
7444         * lyxtext.h:
7445         * rowpainter.C:
7446         * rowpainter.h:
7447         * text.C:
7448         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7449
7450 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7451
7452         * lyxtext.h:
7453         * text.C: take the rtl methods out of line
7454
7455 2003-03-21 André Pönitz <poenitz@gmx.net>
7456
7457         * metricsinfo.[Ch]: new files containing structures to be passed around
7458         during the two-phase-drawing...
7459
7460 2003-03-21 André Pönitz <poenitz@gmx.net>
7461
7462         * lyxtextclass.C: read 'environment' tag.
7463
7464 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7465
7466         * text2.C (removeRow): fix bug 964
7467
7468 2003-03-20  John Levon  <levon@movementarian.org>
7469
7470         * rowpainter.C:
7471         * text.C:
7472         * text2.C: paint cleanups. Inset::update() dropped font
7473         parameter
7474
7475 2003-03-19  John Levon  <levon@movementarian.org>
7476
7477         * lyxfunc.C: only fitcursor/markDirty if available()
7478
7479 2003-03-19  John Levon  <levon@movementarian.org>
7480
7481         * commandtags.h: rename to ...
7482
7483         * lfuns.h: ... this, and renumber / cleanup
7484
7485 2003-03-19  John Levon  <levon@movementarian.org>
7486
7487         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7488         fit the cursor after an lfun
7489
7490         * BufferView.h:
7491         * BufferView.C:
7492         * BufferView_pimpl.h:
7493         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7494
7495         * LyXAction.C: layout-character should have ReadOnly
7496
7497         * ParagraphParameters.C:
7498         * buffer.C:
7499         * bufferview_funcs.C:
7500         * lyx_cb.C:
7501         * lyxfind.C:
7502         * lyxtext.h:
7503         * text.C:
7504         * text2.C:
7505         * text3.C:
7506         * undo_funcs.C: changes from above
7507
7508 2003-03-18  John Levon  <levon@movementarian.org>
7509
7510         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7511         remove it from update()
7512
7513         * lyxfunc.C: update layout choice after an lfun
7514
7515         * text3.C: remove extra updateLayoutChoice()s
7516
7517 2003-03-18  John Levon  <levon@movementarian.org>
7518
7519         * text.C: top_y change means full repaint, fix
7520         a drawing bug with cursor movement
7521
7522 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7523
7524         * lyxtext.h:
7525         * text.C:
7526         * text2.C: anchor row on setCursor
7527
7528 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7529
7530         * lyxtext.h: remove almost all mutable keywords
7531         * text.C:
7532         * text2.C:
7533         * text3.C: remove const keywords accordingly
7534
7535 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7536
7537         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7538         anon namespace
7539         (TeXEnvironment): ditto
7540         (TeXOnePar): ditto
7541
7542 2003-03-17  John Levon  <levon@movementarian.org>
7543
7544         * text.C (rowBreakPoint): remove attempt to fix displayed
7545         math insets inside a manual label
7546
7547 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7548
7549         * lyxtext.h: remove BufferView* as first arg from almost all class
7550         functions.
7551         * other files: adjust.
7552
7553 2003-03-17  John Levon  <levon@movementarian.org>
7554
7555         * lyxtext.h:
7556         * undo_funcs.C:
7557         * text2.C: more paint cleanups
7558
7559         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7560
7561         * rowpainter.h:
7562         * rowpainter.C: remove "smart" background painting code
7563
7564 2003-03-16  John Levon  <levon@movementarian.org>
7565
7566         * lyxtext.h:
7567         * text.C:
7568         * text2.C:
7569         * text3.C: add helper functions for setting refresh_row/y
7570
7571 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7572
7573         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7574         newline inset which *can* get inserted in the pass_thru layouts.
7575         This is primarily for literate documents.
7576
7577 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7578
7579         * buffer.C: increment LYX_FORMAT to 223
7580
7581 2003-03-14 André Pönitz <poenitz@gmx.net>
7582
7583         * textclass.h: prepare for environment handling, ws changes
7584         * lyxlayout.C: read latexheader and latexfooter tags
7585
7586 2003-03-14  John Levon  <levon@movementarian.org>
7587
7588         * text2.C: rewrite ::status() a bit
7589
7590 2003-03-13  John Levon  <levon@movementarian.org>
7591
7592         * lyxtext.h: add some docs
7593
7594 2003-03-13  John Levon  <levon@movementarian.org>
7595
7596         * lyxtext.h:
7597         * text.C:
7598         * text2.C:
7599         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7600
7601 2003-03-13  John Levon  <levon@movementarian.org>
7602
7603         * text3.C: fix appendix redrawing
7604
7605 2003-03-13  John Levon  <levon@movementarian.org>
7606
7607         * text.C (setHeightOfRow):
7608         * rowpainter.h:
7609         * rowpainter.C: make appendix mark have the text
7610           "Appendix" so the user knows what it is
7611
7612         * LColor.h:
7613         * LColor.C: s/appendixline/appendix/ from above
7614
7615 2003-03-13  John Levon  <levon@movementarian.org>
7616
7617         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7618
7619         * text.C: fix a getChar(pos) bug properly
7620
7621 2003-03-13  Angus Leeming  <leeming@lyx.org>
7622
7623         * commandtags.h:
7624         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7625         Probably only temporary. Let's see how things pan out.
7626
7627         * BufferView.C (unlockInset):
7628         * BufferView_pimpl.C (fitCursor):
7629         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7630
7631         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7632         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7633
7634         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7635         new functions that convert ParagraphParameters to and from a string.
7636
7637         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7638         BufferView::Pimpl's dispatch.
7639         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7640
7641 2003-03-13 André Pönitz <poenitz@gmx.net>
7642
7643         * lyxfunc.C:
7644         * text3.C:
7645         * factory.C: make it aware of InsetEnv
7646
7647 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7648
7649         * text2.C (setCursor): never ask for one past last
7650         (setCursor): add some debugging messages.
7651
7652         * text.C (singleWidth): never ask for one past last
7653         (singleWidth): ditto
7654         (leftMargin): ditto
7655         (rightMargin): ditto
7656         (rowBreakPoint): ditto
7657         (setHeightOfRow): ditto
7658         (prepareToPrint): ditto
7659
7660         * rowpainter.C (paintBackground): never ask for one past last
7661         (paintText): never ask for one past last
7662
7663         * paragraph_pimpl.C (getChar): make the assert stricter, never
7664         allow the one past last pos to be taken
7665
7666         * paragraph.C (getChar): ws changes only
7667
7668         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7669         (numberOfSeparators): ditto
7670         (numberOfHfills): ditto
7671
7672 2003-03-12  John Levon  <levon@movementarian.org>
7673
7674         * author.h:
7675         * author.C:
7676         * bufferparams.h:
7677         * bufferparams.C:
7678         * paragraph_funcs.C: fix per-buffer authorlists
7679
7680 2003-03-12  John Levon  <levon@movementarian.org>
7681
7682         * text.C: fix newline in right address
7683
7684 2003-03-12  Angus Leeming  <leeming@lyx.org>
7685
7686         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7687         duplicate those in LyXFunc::dispatch.
7688
7689         * commandtags.h:
7690         * LyXAction.C:
7691         * ToolbarDefaults.C:
7692         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7693         Add LFUN_FONTFREE_UPDATE.
7694
7695         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7696         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7697
7698         * bufferview_func.[Ch]: several new functions to facilliate
7699         transfer of data to and from the character dialog.
7700
7701 2003-03-12  John Levon  <levon@movementarian.org>
7702
7703         * buffer.C:
7704         * paragraph.h:
7705         * paragraph.C:
7706         * paragraph_funcs.C:
7707         * paragraph_pimpl.C:
7708         * sgml.C:
7709         * tabular.C:
7710         * text.C:
7711         * text3.C: remove META_NEWLINE in favour of an inset
7712
7713         * rowpainter.h:
7714         * rowpainter.C: remove paintNewline (done by inset)
7715
7716 2003-03-12  John Levon  <levon@movementarian.org>
7717
7718         * paragraph_pimpl.C: complain about bad getChar()s
7719         for a while at least
7720
7721 2003-03-12  John Levon  <levon@movementarian.org>
7722
7723         * buffer.h:
7724         * buffer.C: move paragraph read into a separate function,
7725         a little renaming to reflect that.
7726
7727         * bufferparams.h:
7728         * bufferparams.C: remove the author_ids map, not necessary now
7729
7730         * factory.h:
7731         * factory.C: moved Buffer::readInset to here
7732
7733         * paragraph_funcs.h:
7734         * paragraph_funcs.C: readParagraph free function moved from
7735         buffer.C
7736
7737         * tabular.C: name change
7738
7739 2003-03-12  John Levon  <levon@movementarian.org>
7740
7741         * buffer.C:
7742         * ParagraphParameters.C: move par params input to
7743         a read() method
7744
7745         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7746         behave like a normal read from the stream wrt reading
7747         a line vs. a \\token
7748
7749 2003-03-12  John Levon  <levon@movementarian.org>
7750
7751         * paragraph.C:
7752         * ParagraphParameters.h:
7753         * ParagraphParameters.C: move output code to a
7754         ::write() method
7755
7756 2003-03-12  John Levon  <levon@movementarian.org>
7757
7758         * BufferView.C (insertLyXFile):
7759         * buffer.h:
7760         * buffer.C:
7761         * tabular.C: use a parlist iterator for creating the
7762           document.
7763
7764 2003-03-12  John Levon  <levon@movementarian.org>
7765
7766         * buffer.C: make current_change static local not
7767           static file-scope
7768
7769 2003-03-12  John Levon  <levon@movementarian.org>
7770
7771         * buffer.C: fix insertStringAsLines for change tracking
7772
7773 2003-03-12  John Levon  <levon@movementarian.org>
7774
7775         * BufferView.C:
7776         * tabular.C:
7777         * buffer.h:
7778         * buffer.C:
7779         * bufferparams.h:
7780         * bufferparams.C: move author list into params. Rename some
7781           functions. Move the header reading into a separate token
7782           loop. Move the header token reading into BufferParams.
7783
7784 2003-03-12  John Levon  <levon@movementarian.org>
7785
7786         * changes.C: put debug inside lyxerr.debugging() checks
7787
7788 2003-03-11 André Pönitz <poenitz@gmx.net>
7789
7790         * factory.C: make it aware of InsetHFill
7791
7792 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7793
7794         * buffer.C (latexParagraphs): move function from here...
7795         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7796         args.
7797
7798 2003-03-10  Angus Leeming  <leeming@lyx.org>
7799
7800         * LyXAction.C (init): fix bug in poplating array with multiple entries
7801         with the same LFUN (spotted by JMarc).
7802
7803 2003-03-10  John Levon  <levon@movementarian.org>
7804
7805         * text.C:
7806         * text2.C: move getColumnNearX() near its
7807         only call site
7808
7809 2003-03-10  John Levon  <levon@movementarian.org>
7810
7811         * text.C: fix break before a minipage
7812
7813 2003-03-10  John Levon  <levon@movementarian.org>
7814
7815         * text.C: fix the last commit
7816
7817 2003-03-09  John Levon  <levon@movementarian.org>
7818
7819         * lyxtext.h:
7820         * text.C:
7821         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7822         bug 365 (don't break before insets unless needed). Don't
7823         return a value > last under any circumstances.
7824
7825 2003-03-09  Angus Leeming  <leeming@lyx.org>
7826
7827         * BufferView_pimpl.C (trackChanges, dispatch): call
7828         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7829
7830 2003-03-09  Angus Leeming  <leeming@lyx.org>
7831
7832         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7833         than Dialogs::showAboutlyx().
7834
7835 2003-03-09  Angus Leeming  <leeming@lyx.org>
7836
7837         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7838         than Dialogs::showTabularCreate().
7839
7840 2003-03-09  John Levon  <levon@movementarian.org>
7841
7842         * lyxtext.h:
7843         * text.C:
7844         * text2.C: 3rd arg to nextBreakPoint was always the same.
7845           Use references.
7846
7847 2003-03-08  John Levon  <levon@movementarian.org>
7848
7849         * lyxrow.C:
7850         * paragraph.C:
7851         * paragraph.h:
7852         * rowpainter.C:
7853         * text.C:
7854         * text2.C: Remove the "main" bit from the "main body"
7855           notion.
7856
7857 2003-03-08  John Levon  <levon@movementarian.org>
7858
7859         * text.C (leftMargin): The left margin of an empty
7860         manual label paragraph should not include the label width
7861         string length.
7862
7863         * text.C (prepareToPrint): don't attempt to measure hfills
7864         for empty manual label paragraphs - the answer should be 0
7865
7866 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * CutAndPaste.C: remove commented code and reindent.
7869
7870 2003-03-08  John Levon  <levon@movementarian.org>
7871
7872         * lyxfunc.h:
7873         * lyxfunc.C: move reloadBuffer()
7874
7875         * BufferView.h:
7876         * BufferView.C: to here
7877
7878         * lyxvc.C: add comment
7879
7880         * vc-backend.h:
7881         * vc-backend.C: call bv->reload() to avoid
7882           getStatus() check on MENURELOAD
7883
7884 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7885
7886         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7887         to an old format .dep file.
7888
7889 2003-03-07  Angus Leeming  <leeming@lyx.org>
7890
7891         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7892         when the LFUN_MOUSE_RELEASE should have been handled by
7893         inset->localDispatch.
7894
7895 2003-03-07  Angus Leeming  <leeming@lyx.org>
7896
7897         * BufferView_pimpl.C (dispatch):
7898         * LyXAction.C (init):
7899         * ToolbarDefaults.C (init):
7900         * commandtags.h:
7901         * lyxfunc.C (getStatus):
7902         remove LFUN_INSET_GRAPHICS.
7903
7904         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7905
7906 2003-03-07  Angus Leeming  <leeming@lyx.org>
7907
7908         * commandtags.h:
7909         * LyXAction.C (init):
7910         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7911
7912         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7913
7914         * commandtags.h:
7915         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7916
7917         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7918         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7919
7920 2003-03-07  Angus Leeming  <leeming@lyx.org>
7921
7922         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7923         remove "ert".
7924
7925 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7926
7927         * ParagraphList.C (front): new function
7928         (back): implement
7929
7930 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7931
7932         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7933         and top_row_offset_. removed var first_y.
7934         * text.C (top_y):
7935         * text2.C (LyXText, removeRow):
7936         * text3.C:
7937         * BufferView_pimpl.C:
7938         use these methods instead of using first_y
7939
7940 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * text2.C (pasteSelection): adjust for checkPastePossible
7943
7944         * CutAndPaste.C: remove Paragraph * buf and replace with
7945         ParagraphList paragraphs.
7946         (DeleteBuffer): delete
7947         (cutSelection): change the tc type to textclass_type
7948         (copySelection): change the tc type to textclass_type
7949         (copySelection): adjust for ParagraphList
7950         (pasteSelection): change the tc type to textclass_type
7951         (pasteSelection): adjust for Paragraphlist
7952         (nrOfParagraphs): simplify for ParagraphList
7953         (checkPastePossible): simplify for ParagraphList
7954         (checkPastePossible): remove unused arg
7955
7956         * ParagraphList.C (insert): handle the case where there are no
7957         paragraphs yet.
7958
7959         * CutAndPaste.h: make CutAndPaste a namespace.
7960
7961         * text3.C (dispatch): adjust
7962
7963         * text.C (breakParagraph): add a ParagraphList as arg
7964
7965         * paragraph_funcs.C (breakParagraph): change to take a
7966         BufferParams and a ParagraphList as args.
7967         (breakParagraphConservative): ditto
7968         (mergeParagraph): ditto
7969         (TeXDeeper): add a ParagraphList arg
7970         (TeXEnvironment): ditto
7971         (TeXOnePar): ditto
7972
7973         * buffer.C (readLyXformat2): adjust
7974         (insertStringAsLines): adjust
7975         (latexParagraphs): adjust
7976
7977         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7978         (cutSelection): adjust
7979         (pasteSelection): adjust
7980
7981         * BufferView_pimpl.C (insertInset): adjust
7982
7983 2003-03-05  Angus Leeming  <leeming@lyx.org>
7984
7985         * commandtags.h:
7986         * LyXAction.C (init):
7987         * BufferView_pimpl.C (dispatch):
7988         * lyxfunc.C (getStatus):
7989         remove LFUN_CHILD_INSERT.
7990
7991         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7992
7993 2003-03-05  Angus Leeming  <leeming@lyx.org>
7994
7995         * commandtags.h:
7996         * LyXAction.C (init):
7997         * src/factory.C (createInset):
7998         * lyxfunc.C (getStatus):
7999         * text3.C (dispatch):
8000         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8001
8002         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8003
8004 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8005
8006         * ParagraphList.C (insert): handle insert right before end()
8007         (erase): fix cases where it can be first or last paragraph.
8008
8009 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8010
8011         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8012         Paragraph::next and Paragraph::previous
8013         (TeXOnePar): ditto
8014
8015         * text.C (breakParagraph): adjust
8016
8017         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8018         BufferParams& as arg.
8019         (breakParagraph): use ParagraphList::insert
8020         (breakParagraphConservative): take a Buffer* instead of a
8021         BufferParams& as arg.
8022         (breakParagraphConservative): use ParagraphList::insert.
8023
8024         * buffer.C (insertStringAsLines): un-const it
8025         (insertStringAsLines): adjust
8026
8027         * ParagraphList.C (insert): new function
8028
8029         * CutAndPaste.C (pasteSelection): adjust
8030
8031         * text.C (backspace): adjust
8032
8033         * tabular.C (SetMultiColumn): adjust
8034
8035         * CutAndPaste.C (cutSelection): adjust
8036         (pasteSelection): adjust
8037
8038         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8039         Buffer const * as arg
8040
8041         * ParagraphList.C (erase): new function
8042         * paragraph_funcs.C (mergeParagraph): use it
8043         (mergeParagraph): make it take a Buffer* instead of a
8044         BufferParams* as arg
8045
8046         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8047         as arg
8048         (breakParagraphConservative): ditto
8049
8050         * paragraph.h: remove the breakParagraph friend
8051
8052         * paragraph.C (eraseIntern): new function
8053         (setChange): new function
8054
8055         * paragraph_funcs.C (mergeParagraph): make it take a
8056         ParagraphList::iterator instead of a Paragraph *, adjust
8057         accordingly.
8058
8059         * paragraph.h: move an #endif so that the change tracking stuff
8060         also works in the NO_NEXT case.
8061
8062 2003-03-04  Angus Leeming  <leeming@lyx.org>
8063
8064         * commandtags.h:
8065         * LyXAction.C: new LFUN_INSET_MODIFY.
8066
8067         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8068         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8069
8070 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8071
8072         * several files: ws changes only
8073
8074         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8075         (TeXEnvironment): ditto
8076         (TeXDeeper): ditto
8077
8078         * buffer.C (makeLaTeXFile): adjust
8079         (latexParagraphs): make it take ParagraphList::iterator as args
8080
8081 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8082
8083         * buffer.C (latexParagraphs): adjust
8084
8085         * paragraph.C (TeXOnePar): move function...
8086         (optArgInset): move function...
8087         (TeXEnvironment): move function...
8088         * paragraph_pimpl.C (TeXDeeper): move function...
8089         * paragraph_funcs.C: ...here
8090
8091         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8092
8093 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * buffer.C (readInset): remove compability code for old Figure and
8096         InsetInfo insets
8097
8098 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * buffer.C: ws changes
8101         (readInset):
8102
8103         * BufferView_pimpl.C: ditto
8104         * author.C: ditto
8105         * buffer.h: ditto
8106         * bufferlist.h: ditto
8107         * changes.h: ditto
8108         * lyxfunc.C: ditto
8109
8110 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8111
8112         * converter.[Ch]: split into itself +
8113         * graph.[Ch]
8114         * format.[Ch]
8115         * Makefile.am: += graph.[Ch] + format.[Ch]
8116         * MenuBackend.C
8117         * buffer.C
8118         * exporter.C
8119         * importer.C
8120         * lyx_main.C
8121         * lyxfunc.C
8122         * lyxrc.C: added #include "format.h"
8123
8124 2003-02-27  Angus Leeming  <leeming@lyx.org>
8125
8126         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8127           a label.
8128
8129         * factory.C (createInset): add "label" to the factory.
8130
8131         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8132           string and do no more.
8133
8134 2003-02-27  Angus Leeming  <leeming@lyx.org>
8135
8136         * commandtags.h:
8137         * LyXAction.C (init):
8138         * factory.C (createInset):
8139         * BufferView_pimpl.C (dispatch):
8140           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8141
8142         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8143
8144         * lyxfunc.C (dispatch):
8145         * text3.C (dispatch): pass name to params2string.
8146
8147 2003-02-26  Angus Leeming  <leeming@lyx.org>
8148
8149         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8150           blocks together.
8151           Rearrange the ~includes. Strip out the unnecessary ones.
8152
8153         * factory.C (createInset): reformat.
8154           create new insets for the various LFUN_XYZ_APPLY lfuns.
8155
8156 2003-02-26  John Levon  <levon@movementarian.org>
8157
8158         * lyxrow.h:
8159         * lyxrow.C: add isParStart,isParEnd helpers
8160
8161         * paragraph.h: make isInserted/DeletedText take refs
8162
8163         * paragraph_funcs.h:
8164         * paragraph_funcs.C: remove #if 0'd code
8165
8166         * lyxtext.h:
8167         * text3.C:
8168         * text2.C:
8169         * text.C: use lyxrow helpers above.
8170           Move draw and paint routines to RowPainter.
8171           Make several methods use refs not pointers.
8172           Make backgroundColor() const.
8173           Add markChangeInDraw(), isInInset().
8174           Merge changeRegionCase into changeCase.
8175           Make workWidth() shouldn't-happen code into an Assert.
8176
8177         * rowpainter.h:
8178         * rowpainter.C: new class for painting a row.
8179
8180         * vspace.h:
8181         * vspace.C: make inPixels take a ref
8182
8183 2003-02-26  Angus Leeming  <leeming@lyx.org>
8184
8185         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8186         LFUN_REF_APPLY.
8187
8188 2003-02-25  John Levon  <levon@movementarian.org>
8189
8190         * ispell.C: give the forked command a more accurate name
8191
8192 2003-02-22  John Levon  <levon@movementarian.org>
8193
8194         * toc.h:
8195         * toc.C: make TocItem store an id not a Paragraph *
8196           (bug #913)
8197
8198 2003-02-21  Angus Leeming  <leeming@lyx.org>
8199
8200         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8201           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8202           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8203           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8204           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8205           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8206
8207         * BufferView_pimpl.C (dispatch):
8208         * LyXAction.C (init):
8209         * factory.C (createInset):
8210         * lyxfunc.C (getStatus, dispatch):
8211         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8212
8213 2003-02-21  Angus Leeming  <leeming@lyx.org>
8214
8215         * BufferView_pimpl.C (MenuInsertLyXFile):
8216         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8217         * lyxfunc.C (menuNew, open, doImport):
8218           no longer pass a LyXView & to fileDlg.
8219
8220 2003-02-21  Angus Leeming  <leeming@lyx.org>
8221
8222         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8223         * LyXAction.C: change, BIBKEY to BIBITEM.
8224         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8225         Change InsetBibKey to InsetBibitem.
8226         Change BIBKEY_CODE to BIBITEM_CODE.
8227         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8228         * factory.C: replace insetbib.h with insetbibitem.h.
8229         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8230         * paragraph.C: replace insetbib.h with insetbibitem.h.
8231         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8232         Change bibkey() to bibitem().
8233         * text.C: remove insetbib.h.
8234         * text2.C: replace insetbib.h with insetbibitem.h.
8235         change bibkey() to bibitem().
8236         * text3.C: remove insetbib.h.
8237         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8238
8239 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8240
8241         * lyxrc.C (output): enclose user email in quotes (in case there are
8242         several words)
8243
8244 2003-02-18  John Levon  <levon@movementarian.org>
8245
8246         * buffer.h: add std::
8247
8248 2003-02-17  John Levon  <levon@movementarian.org>
8249
8250         * SpellBase.h:
8251         * ispell.h:
8252         * ispell.C:
8253         * pspell.h:
8254         * pspell.C: reworking. Especially in ispell, a large
8255           number of clean ups and bug fixes.
8256
8257         * lyxfunc.C: fix revert to behave sensibly
8258
8259 2003-02-17 André Pönitz <poenitz@gmx.net>
8260
8261         * LyXAction.C:
8262         * commandtags.h: new LFUN_INSERT_BIBKEY
8263
8264         * layout.h:
8265         * lyxlayout.C:
8266         * buffer.C:
8267         * factory.C:
8268         * text.C:
8269         * text2.C:
8270         * text3.C:
8271         * paragraph.[Ch]:
8272         * paragraph_func.C: remove special bibkey handling
8273
8274 2003-02-17  John Levon  <levon@movementarian.org>
8275
8276         * text.C (Delete): fix case where delete at the end of
8277           the very first paragraph would not merge the pars
8278
8279 2003-02-17  John Levon  <levon@movementarian.org>
8280
8281         * lyxrow.C: fix lastPrintablePos()
8282
8283 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8284
8285         * bufferparams.C (writeLaTeX): add a std:here
8286
8287         * buffer.C: and remove a using directive there
8288
8289 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8290
8291         * buffer.C (makeLaTeXFile): move the code that generates the
8292           preamble...
8293
8294         * bufferparams.C (writeLaTeX): ... in this new method
8295
8296         * LaTeXFeatures.C (getEncodingSet): make const
8297           (getLanguages): make const
8298
8299         * MenuBackend.C (binding): returns the binding associated to this
8300           action
8301           (add): sets the status of each item by calling getStatus. Adds
8302           some intelligence.
8303           (read): add support for OptSubMenu
8304           (expand): remove extra separator at the end of expanded menu
8305
8306 2003-02-15  John Levon  <levon@movementarian.org>
8307
8308         * BufferView.C:
8309         * BufferView_pimpl.C:
8310         * bufferlist.h:
8311         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8312           inset code that had no actual effect. Remove unneeded status
8313           code.
8314
8315 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8316
8317         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8318           in preamble
8319
8320 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8321
8322         * text.C (drawLengthMarker): also draw an arrow marker for
8323           symbolic lengths (medskip...)
8324
8325 2003-02-14  John Levon  <levon@movementarian.org>
8326
8327         * tabular.h:
8328         * tabular.C: better method names
8329
8330 2003-02-14  John Levon  <levon@movementarian.org>
8331
8332         * BufferView_pimpl.C:
8333         * bufferlist.C:
8334         * buffer.C:
8335         * converter.C:
8336         * lyx_cb.C:
8337         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8338           it's a more accurate name. Remove some pointless uses.
8339
8340 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8341
8342         * text2.C (LyXText): change order of initilizers to shut off
8343           warnings
8344
8345 2003-02-14  John Levon  <levon@movementarian.org>
8346
8347         * buffer.C: use ParIterator for getParFromID()
8348
8349         * paragraph.h:
8350         * paragraph.C:
8351         * paragraph_pimpl.h:
8352         * paragraph_pimpl.C: remove unused getParFromID()
8353
8354 2003-02-14  John Levon  <levon@movementarian.org>
8355
8356         * buffer.C: remove some very old #if 0'd parse code
8357
8358 2003-02-13  John Levon  <levon@movementarian.org>
8359
8360         * text.h:
8361         * text.C:
8362         * text2.C: move hfillExpansion(), numberOfSeparators(),
8363           rowLast(), rowLastPrintable(), numberofHfills(),
8364           numberOfLabelHfills() ...
8365
8366         * lyxrow.h:
8367         * lyxrow.C: ... to member functions here.
8368
8369         * paragraph.h:
8370         * paragraph.C:
8371         * lyxtext.h:
8372         * text.C: remove LyXText::beginningOfMainBody(), and call
8373           p->beginningOfMainBody() directly. Move the check for
8374           LABEL_MANUAL into the latter.
8375
8376         * text.h:
8377         * text.C:
8378         * text2.C:
8379         * vspace.C:
8380         * BufferView.h:
8381         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8382
8383         * text.h:
8384         * text.C:
8385         * text2.C:
8386         * text3.C:
8387         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8388           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8389
8390 2003-02-13  John Levon  <levon@movementarian.org>
8391
8392         * CutAndPaste.C: remove debug
8393
8394 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8395
8396         * paragraph.C (asString): remove two unused variables
8397
8398         * lyxtextclass.C (readTitleType):
8399           (Read):
8400           (LyXTextClass): handle new members titletype_ and titlename_
8401
8402         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8403
8404 2003-02-09  John Levon  <levon@movementarian.org>
8405
8406         * buffer.h:
8407         * buffer.C: replace hand-coded list with a map for the dep clean
8408
8409 2003-02-08  John Levon  <levon@movementarian.org>
8410
8411         * LaTeX.C: consolidate code into showRunMessage() helper
8412
8413 2003-02-08  John Levon  <levon@movementarian.org>
8414
8415         * lyxfind.C:
8416         * lyxtext.h:
8417         * text2.C:
8418         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8419           and pass the size in explicitly
8420
8421         * BufferView_pimpl.h:
8422         * BufferView_pimpl.C:
8423         * BufferView.h:
8424         * BufferView.C: add getCurrentChange()
8425
8426         * BufferView_pimpl.h:
8427         * BufferView_pimpl.C: handle change lfuns
8428
8429         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8430           for changes. Mark pasted paragraphs as new.
8431
8432         * support/lyxtime.h:
8433         * support/lyxtime.C:
8434         * DepTable.C: abstract time_t as lyx::time_type
8435
8436         * LColor.h:
8437         * LColor.C: add colours for new text, deleted text, changebars
8438
8439         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8440           package use "usenames" option.
8441
8442         * commandtags.h:
8443         * lyxfunc.C:
8444         * LyXAction.C: add change lfuns
8445
8446         * Makefile.am:
8447         * author.h:
8448         * author.C: author handling
8449
8450         * buffer.h:
8451         * buffer.C: add a per-buffer author list, with first entry as
8452           current author. Handle new .lyx tokens for change tracking. Output
8453           author list to .lyx file. Output dvipost stuff to .tex preamble.
8454           Bump lyx format to 222.
8455
8456         * bufferlist.h:
8457         * bufferlist.C: add setCurrentAuthor() to reset current author details
8458           in all buffers.
8459
8460         * bufferparams.h:
8461         * bufferparams.C: add param for tracking
8462
8463         * bufferview_funcs.C: output change info in minibuffer
8464
8465         * Makefile.am:
8466         * changes.h:
8467         * changes.C: add change-tracking structure
8468
8469         * debug.h:
8470         * debug.C: add CHANGES debug flag
8471
8472         * lyxfind.h:
8473         * lyxfind.C: add code for finding the next change piece
8474
8475         * lyxrc.h:
8476         * lyxrc.C: add user_name and user_email
8477
8478         * lyxrow.h:
8479         * lyxrow.C: add a metric for the top of the text line
8480
8481         * lyxtext.h:
8482         * text.C: implement accept/rejectChange()
8483
8484         * lyxtext.h:
8485         * text.C: paint changebars. Paint new/deleted text in the chosen
8486         colours. Strike through deleted text.
8487
8488         * paragraph.h:
8489         * paragraph.C:
8490         * paragraph_pimpl.h:
8491         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8492           in the current change to the insert functions. Rework erase to
8493           mark text as deleted, adding an eraseIntern() and a range-based
8494           erase(). Implement per-paragraph change lookup and
8495           accept/reject.
8496
8497         * paragraph_funcs.C: Fixup paste for change tracking.
8498
8499         * tabular.C: mark added row/columns as new.
8500
8501         * text.C: fix rowLast() to never return -1. Don't allow
8502           spellchecking of deleted text. Track transpose changes. Don't
8503           allow paragraph break or merge where appropriate.
8504
8505         * text2.C: leave cursor at end of selection after a cut.
8506
8507 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8508
8509         * text.C (getLengthMarkerHeight):
8510         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8511         visible on screen too.
8512
8513 2003-02-07  John Levon  <levon@movementarian.org>
8514
8515         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8516
8517 2003-02-05  Angus Leeming  <leeming@lyx.org>
8518
8519         * lyxserver.C (read_ready): revert my patch of 11 September last year
8520         as it sends PC cpu through the roof. Presumably this means that
8521         the lyxserver will no longer run on an Alpha...
8522
8523 2003-01-30  Angus Leeming  <leeming@lyx.org>
8524
8525         * factory.C (createInset): create an InsetCommandParam of type "index"
8526         and use it to 'do the right thing'.
8527
8528         * text2.C (getStringToIndex): ensure that cursor position is always
8529         reset to the reset_cursor position.
8530
8531 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8532
8533         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8534         disabled.
8535
8536 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8537
8538         * bufferview.C:
8539         * lyxcb.C:
8540         * lyxfunc.C: Output messages with identical spelling, punctuation,
8541         and spaces
8542
8543 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8544
8545         * MenuBackend.C (expandFormats): List only viewable export formats
8546         in "View" menu
8547
8548         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8549         message
8550
8551         * lyxfunc.C (getStatus): Make sure that formats other than
8552         "fax" can also be disabled
8553
8554 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8555
8556         * text3.C (dispatch): put the lfuns that insert insets in 3
8557         groups, and call doInsertInset with appropriate arguments.
8558         (doInsertInset): new function, that creates an inset and inserts
8559         it according to some boolean parameters.
8560
8561 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * buffer.C (readFile): remember to pass on 'par' when calling
8564         readFile recursively.
8565
8566 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8567
8568         * MenuBackend.C (expandFormats): add "..." to import formats.
8569
8570 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8571
8572         * paragraph.C (asString): Remove XForms RTL hacks.
8573
8574 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8575         * buffer.C: fix typo
8576
8577 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8578
8579         * Makefile.am (LIBS): delete var
8580         (lyx_LDADD): add @LIBS@ here instead.
8581
8582 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8583
8584         * Clarify the meaning of "wheel mouse jump"
8585
8586 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8587
8588         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8589         tabular in a float
8590
8591 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8592
8593         * importer.C (Loaders): do not preallocate 3 elements in the
8594         vector, since one ends up with 6 elements otherwise
8595
8596 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8597
8598         * DepTable.C (write): write the file name as last element of the
8599         .dep file (because it may contain spaces)
8600         (read): read info in the right order
8601
8602 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8603
8604         * paragraph_pimpl.C (simpleTeXBlanks):
8605         (simpleTeXSpecialChars):
8606         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8607
8608         * tabular.C (latex): add some missing case statements. Reindent.
8609
8610         * MenuBackend.C (expandToc): remove unused variable.
8611
8612 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8613
8614         * LColor.C:
8615         * LaTeX.C:
8616         * LyXAction.C:
8617         * MenuBackend.C:
8618         * buffer.C:
8619         * exporter.C:
8620         * lyxfunc.C:
8621         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8622         and the like.
8623
8624 2003-01-05  John Levon  <levon@movementarian.org>
8625
8626         * BufferView.h:
8627         * BufferView.C: add getEncoding()
8628
8629         * kbsequence.h:
8630         * kbsequence.C: do not store last keypress
8631
8632         * lyxfunc.h:
8633         * lyxfunc.C: store last keypress here instead. Pass encoding
8634           to getISOEncoded()
8635
8636 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8637
8638         * lyx_main.C (init): remove annoying error message when following
8639         symbolic links (bug #780)
8640
8641 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8642
8643         * text.C (insertChar):
8644         * lyxrc.C (getDescription): remove extra spaces
8645
8646 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8647
8648         * lyxrc.C (getDescription): remove extra spaces
8649
8650 2002-12-20  John Levon  <levon@movementarian.org>
8651
8652         * text3.C: hack fix for page up/down across tall rows
8653
8654 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8655
8656         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8657         not been invoked
8658
8659 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8660
8661         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8662         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8663         thesaurus is not compiled in
8664
8665 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8666
8667         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8668
8669 2002-12-16  Angus Leeming  <leeming@lyx.org>
8670
8671         * lyxrc.[Ch]:
8672         * lyx_main.C (init): remove override_x_deadkeys stuff.
8673
8674 2002-12-12  John Levon  <levon@movementarian.org>
8675
8676         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8677           insert. Only remove shift modifier under strict
8678           circumstances.
8679
8680 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * MenuBackend.C (expandToc): fix crash.
8683
8684 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8685
8686         * MenuBackend.C (expandToc): gettext on float names.
8687
8688 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8689
8690         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8691         implement bool empty() [bug 490]
8692
8693 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8694
8695         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8696
8697 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8698
8699         * several files: ws changes
8700
8701 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8702
8703         * text2.C (setCounter): clean up a bit, use boost.format.
8704         (updateCounters): initialize par upon declaration.
8705
8706         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8707         if the layout exists. We do not just store the layout any more.
8708         (SwitchLayoutsBetweenClasses): use boost.format
8709
8710 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8711
8712         * converter.C (convert): if from and to files are the same, use a
8713         temporary files as intermediary
8714
8715 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8716
8717         * commandtags.h:
8718         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8719
8720 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8721
8722         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8723
8724 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8725
8726         * tabular.C (asciiPrintCell): use string(size, char) instead of
8727         explicit loop.
8728
8729         * sgml.C (openTag): fix order of arguments to string constructor
8730         (closeTag): ditto
8731
8732         * lyxfunc.C (dispatch): use boost.format
8733
8734         * lots of files: change "c" -> 'c'
8735
8736 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8737
8738         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8739
8740 2002-11-25  Angus Leeming  <leeming@lyx.org>
8741
8742         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8743
8744         * lyx_main.C (init): compile fix.
8745
8746 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8747
8748         * lyx_cb.C (start): boost.formatify
8749         do not include <iostream>
8750
8751         * lengthcommon.C: ws only
8752
8753         * boost-inst.C,BoostFormat.h: add more explict instantations
8754
8755 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8756
8757         * lots of files: handle USE_BOOST_FORMAT
8758
8759 2002-11-21  John Levon  <levon@movementarian.org>
8760
8761         * pspell.C: fix compile
8762
8763 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8764
8765         * lyxfunc.C (dispatch): use boost::format
8766         (open): ditto
8767         (doImport): ditto
8768
8769         * lyxfont.C (stateText): use boost::format
8770
8771         * lyx_main.C (LyX): use boost::format
8772         (init): ditto
8773         (queryUserLyXDir): ditto
8774         (readRcFile): ditto
8775         (parse_dbg): ditto
8776         (typedef boost::function): use the recommened syntax.
8777
8778         * importer.C (Import): use boost::format
8779
8780         * debug.C (showLevel): use boost::format
8781
8782         * converter.C (view): use boost::format
8783         (convert): ditto
8784         (move): ditto
8785         (scanLog): ditto
8786
8787         * bufferview_funcs.C (currentState): use boost::format
8788
8789         * bufferlist.C (emergencyWrite): use boost::format
8790
8791         * buffer.C (readLyXformat2): use boost::format
8792         (parseSingleLyXformat2Token): ditto
8793
8794         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8795
8796         * LaTeX.C (run): use boost::format
8797
8798         * Chktex.C (scanLogFile): use boost::format
8799
8800         * BufferView_pimpl.C (savePosition): use boost::format
8801         (restorePosition): ditto
8802         (MenuInsertLyXFile): ditto
8803
8804         * BoostFormat.h: help file for explicit instation.
8805
8806 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8807
8808         * tabular.C (latex): Support for block alignment in fixed width
8809         columns.
8810
8811 2002-11-17  John Levon  <levon@movementarian.org>
8812
8813         * BufferView_pimpl.C:
8814         * lyx_cb.C:
8815         * lyxfunc.C: split filedialog into open/save
8816
8817 2002-11-08  Juergen Vigna  <jug@sad.it>
8818
8819         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8820         by my last patch (hopefully).
8821
8822 2002-11-08  John Levon  <levon@movementarian.org>
8823
8824         * iterators.h:
8825         * iterators.C:
8826         * buffer.h:
8827         * buffer.C:
8828         * paragraph.h:
8829         * paragraph.C:
8830         * toc.h:
8831         * toc.C: ParConstIterator, and use it (from Lars)
8832
8833 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8834
8835         * lyxtextclass.[Ch]: revise and add doxygen comments
8836
8837 2002-11-07  John Levon  <levon@movementarian.org>
8838
8839         * text.C: fix progress value for spellchecker
8840
8841         * toc.C: fix navigate menu for insetwrap inside minipage
8842
8843         * paragraph_funcs.C: added FIXME for suspect code
8844
8845 2002-11-07  John Levon  <levon@movementarian.org>
8846
8847         * BufferView_pimpl.C: fix redrawing of insets
8848           on buffer switch
8849
8850 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8851
8852         * text2.C (updateCounters): fix bug 668
8853
8854 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8855
8856         * text3.C (dispatch): Do not make the buffer dirty when moving the
8857         cursor.
8858
8859 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8860
8861         * vc-backend.C: STRCONV
8862         (scanMaster): ditto
8863
8864         * text2.C (setCounter): STRCONV
8865
8866         * paragraph.C (asString): STRCONV
8867
8868         * lyxlength.C (asString): STRCONV
8869         (asLatexString): ditto
8870
8871         * lyxgluelength.C (asString): STRCONV
8872         (asLatexString): ditto
8873
8874         * lyxfunc.C (dispatch): STRCONV
8875         (open): ditto
8876
8877         * lyxfont.C (stateText): STRCONV
8878
8879         * importer.C (Import): STRCONV
8880
8881         * counters.C (labelItem): STRCONV
8882         (numberLabel): ditto
8883         (numberLabel): remove unused ostringstream o
8884
8885         * chset.C: STRCONV
8886         (loadFile): ditto
8887
8888         * bufferview_funcs.C (currentState): STRCONV
8889
8890         * buffer.C (readFile): STRCONV
8891         (asciiParagraph): ditto
8892         (makeLaTeXFile): ditto
8893
8894         * Spacing.C (writeEnvirBegin): STRCONV
8895
8896         * LaTeXFeatures.C (getLanguages): STRCONV
8897         (getPackages): ditto
8898         (getMacros): ditto
8899         (getBabelOptions): ditto
8900         (getTClassPreamble): ditto
8901         (getLyXSGMLEntities): ditto
8902         (getIncludedFiles): ditto
8903
8904         * LaTeX.C: STRCONV
8905         (run): ditto
8906         (scanAuxFile): ditto
8907         (deplog): ditto
8908
8909         * LString.h: add the STRCONV macros
8910
8911         * BufferView_pimpl.C (savePosition): STRCONV
8912         (restorePosition): ditto
8913         (MenuInsertLyXFile): ditto
8914
8915         * vc-backend.C (scanMaster): change from submatch[...] to
8916         submatch.str(...)
8917
8918         * funcrequest.C: include config.h
8919
8920         * factory.C: include config.h
8921
8922         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8923
8924         * box.C: include config.h
8925
8926         * LaTeX.C (scanAuxFile): change from submatch[...] to
8927         submatch.str(...)
8928         (deplog): ditto
8929
8930 2002-10-25  Angus Leeming  <leeming@lyx.org>
8931
8932         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8933
8934         * ispell.[Ch] (setError): new method.
8935         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8936         Use setError() insetead of goto END.
8937
8938         * lyx_cb.C (AutoSave): move out child process into new class
8939         AutoSaveBuffer.
8940
8941 2002-10-30  John Levon  <levon@movementarian.org>
8942
8943         * text3.C: make start appendix undoable
8944
8945 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8946
8947         * lyxlength.C (inPixels): Fix returned value.
8948
8949         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8950         environment.
8951
8952 2002-10-24  Angus Leeming  <leeming@lyx.org>
8953
8954         * lyxgluelength.h: no need to forward declare BufferParams
8955         or BufferView, so don't.
8956
8957 2002-10-21  John Levon  <levon@movementarian.org>
8958
8959         * BufferView.C: menuUndo ->undo, redo
8960
8961         * BufferView.h: document, remove dead, make some methods private
8962
8963         * paragraph_funcs.h:
8964         * paragraph_funcs.C:
8965         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8966
8967         * buffer.h:
8968         * buffer.C:
8969         * sgml.h:
8970         * sgml.C: move sgml open/close tag into sgml.C
8971
8972         * bufferview_funcs.h: unused prototype
8973
8974         * lyxfunc.h:
8975         * lyxfunc.C: remove unused
8976
8977         * lyxtext.h:
8978         * text.C: remove unused
8979
8980 2002-10-21  John Levon  <levon@movementarian.org>
8981
8982         * BufferView.h:
8983         * BufferView.C:
8984         * BufferView_pimpl.h:
8985         * BufferView_pimpl.C: fix mouse wheel handling based on
8986           patch from Darren Freeman
8987
8988 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8989
8990         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8991
8992 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8993
8994         * lyxlength.C (inPixels): Fix hanfling of negative length.
8995         Fix LyXLength::MU case.
8996
8997 2002-10-16  John Levon  <levon@movementarian.org>
8998
8999         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9000
9001 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9002
9003         * converter.C (view): add support for $$i (file name) and $$p
9004         (file path) for the viewer command. If $$i is not specified, then
9005         it is appended to the command (for compatibility with old syntax)
9006
9007 2002-10-14  Juergen Vigna  <jug@sad.it>
9008
9009         * undo_funcs.C (textHandleUndo): alter the order in which the
9010         new undopar is added to the LyXText, as we have to set first
9011         the right prev/next and then add it as otherwise the rebuild of
9012         LyXText is not correct. Also reset the cursor to the right paragraph,
9013         with this IMO we could remove the hack in "redoParagraphs()".
9014
9015 2002-10-09  Angus Leeming  <leeming@lyx.org>
9016
9017         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9018         to turn off an optimisation if a new inset is to be inserted.
9019
9020 2002-10-11 André Pönitz <poenitz@gmx.net>
9021
9022         * lyxtext.h: make some functions public to allow access
9023         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9024
9025 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9026
9027         * text3.C (dispatch): when changing layout, avoid an infinite loop
9028         [bug #652]
9029
9030 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9031
9032         * lyxrc.C (read): treat a viewer or converter command of "none" as
9033         if it were empty.
9034
9035         * MenuBackend.C (expandFormats): for an update, also allow the
9036         formats that are not viewable
9037
9038         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9039         script if it is newer than the lyxrc.defaults in user directory
9040
9041 2002-10-07 André Pönitz <poenitz@gmx.net>
9042
9043         * text.C: Vitaly Lipatov's small i18n fix
9044
9045 2002-09-25  Angus Leeming  <leeming@lyx.org>
9046
9047         * ispell.h: doxygen fix.
9048
9049 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9050
9051         * buffer.h (readFile): Add a new argument to the method, to allow
9052         reading of old-format templates.
9053
9054 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9055
9056         * toc.C (getTocList): Get TOC from InsetWrap.
9057
9058 2002-09-16  John Levon  <levon@movementarian.org>
9059
9060         * lyxfunc.C: check tabular for cut/copy too
9061
9062 2002-09-12  John Levon  <levon@movementarian.org>
9063
9064         * LyXAction.C: tidy
9065
9066         * factory.h:
9067         * factory.C: add header
9068
9069         * paragraph_funcs.h:
9070         * paragraph_funcs.C: cleanup
9071
9072 2002-09-11  John Levon  <levon@movementarian.org>
9073
9074         * PrinterParams.h: odd/even default to true
9075
9076 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9077
9078         * PrinterParams.h: update printer parameters for new xforms dialog
9079
9080 2002-09-11  Angus Leeming  <leeming@lyx.org>
9081
9082         * lyxserver.C (read_ready): re-write to make it more transparent
9083         and to make it work in coherent fashion under Tru64 Unix.
9084
9085 2002-09-11  André Pönitz <poenitz@gmx.net>
9086
9087         * commandtags.h:
9088         * LyXAction.C:
9089         * text3.C: implement LFUN_WORDSEL
9090
9091 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9094         make floatlist_ a boost::shared_ptr<FloatList>
9095
9096         * lyxtextclass.C: include FloatList.h
9097         (LyXTextClass): initialize floatlist_
9098         (TextClassTags): add TC_NOFLOAT
9099         (Read): match "nofloat" to TC_NOFLOAT and use it.
9100         (readFloat): modify call to floatlist_
9101         (floats): ditto
9102         (floats): ditto
9103
9104         * FloatList.[Ch] (FloatList): remove commented out float
9105         initialization.
9106         (erase): new function
9107
9108 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9109
9110         * MenuBackend.C (expandToc): fix crash when there is no document
9111         open
9112
9113 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9114
9115         * many files: Add insetwrap.
9116
9117 2002-09-09  John Levon  <levon@movementarian.org>
9118
9119         * text2.C: remove confusing and awkward depth wraparound
9120
9121 2002-09-09  John Levon  <levon@movementarian.org>
9122
9123         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9124
9125         * buffer.h:
9126         * buffer.C: remove getIncludeonlyList()
9127
9128         * paragraph.C:
9129         * lyxfunc.C: remove headers
9130
9131 2002-09-09  Juergen Vigna  <jug@sad.it>
9132
9133         * text.C (getColumnNearX): fix form Michael this is most
9134         probably a cut&paste bug.
9135
9136 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9137
9138         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9139
9140         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9141         references, ws changes.
9142
9143         * text2.C (init): update counters after init
9144         (insertParagraph): no need to set counter on idividual paragraphs.
9145         (setCounter): access the counters object in the textclass object
9146         on in the buffer object.
9147         (updateCounters): ditto
9148
9149         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9150         shared_ptr<Counters> to avoid loading counters.h in all
9151         compilation units.
9152         (LyXTextClass): initialize ctrs_
9153         (TextClassTags): add TC_COUNTER, and ...
9154         (Read): use it here.
9155         (CounterTags): new tags
9156         (readCounter): new function
9157         (counters): new funtion
9158         (defaultLayoutName): return a const reference
9159
9160         * counters.C (Counters): remove contructor
9161         (newCounter): remove a couple of unneeded statements.
9162         (newCounter): simplify a bit.
9163         (numberLabel): some small formatting changes.
9164
9165         * buffer.[Ch]: remove all traces of counters, move the Counters
9166         object to the LyXTextClass.
9167
9168 2002-09-06  Alain Castera  <castera@in2p3.fr>
9169
9170         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9171         package to set the horizontal alignment on fixed width columns.
9172
9173         * lyx_sty.C:
9174         * lyx_sty.h: added tabularnewline macro def.
9175
9176         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9177
9178 2002-09-06  John Levon  <levon@movementarian.org>
9179
9180         * LyXAction.C: tooltips for sub/superscript
9181
9182         * MenuBackend.C: a bit more verbose
9183
9184         * lyxfunc.C: tiny clean
9185
9186         * undo_funcs.C: document undo_frozen
9187
9188 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * counters.C (Counters): add missing algorithm counter.
9191
9192         * text2.C (setCounter): lookup the counter with layouts latexname
9193         instead of by section number.
9194         (setCounter): use a hackish way to lookup the correct enum
9195         counter.
9196         a float name->type change
9197         reset enum couners with counter name directly instead of depth value.
9198
9199         * counters.C (Counters): remove the push_backs, change to use the
9200         float type not the float name.
9201         (labelItem): remove unused string, float name->type change
9202
9203         * counters.h: don't include vector, loose the enums and sects vectors
9204
9205 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9206
9207         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9208         (Read): add float->TC_FLOAT to textclassTags
9209         (Read): and handle it in the switch
9210         (readFloat): new function
9211
9212         * FloatList.C (FloatList): comment out the hardcoded float
9213         definitions.
9214
9215         * lyxlayout.h: ws change.
9216
9217 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9218
9219         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9220
9221 2002-09-03  Angus Leeming  <leeming@lyx.org>
9222
9223         * BufferView_pimpl.h: qualified name is not allowed in member
9224         declaration: WorkArea & Pimpl::workarea() const;
9225
9226         * factory.C: added using std::endl directive.
9227
9228         * text3.C: added using std::find and std::vector directives.
9229
9230 2002-08-29  André Pönitz <poenitz@gmx.net>
9231
9232         * lyxtext.h:
9233         * text2.C: remove unused member number_of_rows
9234
9235         * Makefile.am:
9236         * BufferView2.C: remove file, move contents to...
9237         * BufferView.C: ... here
9238
9239         * BufferView_pimpl.C:
9240         * factory.C: move more inset creation to factory
9241
9242         * vspace.C: avoid direct usage of LyXText, ws changes
9243
9244         * BufferView.[Ch]:
9245                 don't provide direct access to WorkArea, use two simple
9246                 acessors haveSelction() and workHeight() instead
9247
9248
9249 2002-08-29  John Levon  <levon@movementarian.org>
9250
9251         * BufferView_pimpl.C (dispatch): do not continue when
9252           no buffer
9253
9254 2002-08-28  André Pönitz <poenitz@gmx.net>
9255
9256         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9257
9258         * BufferView.h:
9259         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9260
9261 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9262
9263         * buffer.C: increment LYX_FORMAT to 221
9264
9265         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9266         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9267
9268         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9269
9270         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9271
9272 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9273
9274         * factory.C (createInset): use LyXTextClass::floats
9275
9276         * MenuBackend.C (expandFloatListInsert):
9277         (expandFloatInsert):
9278         (expandToc):
9279
9280         * text2.C (setCounter):
9281
9282         * LaTeXFeatures.C (useFloat):
9283         (getFloatDefinitions):
9284
9285         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9286
9287         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9288         floatlist_, with accessor floats().
9289
9290         * FloatList.h: remove global FloatList
9291
9292 2002-08-26  André Pönitz <poenitz@gmx.net>
9293
9294         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9295
9296         * BufferView.h:
9297         * BufferView2.C:
9298         * BufferView_pimpl.C:
9299         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9300
9301 2002-08-25  John Levon  <levon@movementarian.org>
9302
9303         * LyXAction.C: fix margin note description
9304
9305 2002-08-24  John Levon  <levon@movementarian.org>
9306
9307         * buffer.C:
9308         * bufferlist.C:
9309         * bufferview_funcs.C:
9310         * lyxfont.C:
9311         * undo_funcs.C: cleanups
9312
9313         * lyxfunc.C: disable CUT/COPY when no selection
9314
9315 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9316
9317         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9318         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9319
9320         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9321         Add backward compatibility to "mono", "gray" and "no".
9322
9323 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9324
9325         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9326         (and file_format >= 200).
9327
9328 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9329
9330         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9331
9332 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9333
9334         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9335
9336 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9337
9338         * BufferView_pimpl.C:
9339         * LyXAction.C:
9340         * buffer.C:
9341         * commandtags.h:
9342         * lyxfunc.C:
9343         * paragraph.[Ch]:
9344         * text2.C:
9345         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9346         inset and code to make it  work with the paragraph code. The inset
9347         can be anywhere in the paragraph, but will only do the expected
9348         thing in LaTeX if the layout file contains the parameter line
9349                         OptionalArgs    1
9350         (or more generally, a nonzero value) for that layout.
9351
9352 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9353
9354         * paragraph.h: remove the declaration of undefined counters class
9355         function.
9356
9357 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9358
9359         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9360         Dr. Richard Hawkins.
9361
9362 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9363
9364         * paragraph_funcs.h: remove some unneeded includes
9365
9366         * text.C (backspace): pasteParagraph now in global scipe
9367
9368         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9369         (pasteSelection): ditto
9370
9371         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9372         * paragraph_funcs.C (pasteParagraph): ... here
9373
9374 2002-08-20  André Pönitz <poenitz@gmx.net>
9375
9376         * commandtags.h: new LFUNs for swapping/copying table row/colums
9377
9378         * LyXAction.C:
9379         * lyxfunc.C: support for new lfuns
9380
9381 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * tabular.C:
9384         * buffer.[Ch]: remove NO_COMPABILITY stuff
9385
9386 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9387
9388         * boost.C (throw_exception): new file, with helper function for
9389         boost compiled without exceptions.
9390
9391         * paragraph.h:
9392         * lyxlength.C:
9393         * buffer.C:
9394         * ParameterStruct.h:
9395         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9396
9397         * bufferlist.C (emergencyWriteAll): use boost bind
9398
9399         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9400
9401         * text.C: include paragraph_funcs.h
9402         (breakParagraph): breakParagraph is now in global scope
9403
9404         * paragraph_funcs.[Ch]: new files
9405
9406         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9407         global scope
9408
9409         * buffer.C: include paragraph_funcs.h
9410         (insertStringAsLines): breakParagraph is now in global scope
9411
9412         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9413         paragraph_funcs.C
9414
9415         * CutAndPaste.C: include paragraph_funcs.h
9416         (cutSelection): breakParagraphConservative is now in global scope
9417         (pasteSelection): ditto
9418
9419         * buffer.h: declare oprator== and operator!= for
9420         Buffer::inset_iterator
9421
9422         * bufferlist.C (emergencyWrite): don't use fmt(...)
9423
9424         * text3.C: add using std::endl
9425
9426         * BufferView.C (moveCursorUpdate): remove default arg
9427
9428 2002-08-20  André Pönitz <poenitz@gmx.net>
9429
9430         * buffer.[Ch]: move inline functions to .C
9431
9432         * BufferView2.C:
9433         * BufferView_pimpl.C:
9434         * text.C:
9435         * buffer.[Ch]: use improved inset_iterator
9436
9437         * buffer.C:
9438         * paragraph.[Ch]: write one paragraph at a time
9439
9440 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9441
9442         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9443         style if style is not specified.
9444
9445 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9446
9447         * text2.C (setCounter): when searching for right label for a
9448         caption, make sure to recurse to parent insets (so that a caption
9449         in a minipage in a figure float works) (bug #568)
9450
9451 2002-08-20  André Pönitz <poenitz@gmx.net>
9452
9453         * text3.C: new file for LyXText::dispatch() and helpers
9454
9455         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9456
9457         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9458
9459 2002-08-19  André Pönitz <poenitz@gmx.net>
9460
9461         * lyxtext.h:
9462         * text.C: new LyXText::dispatch()
9463
9464         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9465
9466 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9467
9468         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9469
9470         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9471         Hebrew text.
9472
9473 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9474
9475         * Makefile.am: use $(variables) instead of @substitutions@
9476
9477 2002-08-15  André Pönitz <poenitz@gmx.net>
9478
9479         * lyxfunc.C:
9480         * BufferView_pimpl.C: streamlining mathed <-> outer world
9481         interaction
9482
9483         * commandtags.h:
9484         * LyXAction.C: remove unused LFUN_MATH
9485
9486 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9487
9488         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9489
9490 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9491
9492         * paragraph.C (Paragraph): reformat a bit
9493         (cutIntoMinibuffer): use builtin InsetList function instad of
9494         doing it manually.
9495         (getInset): ditto
9496
9497         * buffer.C: include boost/bind.hpp, add using std::for_each
9498         (writeFileAscii): use ParagraphList iterators
9499         (validate): use for_each for validate traversal of paragraphs
9500         (getBibkeyList): use ParagraphList iterators
9501         (resizeInsets): use for_each to resizeInsetsLyXText for all
9502         paragraphs.
9503         (getParFromID): use ParagraphList iterators
9504
9505         * BufferView2.C (lockInset): use paragraph list and iterators
9506
9507 2002-08-14  John Levon  <levon@movementarian.org>
9508
9509         * lyxserver.C: remove spurious xforms include
9510
9511 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9512
9513         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9514
9515 2002-08-13  André Pönitz <poenitz@gmx.net>
9516
9517         * LyXAction.[Ch]:
9518         * lyxfunc.C: further cleaning
9519
9520 2002-08-13  André Pönitz <poenitz@gmx.net>
9521
9522         * funcrequest.h: new constructor
9523
9524         * funcrequest.C: move stuff here from .h
9525
9526         * Makefile.am:
9527         * BufferView_pimpl.C:
9528         * LyXAction.C:
9529         * toc.C:
9530         * lyxfunc.C: subsequent changes
9531
9532         * lyxfunc.h: new view() member function
9533
9534         * lyxfunc.C: subsequent changes
9535
9536 2002-08-13  Angus Leeming  <leeming@lyx.org>
9537
9538         * BufferView2.C:
9539         * BufferView_pimpl.C:
9540         * buffer.C:
9541         * converter.C:
9542         * importer.C:
9543         * lyxfunc.C:
9544         * lyxvc.C:
9545         * toc.C:
9546         * vc-backend.C:
9547         changes due to the changed LyXView interface that now returns references
9548         to member variables not pointers.
9549
9550 2002-08-13  Angus Leeming  <leeming@lyx.org>
9551
9552         * WordLangTuple (word, lang_code): return references to strings,
9553         not strings.
9554
9555         * BufferView.h:
9556         * SpellBase.h:
9557         * lyxtext.h: forward-declare WordLangTuple.
9558
9559         * BufferView2.C:
9560         * ispell.C:
9561         * pspell.C:
9562         * text.C: #include "WordLangTuple.h".
9563
9564         * lyxtext.h:
9565         * text.C: (selectNextWordToSpellcheck): constify return type.
9566
9567 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9568
9569         * buffer.C:
9570         * buffer.h:
9571         * lyxtext.h:
9572         * paragraph.C:
9573         * paragraph_pimpl.h:
9574         * text.C:
9575         * text2.C:
9576         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9577         suggested by Angus.
9578         Made updateCounter always count from start of buffer, and removed
9579         second argument (par).
9580         Reverted floats number display to '#'. Perhaps I'll try again when the
9581         code base is sanitized a bit.
9582
9583 2002-08-12  Angus Leeming  <leeming@lyx.org>
9584
9585         * buffer.[Ch] (getLabelList): constify.
9586
9587 2002-08-07  André Pönitz <poenitz@gmx.net>
9588
9589         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9590
9591         * funcrequest.h: extension to keep mouse (x,y) position
9592
9593 2002-08-12  Juergen Vigna  <jug@sad.it>
9594
9595         * BufferView2.C (insertErrors): forbid undo when inserting error
9596         insets.
9597
9598         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9599
9600 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9601
9602         * ParagraphList.[Ch]: new files
9603
9604         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9605
9606         * BufferView2.C (lockInset): ParagraphList changes
9607         * toc.C: ditto
9608         * text2.C: ditto
9609         * bufferlist.C: ditto
9610         * buffer.h: ditto
9611         * buffer.C: ditto
9612
9613 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9614
9615         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9616         unused class variable counter_,
9617
9618         * paragraph.[Ch] (getFirstCounter): delete unused function
9619
9620         * counters.C: include LAssert.h
9621         (reset): add a new function with no arg, change other version to
9622         not have def. arg and to not allow empty arg.
9623
9624         * text2.C (setCounter): remove empty arg from call to Counters::reset
9625
9626 2002-08-11  John Levon  <levon@movementarian.org>
9627
9628         * Makefile.am: add WordLangTuple.h
9629
9630 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9631
9632         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9633         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9634
9635         * insets/insettext.C: InsetList changes
9636
9637         * graphics/GraphicsSupport.C (operator()): InsetList changes
9638
9639         * toc.C (getTocList): InsetList changes
9640
9641         * paragraph_pimpl.[Ch]: InsetList changes
9642
9643         * paragraph.[Ch]: InsetList changes
9644
9645         * buffer.C (inset_iterator): InsetList changes
9646         (setParagraph): ditto
9647         * buffer.h (inset_iterator): ditto
9648         * iterators.C (operator++): ditto
9649         * iterators.h: ditto
9650
9651         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9652
9653         * InsetList.[Ch]: new files, most InsetList handling moved out of
9654         paragraph.C.
9655
9656         * BufferView2.C (removeAutoInsets): InsetList changes
9657         (lockInset): ditto
9658         (ChangeInsets): ditto
9659
9660 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9661
9662         * paragraph_pimpl.h (empty): new function
9663
9664         * paragraph.[Ch] (empty): new function
9665
9666         * other files: use the new Paragraph::empty function
9667
9668 2002-08-09  John Levon  <levon@movementarian.org>
9669
9670         * lyxtext.h: remove unused refresh_height
9671
9672 2002-08-09  John Levon  <levon@movementarian.org>
9673
9674         * Makefile.am:
9675         * sgml.h:
9676         * sgml.C:
9677         * buffer.C:
9678         * paragraph.h:
9679         * paragraph.C: move sgml char escaping out of paragraph
9680
9681         * paragraph.h:
9682         * paragraph.C: remove id setter
9683
9684         * buffer.C:
9685         * paragraph.C:
9686         * paragraph_pimpl.C: remove dead tex_code_break_column
9687
9688         * bufferview_funcs.C: small cleanup
9689
9690         * lyxfunc.C: remove dead proto
9691
9692         * lyxtext.h: make some stuff private. Remove some dead stuff.
9693
9694         * lyxgluelength.C: make as[LyX]String() readable
9695
9696 2002-08-08  John Levon  <levon@movementarian.org>
9697
9698         * LyXAction.h:
9699         * LyXAction.C:
9700         * MenuBackend.C:
9701         * ToolbarDefaults.C:
9702         * lyxfunc.C:
9703         * lyxrc.C:
9704         * toc.C: lyxaction cleanup
9705
9706 2002-08-08  John Levon  <levon@movementarian.org>
9707
9708         * BufferView2.C: small cleanup
9709
9710         * lyxfind.h:
9711         * lyxfind.C: move unnecessary header into the .C
9712
9713 2002-08-08  John Levon  <levon@movementarian.org>
9714
9715         * funcrequest.h: just tedious nonsense
9716
9717         * lyx_main.h:
9718         * lyx_main.C: cleanups
9719
9720         * buffer.C:
9721         * vspace.C: remove dead header lyx_main.h
9722
9723 2002-08-07  Angus Leeming  <leeming@lyx.org>
9724
9725         * Paragraph.[Ch]:
9726         * paragraph_pimpl.h:
9727         Forward declare class Counters in paragraph.h by moving the ctrs member
9728         variable into Paragraph::Pimpl.
9729         (counters): new method, returning a reference to pimpl_->ctrs.
9730
9731         * text2.C: ensuing changes.
9732
9733 2002-08-07  John Levon  <levon@movementarian.org>
9734
9735         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9736
9737         * BufferView_pimpl.C: announce X selection on double/triple
9738           click
9739
9740         * lyx_main.C: use correct bool in batch dispatch
9741
9742         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9743
9744 2002-08-07  André Pönitz <poenitz@gmx.net>
9745
9746         * funcrequest.h: new class to wrap a kb_action and its argument
9747
9748         * BufferView.[Ch]:
9749         * BufferView_pimpl[Ch]:
9750         * LaTeX.C:
9751         * LyXAction.[Ch]:
9752         * lyxfunc.[Ch]:
9753         * lyxrc.C: subsequent changes
9754
9755
9756 2002-08-07  John Levon  <levon@movementarian.org>
9757
9758         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9759           document options change.
9760
9761 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9762
9763         * counters.[Ch]
9764         * text2.C
9765         * paragraph.[Ch]
9766         * makefile.am: move counters functionality over from
9767         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9768
9769 2002-08-06  John Levon  <levon@movementarian.org>
9770
9771         * WordLangTuple.h: new file for word + language code tuple
9772
9773         * SpellBase.h:
9774         * pspell.h:
9775         * pspell.C:
9776         * ispell.h:
9777         * ispell.C:
9778         * lyxtext.h:
9779         * text.C:
9780         * text2.C:
9781         * BufferView.h:
9782         * BufferView2.C: use WordLangTuple
9783
9784         * layout.h:
9785         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9786
9787 2002-08-06  John Levon  <levon@movementarian.org>
9788
9789         * lyx_main.C: fix cmdline batch handling
9790
9791 2002-08-06  André Pönitz <poenitz@gmx.net>
9792
9793         * lyxrc.C: set default for show_banner to true
9794
9795 2002-08-06  John Levon  <levon@movementarian.org>
9796
9797         * pspell.C: fix a crash, and allow new aspell to work
9798
9799 2002-08-06  John Levon  <levon@movementarian.org>
9800
9801         * lyxfunc.C:
9802         * kbmap.C: small cleanup
9803
9804         * vspace.h:
9805         * vspace.C: add const
9806
9807 2002-08-05  John Levon  <levon@movementarian.org>
9808
9809         * LyXAction.C: back to tabular-insert
9810
9811 2002-08-04  John Levon  <levon@movementarian.org>
9812
9813         * BufferView.h:
9814         * BufferView.C: cosmetic change
9815
9816         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9817
9818         * bufferlist.C:
9819         * buffer.h:
9820         * buffer.C:
9821         * lyxcb.h:
9822         * lyxcb.C:
9823         * lyxserver.C:
9824         * lyxvc.C:
9825         * vc-backend.C:
9826         * BufferView2.C: purge all "Lyx" not "LyX" strings
9827
9828         * lyxcursor.h:
9829         * lyxcursor.C: attempt to add some documentation
9830
9831         * lyxfunc.C:
9832         * commandtags.h:
9833         * LyXAction.C:
9834         * ToolbarDefaults.C:
9835         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9836           merge with LFUN_TABULAR_INSERT
9837
9838         * Makefile.am:
9839         * SpellBase.h:
9840         * ispell.h:
9841         * ispell.C:
9842         * pspell.h:
9843         * pspell.C: split up i/pspell implementations into separate
9844           files, many cleanups
9845
9846         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9847
9848         * text2.C: some cleanup
9849
9850         * lyxfunc.C: don't check for isp_command == "none" any more, it
9851           didn't make any sense
9852
9853 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9854
9855         * counters.[Ch]
9856         * text2.C
9857         * paragraph.[Ch]
9858         * makefile.am: move counters functionality over
9859         from text2.C/paragraph.[Ch] to counters.[Ch], and
9860         make proper C++.
9861 2002-08-02  John Levon  <levon@movementarian.org>
9862
9863         * buffer.C: s/lyxconvert/lyx2lyx/
9864
9865 2002-08-02  Angus Leeming  <leeming@lyx.org>
9866
9867         * lyxlex.C: revert John's change as it breaks reading of the user
9868         preamble.
9869
9870 2002-08-02  Angus Leeming  <leeming@lyx.org>
9871
9872         * importer.C (Import):
9873         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9874         changes due to LyXView::view() now returning a boost::shared_ptr.
9875
9876 2002-08-02  John Levon  <levon@movementarian.org>
9877
9878         * lyxlex.C: small cleanup
9879
9880 2002-08-02  John Levon  <levon@movementarian.org>
9881
9882         * text2.C (status): small cleanup, no logic change
9883
9884 2002-08-01  John Levon  <levon@movementarian.org>
9885
9886         * buffer.h:
9887         * buffer.C (writeFile): don't output alerts, caller
9888           handles this
9889
9890         * bufferlist.C:
9891         * lyx_cb.C: from above
9892
9893         * lyxfunc.C: allow to open non-existent files
9894
9895 2002-07-31  John Levon  <levon@movementarian.org>
9896
9897         * lyxserver.C: don't let incidental errors get
9898           in the way (errno)
9899
9900 2002-07-30  John Levon  <levon@movementarian.org>
9901
9902         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9903
9904 2002-07-30  John Levon  <levon@movementarian.org>
9905
9906         * lyxserver.h:
9907         * lyxserver.C: remove I/O callback too
9908
9909 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9910
9911         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9912         log.
9913
9914 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9915
9916         * many files: strip,frontStrip -> trim,ltrim,rtrim
9917
9918 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9919
9920         * PrinterParams.h: remove extern containsOnly, and include
9921         support/lstrings.h instead.
9922
9923         * LaTeX.C (scanAuxFile): modify because of strip changes
9924         (deplog): ditto
9925         * buffer.C (makeLaTeXFile): ditto
9926         * bufferparams.C (writeFile): ditt
9927         * lyxfont.C (stateText): ditto
9928         * lyxserver.C (read_ready): ditto
9929         * vc-backend.C (scanMaster): ditto
9930
9931         * BufferView_pimpl.h: ws changes
9932
9933         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9934
9935 2002-07-26  André Pönitz <poenitz@gmx.net>
9936
9937         * kb_sequence.C: remove unnedred usings
9938
9939 2002-07-26  Juergen Vigna  <jug@sad.it>
9940
9941         * lyxfind.C (LyXReplace): we have to check better if the returned
9942         text is not of theLockingInset()->getLockingInset().
9943
9944 2002-07-25  Juergen Vigna  <jug@sad.it>
9945
9946         * lyxfind.C (LyXReplace): don't replace if we don't get the
9947         right LyXText.
9948
9949         * undo_funcs.C (createUndo): remove debugging code.
9950
9951 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9952
9953         * buffer.C (parseSingleLyXformat2Token): Use default placement
9954         when reading old floats.
9955
9956         * FloatList.C (FloatList): Change the default placement of figure
9957         and tables to "tbp".
9958
9959 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9960
9961         * MenuBackend.C: using std::max
9962
9963 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9964
9965         * MenuBackend.C (expandToc):
9966         (expandToc2): code moved from xforms menu frontend. It is now
9967         generic and TOCs are transparent to menu frontends.
9968
9969 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9970
9971         * toc.C (getTocList): protect against buf=0
9972
9973         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9974         Menu as first parameter. Now, this calls itself recursively to
9975         expand a whole tree (this will be useful for TOC handling)
9976         (expandFloatInsert): remove 'wide' version of floats
9977
9978         * MenuBackend.h (submenuname): returns the name of the submenu.
9979         (submenu): returns the submenu itself, provided it has been
9980         created by MenuBackend::expand
9981
9982 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9983
9984         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9985         insets which have noFontChange == true. (bug #172)
9986
9987 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9988
9989         * BufferView_pimpl.C: add connection objects and use them...
9990         (Pimpl): here.
9991
9992 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * MenuBackend.C (expandLastfiles):
9995         (expandDocuments):
9996         (expandFormats):
9997         (expandFloatListInsert):
9998         (expandFloatInsert):
9999         (expand): split expand in parts
10000
10001 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10002
10003         * lyx_gui.C: use lyx_gui::exit()
10004
10005 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10006
10007         * LyXAction.C: show the failing pseudo action
10008
10009 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10010
10011         * buffer.C (readFile): Run the lyxconvert script in order to read
10012         old files.
10013
10014 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10015
10016         * LyXAction.C:
10017         * commandtags.h:
10018         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10019
10020 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * LyXAction.C:
10023         * commandtags.h:
10024         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10025
10026 2002-07-22  Herbert Voss  <voss@lyx.org>
10027
10028         * lengthcommon.C:
10029         * lyxlength.[Ch]: add support for the vertical lengths
10030
10031 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * toc.[Ch]: std:: fixes
10034
10035 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10036
10037         * lyxrc.C: do not include lyx_main.h
10038
10039         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10040         for layouts
10041
10042         * lyxrc.C:
10043         * encoding.C:
10044         * bufferlist.C:
10045         * BufferView2.C: include "lyxlex.h"
10046
10047         * tabular.h:
10048         * bufferparams.h: do not #include "lyxlex.h"
10049
10050         * lyxtextclasslist.C (Add): remove method
10051         (classlist): renamed to classlist_
10052
10053         * paragraph_pimpl.C:
10054         * paragraph.C:
10055         * text2.C:
10056         * CutAndPaste.C:
10057         * bufferview_funcs.C:
10058         * bufferlist.C:
10059         * text.C:
10060         * LaTeXFeatures.C:
10061         * buffer.C:
10062         * toc.C (getTocList): use BufferParams::getLyXTextClass
10063
10064         * toc.C (getTocList): use InsetFloat::addToToc
10065
10066         * toc.[Ch]: new files, containing helper functions to handle table
10067         of contents
10068
10069         * lyxfunc.C (dispatch): no need to remove spaces around command
10070         given as a string
10071         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10072         first command of the sequence; it is not very clever, but I do not
10073         have a better idea, actually
10074
10075         * LyXAction.C (LookupFunc): make sure to remove space at the
10076         beginning and end of the command
10077
10078 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10079
10080         * MenuBackend.C (getMenubar): new method: return the menubar of
10081         this menu set
10082         (read): treat differently reading of menu and menubar (in
10083         particular, the menubar has no name now)
10084         (Menu::menubar): remove
10085
10086         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10087         saving is finished
10088
10089 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10090
10091         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10092         a bibitem inset in a RTL paragraph.
10093
10094 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * paragraph_pimpl.C: constify
10097
10098         * BufferView_pimpl.C:
10099         * LaTeX.C:
10100         * lyxfunc.C: fix dispatch in a nicer way
10101
10102 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10103
10104         * lyxfunc.C (dispatch):
10105         * BufferView_pimpl.C:
10106         * BufferView_pimpl.h:
10107         * BufferView.C:
10108         * BufferView.h: rename Dispatch() to dispatch()
10109
10110         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10111
10112         * lyxlayout.C (Read): honor DependsOn tag
10113
10114         * lyxlayout.[Ch] (depends_on): new method
10115
10116         * version.C.in: update lyx_docversion
10117
10118         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10119
10120         * paragraph.C (validate): remove from here...
10121         * paragraph_pimpl.C (validate): ... and move here
10122         (isTextAt): make it const
10123
10124         * buffer.C (getLists): ws cleanup
10125
10126 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10127
10128         * language.C (read): Use iso8859-1 encoding in latex_lang
10129         (this prevents LyX from crashing when using iso10646-1 encoding).
10130
10131 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10132
10133         * text2.C (toggleInset): if cursor is inside an inset, close the
10134         inset and leave cursor _after_ it
10135
10136 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10137
10138         * lyxfunc.C: move minibuffer completion handling out of here
10139
10140 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10141
10142         * BufferView_pimpl.C:
10143         * LaTeX.C: fix dispatch calls
10144
10145 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10146
10147         * text.C (drawChars): Fix Arabic text rendering.
10148
10149 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * LyXAction.C:
10152         * commandtags.h:
10153         * lyxfunc.C: remove message-push/pop
10154
10155         * lyxserver.C:
10156         * lyxfunc.h:
10157         * lyxfunc.C: rationalise some code by removing verboseDispatch
10158           in favour of a bool argument to dispatch()
10159
10160 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10161
10162         * lyx_main.C (init): make sure to read symlinks as absolute paths
10163
10164 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * lyxfunc.h:
10167         * lyxfunc.C: no need for commandshortcut to be a member
10168
10169 2002-07-15  André Pönitz <poenitz@gmx.net>
10170
10171         * converter.C: add support for $$s (scripts from lib/scripts dir)
10172         * lyx_main.C: white space
10173
10174 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * bufferlist.C:
10177         * lyxrc.h:
10178         * lyxrc.C: remove second exit confirmation
10179
10180 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10181
10182         * BufferView.h:
10183         * BufferView.C:
10184         * BufferView2.C:
10185         * BufferView_pimpl.h:
10186         * BufferView_pimpl.C:
10187         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10188
10189 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10190
10191         * MenuBackend.C (expand): add numeric shortcuts to document menu
10192
10193         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10194
10195 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10196
10197         * lyxfont.C (setLyXFamily):
10198         (setLyXSeries):
10199         (setLyXShape):
10200         (setLyXSize):
10201         (setLyXMisc):
10202         (lyxRead):
10203         * debug.C (value):
10204         * buffer.C (asciiParagraph): use ascii_lowercase
10205
10206 2002-07-15  Mike Fabian  <mfabian@suse.de>
10207
10208         * lyxlex_pimpl.C (search_kw):
10209         * lyxlex.C (getLongString):
10210         * converter.h (operator<):
10211         * converter.C (operator<):
10212         * buffer.C (parseSingleLyXformat2Token):
10213         (asciiParagraph):
10214         * ToolbarDefaults.C (read):
10215         * MenuBackend.C (checkShortcuts):
10216         (read):
10217         * LColor.C (getFromGUIName):
10218         (getFromLyXName): use the compare_ascii_no_case instead of
10219         compare_no_case, because in turkish, 'i' is not the lowercase
10220         version of 'I', and thus turkish locale breaks parsing of tags.
10221
10222 2002-07-16  Angus Leeming  <leeming@lyx.org>
10223
10224         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10225         now takes a Buffer const & argument.
10226
10227 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * BufferView.C (resize): check there's a buffer to resize
10230
10231 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10232
10233         * lyxfunc.C: remove dead code
10234
10235         * lyxserver.h:
10236         * lyxserver.C: use lyx_guii::set_read_callback
10237
10238 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10239
10240         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10241         an inset in a RTL paragraph.
10242
10243 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10244
10245         * lyxfunc.C: repaint after a font size update
10246
10247 2002-07-15  André Pönitz <poenitz@gmx.net>
10248
10249         * lyxlength.C: inBP should be able to return negative values
10250
10251 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10252
10253         * lyxfunc.C: use lyx_gui::update_fonts()
10254
10255 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10256
10257         * lyxfunc.C: use lyx_gui::update_color()
10258
10259 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10260
10261         * bufferlist.C:
10262         * lyxfunc.h:
10263         * lyxfunc.C:
10264         * lyxrc.h:
10265         * lyxrc.C: remove file->new asks for name option, and let
10266           buffer-new take an argument
10267
10268 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10269
10270         * BufferView_pimpl.C: remove unneeded extra repaint()
10271
10272 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * LyXAction.C: allow command-sequence with NoBuffer
10275
10276         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10277
10278 2002-07-10  Angus Leeming  <leeming@lyx.org>
10279
10280         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10281
10282 2002-07-09  Angus Leeming  <leeming@lyx.org>
10283
10284         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10285
10286 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10287
10288         * lengthcommon.h: whitespace
10289
10290         * lyxfunc.C: update scrollbar after goto paragraph
10291
10292         * lyxtext.h: factor out page break drawing, and fix it so
10293           page break/added space paints as selected nicely
10294
10295 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * BufferView_pimpl.C: add FIXMEs, clean up a little
10298
10299 2002-07-09  André Pönitz <poenitz@gmx.net>
10300
10301         * lyxfont.[Ch]: support for wasy symbols
10302
10303 2002-07-08  André Pönitz <poenitz@gmx.net>
10304
10305         * BufferView_pimpl.C: apply John's patch for #93.
10306
10307 2002-07-05  Angus Leeming  <leeming@lyx.org>
10308
10309         * BufferView_pimpl.C (buffer): generate previews if desired.
10310
10311         * LColor.h: add "preview" to the color enum.
10312
10313         * LColor.C (LColor): add a corresponding entry to the items array.
10314
10315         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10316         with this buffer.
10317
10318 2002-07-05  Angus Leeming  <leeming@lyx.org>
10319
10320         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10321         The body of the code is now in the method that is passed an ostream &
10322         rather than a file name.
10323         Pass an additional only_preamble parameter, useful for the forthcoming
10324         preview stuff.
10325
10326 2002-07-03  André Pönitz <poenitz@gmx.net>
10327
10328         * lyxfunc.C: simplify getStatus() a bit for math stuff
10329
10330 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10331
10332         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10333
10334 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10335
10336         * text.C (changeRegionCase): do not change case of all the
10337         document when region ends at paragraph end (bug #461)
10338
10339 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10340
10341         * paragraph.C (startTeXParParams):
10342         (endTeXParParams): add \protect when necessary
10343
10344 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10345
10346         * BufferView_pimpl.C (workAreaExpose): remove warning
10347
10348 2002-06-27  Angus Leeming  <leeming@lyx.org>
10349
10350         * Makefile.am: add lyxlayout_ptr_fwd.h.
10351
10352 2002-06-26  André Pönitz <poenitz@gmx.net>
10353
10354         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10355
10356 2002-06-25  Angus Leeming  <leeming@lyx.org>
10357
10358         * lyxfunc.C (dispatch): Comment out the call to
10359         grfx::GCache::changeDisplay. The method no longer exists now that the
10360         pixmap generation part of the graphics loader has been moved into
10361         InsetGraphics.
10362
10363 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10364
10365         * text2.C: layout as layout
10366
10367         * text.C: layout as layout
10368
10369         * tabular.C (OldFormatRead): layout as layout
10370
10371         * paragraph_pimpl.C (TeXDeeper): layout as layout
10372         (realizeFont): layout as layout
10373
10374         * paragraph.C (writeFile): layout as layout
10375         (validate): layout as layout
10376         (getFont): layout as layout
10377         (getLabelFont): layout as layout
10378         (getLayoutFont): layout as layout
10379         (breakParagraph): layout as layout
10380         (stripLeadingSpaces): layout as layout
10381         (getEndLabel): layout as layout
10382         (getMaxDepthAfter): layout as layout
10383         (applyLayout): layout as layout
10384         (TeXOnePar): layout as layout
10385         (simpleTeXOnePar): layout as layout
10386         (TeXEnvironment): layout as layout
10387         (layout): layout as layout
10388         (layout): layout as layout
10389
10390         * lyxtextclass.C (compare_name): new functor to work with
10391         shared_ptr, layout as layout
10392         (Read): layout as layout
10393         (hasLayout): layout as layout
10394         (operator): layout as layout
10395         (delete_layout): layout as layout
10396         (defaultLayout): layout as layout
10397
10398         * lyxlayout_ptr_fwd.h: new file
10399
10400         * lyxlayout.C (Read): layout as layout
10401
10402         * lyx_cb.C (MenuInsertLabel): layout as layout
10403
10404         * bufferlist.C (newFile): layout as layout
10405
10406         * buffer.C (readLyXformat2): layout as layout
10407         (parseSingleLyXformat2Token): layout as layout
10408         (insertStringAsLines): layout as layout
10409         (asciiParagraph): layout as layout
10410         (latexParagraphs): layout as layout
10411         (makeLinuxDocFile): layout as layout
10412         (simpleLinuxDocOnePar): layout as layout
10413         (makeDocBookFile): layout as layout
10414         (simpleDocBookOnePar): layout as layout
10415         (getLists): layout as layout
10416
10417         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10418
10419         * CutAndPaste.C (cutSelection): layout as layout
10420         (pasteSelection): layout as layout
10421         (SwitchLayoutsBetweenClasses): layout as layout
10422
10423         * BufferView_pimpl.C (Dispatch): layout as layout
10424         (smartQuote): layout as layout
10425
10426         * BufferView2.C (unlockInset): layout as layout
10427
10428 2002-06-24  André Pönitz <poenitz@gmx.net>
10429
10430         * lyxfunc.C: fix #487
10431
10432 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * lyxrc.h:
10435         * lyxrc.C:
10436         * lyxfunc.C: remove display_shortcuts, show_banner
10437
10438 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10439
10440         * Buffer_pimpl.C: oops, update on resize
10441
10442 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * buffer.C:
10445         * converter.C:
10446         * exporter.C:
10447         * lyxfunc.C:
10448         * BufferView.h:
10449         * BufferView.C: use repaint()
10450
10451         * BufferView_pimpl.h:
10452         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10453           as it's a clearer description. Remove superfluous
10454           redraws.
10455
10456 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * text.C: fix bug 488. Not ideal, but getting
10459           getWord() to work properly for the insets that
10460           matter is more difficult ...
10461
10462 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10463
10464         * BufferView_pimpl.C:
10465         * LyXAction.C:
10466         * commandtags.h:
10467         * lyxfunc.C: remove the six million index lyxfuncs to just
10468           one, and DTRT (bug 458)
10469
10470 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * BufferView.h:
10473         * BufferView.C:
10474         * BufferView_pimpl.h:
10475         * BufferView_pimpl.C: clean up resize() stuff,
10476           and unnecessary updateScreen()s
10477
10478 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * BufferView.h:
10481         * BufferView.C:
10482         * BufferView_pimpl.h:
10483         * BufferView_pimpl.C:
10484         * lyxfind.h:
10485         * lyxfind.C:
10486         * minibuffer.C: remove focus management of workarea,
10487           not needed. Use screen's greyOut()
10488
10489 2002-06-17  Herbert Voss  <voss@lyx.org>
10490
10491         * converter.C: (convert) do not post a message, when converting
10492         fails, let the calling function decide what to do in this case
10493
10494 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * lyxfunc.C: tidy up a little
10497
10498 2002-06-16    <alstrup@diku.dk>
10499
10500         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10501         Got rid of FORMS_H_LOCATION include. Now we are
10502         GUII.
10503
10504 2002-06-15  LyX Development team  <lyx@rilke>
10505
10506         * buffer.[Ch] (sgmlOpenTag):
10507         (sgmlCloseTag): Added support for avoiding pernicious mixed
10508         content. Return number of lines written.
10509
10510         (makeLinuxDocFile):
10511         (makeDocBookFile): Fixed calls to sgml*Tag.
10512         Simple white space clean.
10513
10514         (simpleDocBookOnePar): Simple white space clean.
10515
10516         * tabular.[Ch] (docBook): Renamed to docbook and got another
10517         argument to related with the pernicious mixed content.
10518
10519         (docbookRow): Fixed calls for docbook inset method.
10520
10521 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10522
10523         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10524         so it's X11 independent.
10525
10526         * kb*.[Ch]: ditto.
10527
10528         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10529
10530 2002-06-15  Lyx Development team  <lyx@electronia>
10531
10532         * intl.h: Renamed getTrans to getTransManager.
10533
10534 2002-06-14  Angus Leeming  <leeming@lyx.org>
10535
10536         * Makefile.am: nuke forgotten stl_string_fwd.h.
10537
10538 2002-06-12  Angus Leeming  <leeming@lyx.org>
10539
10540         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10541
10542 2002-06-13  Angus Leeming  <leeming@lyx.org>
10543
10544         * LaTeX.C:
10545         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10546
10547 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10548
10549         * kbmap.C (getiso): add support for cyrillic and greek
10550
10551 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * BufferView.h:
10554         * BufferView.C:
10555         * BufferView_pimpl.h:
10556         * BufferView_pimpl.C: move bogus scrolling logic
10557           to xforms
10558
10559 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10560
10561         * lyxfunc.C:
10562         * BufferView_pimpl.C: view->resize() change
10563
10564 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * BufferView_pimpl.C: topCursorVisible
10567           prototype change
10568
10569 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * Makefile.am:
10572         * lyx_gui.h:
10573         * lyx_gui.C: move to frontends/
10574
10575         * main.C:
10576         * lyx_main.h:
10577         * lyx_main.C: changes from above
10578
10579 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10580
10581         * intl.C:
10582         * intl.h:
10583         * kbmap.C:
10584         * kbsequence.C:
10585         * lyx_cb.C:
10586         * lyx_main.C: minor tidy
10587
10588 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * BufferView_pimpl.h:
10591         * BufferView_pimpl.C:
10592         * BufferView.h:
10593         * BufferView.C: make painter() const,
10594           remove dead code
10595
10596         * BufferView2.C: use screen() accessor
10597
10598         * lyx_main.h:
10599         * lyx_main.C: some minor cleanup
10600
10601 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10602
10603         * BufferView_pimpl.h:
10604         * BufferView_pimpl.C: remove enter/leaveView,
10605           use workHeight()
10606
10607 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * BufferView.h:
10610         * BufferView.C:
10611         * BufferView2.C:
10612         * BufferView_pimpl.h:
10613         * BufferView_pimpl.C: only construct screen once,
10614           rename
10615
10616         * lyxrc.C: remove pointless comment
10617
10618 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * BufferView.h:
10621         * BufferView.C: remove active() and belowMouse()
10622
10623         * BufferView_pimpl.h:
10624         * BufferView_pimpl.C: use workarea() not workarea_,
10625           and make it use a scoped_ptr instead
10626
10627 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * lyx_gui.C: add debug message on BadWindow
10630
10631 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10632
10633         * sp_spell.C: fdopen is not part of the C++ standard.
10634
10635         * paragraph.C (InsetIterator): use >= instead of ==
10636
10637 2002-06-07  Angus Leeming  <leeming@lyx.org>
10638
10639         Fixes needed to compile with Compaq cxx 6.5.
10640         * BufferView_pimpl.C:
10641         * DepTable.C:
10642         * buffer.C:
10643         * converter.C:
10644         * encoding.C:
10645         * lyx_gui.C:
10646         * lyx_main.C:
10647         * lyxtextclasslist.C:
10648         * minibuffer.C:
10649         * sp_spell.C:
10650         * tabular_funcs.C:
10651         * vc-backend.C:
10652         all c-library variables have been moved into namespace std. Wrap
10653         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10654
10655         * lyxlength.C:
10656         * tabular-old.C:
10657         * tabular.C:
10658         Add a using std::abs declaration.
10659
10660         * kbmap.h (modifier_pair):
10661         * paragraph.h (InsetTable, InsetList):
10662         * lyxfont.h (FontBits):
10663         type definition made public.
10664
10665         * bufferlist.C (emergencyWriteAll): the compiler complains that
10666         there is more than one possible lyx::class_fun template to choose from.
10667         I re-named the void specialisation as lyx::void_class_fun.
10668
10669         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10670
10671         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10672         the compiler is is unable to find tostr in write_attribute.
10673
10674 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10675
10676         * buffer.C (sgmlError): hide #warning
10677
10678 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10679
10680         * xtl/*: get rid of xtl, which is not in use anyway
10681
10682         * LyXAction.C (init):
10683         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10684         were unimplemented xtl experimentation
10685
10686 2002-06-04  André Pönitz <poenitz@gmx.net>
10687
10688         * lyxfunc.C: disable array operation on simple formulae
10689
10690 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10691
10692         * converter.C: constify a bit
10693
10694 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * lyx_gui.C: check xforms version correctly
10697
10698 2002-04-30  Herbert Voss  <voss@lyx.org>
10699
10700         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10701         "keep" option
10702
10703 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10706           attempt to register it with a VCS)
10707
10708 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10709
10710         * lyx_main.C (init): honor variables LYX_DIR_13x and
10711         LYX_USERDIR_13x
10712
10713 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * buffer.h:
10716         * buffer.C:
10717         * lyx_main.C: fix a crash on bad command line,
10718           and give a useful exit status on error
10719
10720         * lyxfunc.C (doImport): allow -i lyx to work
10721
10722 2002-03-30  André Pönitz <poenitz@gmx.net>
10723
10724         * lyxfunc.C: mathed font changes
10725
10726 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * LaTeX.C:
10729         * importer.h:
10730         * importer.C:
10731         * lyx_sty.h:
10732         * lyx_sty.C:
10733         * lyxlex.C:
10734         * lyxrow.h:
10735         * lyxtext.h:
10736         * paragraph.h:
10737         * paragraph.C:
10738         * texrow.h:
10739         * texrow.C:
10740         * text.C:
10741         * trans_mgr.h: srcdocs, and some minor cleanups
10742
10743 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10744
10745         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10746         call getFont all the time)
10747
10748 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10749
10750         * switch from SigC signals to boost::signals
10751
10752 2002-05-29  André Pönitz <poenitz@gmx.net>
10753
10754         * paragraph_pimpl.C (getChar): don't call size() too often...
10755
10756 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10757
10758         * paragraph_pimpl.C (insertChar): do not try to update tables when
10759         appending (pos == size())
10760
10761         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10762         in order to reduce drastically the number of comparisons needed to
10763         parse a large document
10764
10765 2002-05-29  André Pönitz <poenitz@gmx.net>
10766
10767         * text.C:
10768         * text2.C:
10769         * lyxtextclass.C:
10770         * sp_pspell.h:
10771         * textclasslist.[Ch]:
10772         * sp_ispell.h: whitespace change
10773
10774 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10775
10776         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10777         lyxaction directly now.
10778
10779 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10780
10781         * trans.C:
10782         * lyxfont.C:
10783         * lyxvc.C: remove unused headers
10784
10785 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * Makefile.am:
10788         * buffer.h:
10789         * undostack.h:
10790         * undostack.C:
10791         * undo_funcs.h:
10792         * undo_funcs.C: some cleanups. Use shared_ptr
10793           and a template for the undo stacks.
10794
10795 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10796
10797         * BufferView_pimpl.h:
10798         * BufferView_pimpl.C:
10799         * kbmap.h:
10800         * kbmap.C:
10801         * kbsequence.h:
10802         * kbsequence.C:
10803         * lyxfunc.h:
10804         * lyxfunc.C:
10805         * text2.C: use key_state/mouse_state
10806
10807 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10808
10809         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10810         and LSubstring
10811
10812         * chset.C: change include order
10813         (loadFile): use boost regex and get rid of LRegex and LSubstring
10814
10815         * Makefile.am (BOOST_LIBS): new variable
10816         (lyx_LDADD): use it
10817
10818         * LaTeX.C: change include order.
10819         (scanAuxFile): use boost regex and get rid of LRegex and
10820         LSubstring
10821         (deplog): ditto
10822
10823 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * ColorHandler.h:
10826         * ColorHandler.C:
10827         * FontInfo.h:
10828         * FontInfo.C: moved to frontends/xforms/
10829
10830         * FontLoader.h:
10831         * FontLoader.C: moved into frontends for GUIIzation
10832
10833         * Makefile.am:
10834         * lyx_gui.C:
10835         * lyxfont.C:
10836         * lyxfunc.C: changes from above
10837
10838 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10839
10840         * LColor.C: remove spurious X include
10841
10842         * BufferView_pimpl.C:
10843         * Makefile.am:
10844         * font.h:
10845         * font.C:
10846         * text.C:
10847         * text2.C: move font metrics to frontends/
10848
10849 2002-05-24  Juergen Vigna  <jug@sad.it>
10850
10851         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10852         setting the undo_cursor.
10853
10854         * ParagraphParameters.h: include local includes first.
10855
10856 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10857
10858         * BufferView_pimpl.C:
10859         * BufferView_pimpl.h:
10860         * Makefile.am:
10861         * WorkArea.h:
10862         * WorkArea.C:
10863         * screen.C: move WorkArea into frontends/
10864
10865         * lyxscreen.h:
10866         * screen.C:
10867         * text.C:
10868         * BufferView.C:
10869         * BufferView2.C: move LyXScreen into frontends/
10870
10871         * lyxlookup.h:
10872         * lyxlookup.C:
10873         * lyx_gui.C: move lyxlookup into frontends/xforms/
10874
10875 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * BufferView2.C:
10878         * BufferView_pimpl.C:
10879         * FontLoader.C:
10880         * LyXView.h:
10881         * LyXView.C:
10882         * Makefile.am:
10883         * WorkArea.C:
10884         * XFormsView.h:
10885         * XFormsView.C:
10886         * buffer.C:
10887         * bufferlist.C:
10888         * bufferview_funcs.C:
10889         * converter.C:
10890         * importer.C:
10891         * lyx_cb.C:
10892         * lyx_gui.C:
10893         * lyx_main.C:
10894         * lyx_find.C:
10895         * lyxfunc.C:
10896         * lyxvc.C:
10897         * minibuffer.C:
10898         * text.C:
10899         * text2.C:
10900         * trans.C:
10901         * vc-backend.C: move LyX/XFormsView into frontends/
10902
10903 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10904
10905         * Makefile.am:
10906         * PainterBase.C:
10907         * PainterBase.h:
10908         * Painter.C:
10909         * Painter.h:
10910         * WorkArea.C:
10911         * WorkArea.h:
10912         * screen.C:
10913         * tabular.C:
10914         * text.C:
10915         * text2.C: move Painter to frontends/
10916
10917 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10918
10919         * buffer.C: comment out some some code that depend upon lyx_format
10920         < 220
10921
10922         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10923         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10924
10925         * buffer.h (NO_COMPABILITY): turn off compability
10926
10927         * ColorHandler.C: include scoped_array.hpp
10928
10929         * font.C: Use more specific smart_ptr header.
10930         * Painter.C: ditto
10931         * gettext.C: ditto
10932         * ShareContainer.h: ditto
10933         * lyx_main.h: ditto
10934         * kbmap.h: ditto
10935         * FontInfo.h: ditto
10936         * BufferView_pimpl.h: ditto
10937         * ColorHandler.h: ditto
10938
10939         * kbmap.C (defkey): change call to shared_ptr::reset
10940
10941 2002-05-21  Juergen Vigna  <jug@sad.it>
10942
10943         * buffer.C (insertErtContents): fix to insert ert asis if it is
10944         non empty. Skip it completely if it contains only whitespaces.
10945
10946 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10947
10948         * BufferView_pimpl.C:
10949         * BufferView2.C: clear selection on paste (bug 393)
10950
10951 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10952
10953         * DepTable.C: include ctime
10954
10955 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10956
10957         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10958
10959 2002-05-14  Juergen Vigna  <jug@sad.it>
10960
10961         * text.C (breakParagraph): fixed function to honor the keepempty
10962         layout in the right maner and also to permit the right breaking
10963         algorithm on empty or non empyt keepempty paragraphs.
10964
10965         * paragraph.C (breakParagraph): we have to check also if the par
10966         is really empty (!size()) for isempty otherwise we do the wrong
10967         paragraph break.
10968
10969 2002-05-10  Juergen Vigna  <jug@sad.it>
10970
10971         * buffer.[Ch] : The following are only changes to the ert
10972         compatibility read reading old LaTeX layout and font stuff and
10973         convert it to ERTInsets.
10974
10975         * buffer.h: added isErtInset().
10976
10977         * buffer.C (struct ErtComp): add a fromlayout bool to check
10978         if we're inside a LaTeX layout.
10979         (isErtInset): new helper function.
10980         (insertErtContents): look for other ert insets before this one
10981         and insert the contents there, so that we don't have subsequent
10982         ERT insets with nothing between them. This way we create only one
10983         inset with multiple paragraphs. Also check if we don't insert only
10984         spaces ' ' as they are ignored anyway afterwards in the .tex file
10985         so if we have only spaces we will ignore this latex part in the
10986         new file.
10987         (parseSingleLyXformat2Token \\layout): better compatibility when
10988         reading layout-latex stuff.
10989         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10990         language tag.
10991         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10992         stuff after reading the inset only get the information back from
10993         the stack.
10994
10995 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10996
10997         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10998
10999         * LaTeXFeatures.C (getBabelOptions): New method.
11000
11001 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * BufferView_pimpl.C (Dispatch): work around missing argument for
11004         'layout'
11005
11006 2002-05-08  Juergen Vigna  <jug@sad.it>
11007
11008         * text.C (leftMargin): handle paragraph leftindent.
11009
11010         * paragraph.C (writeFile): write the new \\leftindent tag.
11011         (validate): handle leftindent code.
11012         (TeXEnvironment): handle paragraphleftindent code again.
11013
11014         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11015
11016         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11017         for paragrap_extra indent code and new token \\leftindent.
11018         (latexParagraphs): handle the leftindent as environment.
11019
11020         * ParameterStruct.h: added leftindent support.
11021
11022         * ParagraphParameters.C (leftIndent): added support functions for
11023         the paragraph left indent.
11024
11025         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11026         more appropriate.
11027
11028 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11029
11030         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11031         inside insetERT.
11032
11033         * text.C (computeBidiTables): No bidi in insetERT.
11034
11035         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11036         in RTL documents.
11037
11038 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11039
11040         * version.C.in: pre 5
11041
11042 2002-05-02  José Matos  <jamatos@fep.up.pt>
11043         * buffer.C (makeDocBookFile): white space changes, add newline to
11044         command styles.
11045         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11046
11047         * tabular.C (docBook): fix typo.
11048
11049 2002-05-03  Juergen Vigna  <jug@sad.it>
11050
11051         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11052         change in LyXText as we can not be sure it was not freed.
11053         (drawOneRow): remove unused code.
11054
11055         * text.C (drawInset): redo the calculation of the need_break_row as
11056         it could have a row which was already freed.
11057         (draw): look at the return value of drawInset and return false if
11058         it also returned false.
11059         (paintRowText): look at the return value of draw and return false if
11060         it also returned false.
11061
11062         * lyxtext.h: added bool return type to drawInset() and draw() so that
11063         if we have a change in the row so that the rowbreak has to be redone
11064         we abort drawing as it will be called again.
11065
11066 2002-05-02  Juergen Vigna  <jug@sad.it>
11067
11068         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11069         a change in the maintext also if we're inside an inset.
11070         (Dispatch): set the cursor again after a break line and after the
11071         screen has been updated as it could be we're in a different row.
11072
11073         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11074         to set the cursor behind the pargraph with > size().
11075         (setCursor): check also for the same paragraph when checking where
11076         to put the cursor if we have a NFR inset.
11077
11078         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11079         parts of layout read further up as it still was in the wrong
11080         position.
11081
11082 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11083
11084         * screen.C (drawFromTo): change sine fullRebreak always return
11085         true.
11086
11087         * buffer.C (parseSingleLyXformat2Token): reindent some
11088
11089         * BufferView_pimpl.C (update): change since fullRebreak always
11090         return true.
11091         (Dispatch): git rid of the last hardcoded "Standard"s.
11092
11093 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * text2.[Ch] (fullRebreak): make it return void now that we always
11096         returned true.
11097
11098 2002-04-30  Juergen Vigna  <jug@sad.it>
11099
11100         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11101         ert compatibility check for "latex" layout.
11102
11103 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11104
11105         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11106         minipages: use col% instead of p%, and also use the current font.
11107         (makeLaTeXFile): Fix use babel condition.
11108         (parseSingleLyXformat2Token): Correct font when reading old floats.
11109
11110 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11113         inserting list of floats.
11114
11115 2002-04-25  Herbert Voss  <voss@lyx.org>
11116
11117         * MenuBackend.C (expand): don't add the graphics extensions to the
11118         export menu
11119
11120 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11123         non-existing layout, do not complain if it was the default layout
11124         of the original class (bug #342)
11125
11126 2002-04-24  Juergen Vigna  <jug@sad.it>
11127
11128         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11129         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11130
11131 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11132
11133         * buffer.C (getBibkeyList): If using \bibliography, return the
11134         option field with the reference itself. Enables us to provide natbib
11135         support when using \bibliography.
11136
11137 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11138
11139         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11140
11141         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11142         natbib is provided by the LaTeX class.
11143
11144 2002-04-23  Juergen Vigna  <jug@sad.it>
11145
11146         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11147         Wakeup functions.
11148
11149         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11150
11151 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11154
11155         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11156         ensuremath around textordmasculine, textordfeminine and
11157         textdegree.
11158
11159 2002-04-19  Juergen Vigna  <jug@sad.it>
11160
11161         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11162         reinitializing the buffer otherwise row-dimensions may be wrong.
11163         (update): reset also the selection cursors if they do exits otherwise
11164         their x/y positions may be wrong.
11165
11166         * text2.C (cursorDown): don't enter the inset if we came from a row
11167         above and are one row over the inset.
11168
11169         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11170         really leaving an inset.
11171
11172 2002-04-18  Juergen Vigna  <jug@sad.it>
11173
11174         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11175         of the selected paragraph does not have the selected layout also if
11176         the last one had!
11177
11178         * text2.C (setLayout): fixed bug which did not change last selected
11179         paragraph.
11180
11181         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11182         changed the read and substituted \\end_float with \\end_inset!
11183
11184         * BufferView_pimpl.C (cursorPrevious):
11185         (cursorNext): fixed to make it work with rows heigher than the work
11186         area without moving the cursor only the draw of the row.
11187         (workAreaMotionNotify): fix jumping over high rows.
11188
11189 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11190
11191         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11192         Ressler.
11193
11194 2002-04-16  Juergen Vigna  <jug@sad.it>
11195
11196         * text2.C (setCursor): set also the irow().
11197         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11198         (cursorUp):
11199         (cursorDown): support for locking an inset if the x_fix value goes
11200         inside it. That way I can transverse insets too with cursor up/down.
11201
11202         * lyxrow.h: added irow helper function same as other (i) functions.
11203
11204         * BufferView_pimpl.C (cursorPrevious):
11205         (cursorNext): fixed for insets!
11206
11207 2002-04-15  Juergen Vigna  <jug@sad.it>
11208
11209         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11210         position otherwise it is wrong in some cases.
11211
11212         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11213         inside the inset before the call.
11214
11215 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11216
11217         * buffer.[Ch] (getBibkeyList): make it const.
11218
11219 2002-04-12  Juergen Vigna  <jug@sad.it>
11220
11221         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11222
11223         * text2.C (getCursorX): new helper function
11224         (setCursor): compute also ix_
11225         (setCursorFromCoordinates): set also ix.
11226
11227         * lyxcursor.h: added ix_ and helper functions.
11228
11229         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11230
11231         * buffer.C (insertStringAsLines): dont break paragraph if the this
11232         paragraph is inside an inset which does not permit it!
11233
11234         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11235         also with no chars on this paragraph.
11236         (paintRowText): only paint stuff if it's inside the workarea!
11237
11238         * paragraph.C (breakParagraph): honor keepempty flag and break the
11239         paragraph always below not above.
11240
11241         * BufferView2.C (unlockInset): update the paragraph layout on inset
11242         unlock as we changed paragraph in such a case.
11243
11244         * lyxfind.C (LyXFind): clear the former selection if not found!
11245
11246         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11247         again called in insertChar().
11248
11249         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11250         an inset which uses the whole row!
11251         (rightMargin): ditto.
11252         (insertChar): force a rebreak if we inserted an inset!
11253
11254 2002-03-28  Herbert Voss  <voss@lyx.org>
11255
11256         * lyxlength.[Ch]: add inBP() to get the right PS-point
11257         units (BigPoint). With inPixels we have rounding errors
11258
11259 2002-04-11  Juergen Vigna  <jug@sad.it>
11260
11261         * text2.C (setCursorFromCoordinates): set iy to the right value.
11262         (setCursor): add check if row->previous exists!
11263
11264         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11265         an old float_type as this was the case in the old code!
11266
11267         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11268
11269         * BufferView2.C (showLockedInsetCursor): use iy
11270         (fitLockedInsetCursor): ditto
11271
11272         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11273         locked insets as there we have the right value now.
11274
11275         * lyxcursor.C: added iy_ variable and iy functions to set to the
11276         baseline of cursor-y of the locked inset.
11277
11278         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11279         (setCursor): fixed for insets which need a full row.
11280
11281         * text.C (rowLastPrintable): don't ignore the last space when before
11282         an inset which needs a full row.
11283         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11284         as last character of a row when before a inset which needs a full row.
11285
11286 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11287
11288         * version.C.in: update date
11289
11290         * text2.C (fullRebreak): try to always return true and see what
11291         happens...
11292
11293 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11294
11295         * MenuBackend.C (expand): use Floating::listName
11296
11297         * FloatList.C (FloatList): add listName argument to the built-in
11298         floats
11299
11300         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11301         text associated with the float.
11302
11303 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11304
11305         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11306
11307 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11308
11309         * ShareContainer.h: add a couple of missing typenames.
11310
11311 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11312
11313         * lyxrc.C (getDescription): use _() correctly rather than N_().
11314
11315 2002-03-28  Herbert Voss  <voss@lyx.org>
11316
11317         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11318         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11319
11320 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11323         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11324
11325 2002-03-29  Juergen Vigna  <jug@sad.it>
11326
11327         * lyxfunc.C (dispatch): add a missing fitCursor call.
11328
11329         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11330         it was scrolled by a cursor move, so return the bool status.
11331
11332         * BufferView.C (fitCursor): return the bool flag also to the outside
11333         world as this is needed.
11334
11335         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11336
11337         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11338         call the edit() as it is not needed (and wrong) IMO.
11339         (workAreaButtonPress): set the screen_first variable before evt.
11340         unlock the inset as this may change screen_first and then we have
11341         a wrong y position for the click!
11342
11343 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11344
11345         * MenuBackend.C (expand): another translation that I missed
11346
11347 2002-03-28  Juergen Vigna  <jug@sad.it>
11348
11349         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11350
11351         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11352
11353 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11354
11355         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11356
11357         * MenuBackend.C (expand): fix export/view/update when there is no
11358         document open.
11359
11360 2002-03-27  Herbert Voss  <voss@lyx.org>
11361
11362         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11363         and text%
11364
11365 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * bufferview_funcs.C (currentState): only show paragraph number
11368         for is DEVEL_VERSION is set.
11369
11370         * lyxfunc.C (dispatch): put warning in INFO channel
11371
11372         * MenuBackend.C (expand): translate the name of floats
11373
11374         * FloatList.C (FloatList): mark the float names for translation
11375
11376         * converter.C (convert): use LibScriptSearch
11377
11378 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11379
11380         * MenuBackend.C (defaults): fix default menu (we might as well get
11381         rid of it...)
11382
11383 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11386         directory.
11387
11388 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11389
11390         * lyxvc.C: reorder includes.
11391
11392 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11395           properly
11396
11397 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * CutAndPaste.C: change layouts earlier on paste
11400           to avoid crashing when calling getFont()
11401
11402 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11403
11404         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11405         irritating #error.
11406
11407 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * WorkArea.C: remove 'Pending' debug message.
11410
11411         * most files: ws cleanup
11412
11413         * buffer.[Ch]: ws changes
11414
11415         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11416
11417 2002-03-21  Juergen Vigna  <jug@sad.it>
11418
11419         * tabular.C (SetMultiColumn): collapse also the contents of the
11420         cells and set the last border right. Added a Buffer const * param.
11421
11422 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11423
11424         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11425         linking or not.
11426
11427 2002-03-19  Juergen Vigna  <jug@sad.it>
11428
11429         * text2.C (clearSelection): reset also xsel_cache.
11430
11431         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11432         where it needs to be called (John tells us to do so too :)
11433         (selectionLost): reset sel_cache.
11434
11435         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11436
11437 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * text2.C (setCursorIntern): put debuging code in INSETS channel
11440
11441 2002-03-19  André Pönitz <poenitz@gmx.net>
11442
11443         * lyxfunc.C: tiny whitespace change
11444
11445 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11446
11447         * ToolbarDefaults.C (init):
11448         * LyXAction.C (init):
11449         * commandtags.h:
11450         * BufferView_pimpl.C (Dispatch):
11451         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11452
11453 2002-03-19  Allan Rae  <rae@lyx.org>
11454
11455         * exporter.C (Export): removeAutoInsets before doing anything else.
11456         While I've just introduced a dependency on BufferView this really is
11457         the best place to clean the buffer otherwise you need to cleanup in
11458         a dozen places before calling export or cleanup in a dozen functions
11459         that export calls.
11460
11461         * converter.C (runLaTeX):
11462         (scanLog): Better handling of removeAutoInsets and screen updates.
11463
11464         * lyxfunc.C (dispatch): small whitespace changes
11465
11466 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * WorkArea.C (C_WorkAreaEvent): return a value.
11469         (event_cb): return 1 if we handled the event, 0 otherwise.
11470
11471         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11472
11473 2002-03-18  Juergen Vigna  <jug@sad.it>
11474
11475         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11476         (GetAdditionalWidth): ditto.
11477         (RightLine): ditto.
11478         (LeftLine): ditto.
11479
11480         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11481         inset if we're there actually (probably not used right now but this
11482         is the direction to go for unifying code).
11483         (paste): disable code to clear the selection.
11484
11485         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11486         inside an InsetText and move the check further up as it is in the
11487         wrong place.
11488
11489         * text2.C (pasteSelection): set a selection over the pasted text.
11490
11491 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11492
11493         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11494         and libgraphics to build on Cygwin.
11495
11496 2002-03-15  Juergen Vigna  <jug@sad.it>
11497
11498         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11499         inserting an Inset into the paragraph. I know this is not the best
11500         fix but we already use current_view in CutAndPaste so we will remove
11501         all of it's using at the same time.
11502
11503         * buffer.C (sgmlError): deactivated function till it is rewritten in
11504         the right mode, now it can create problems.
11505
11506         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11507         before accessing it.
11508
11509 2002-03-14  Juergen Vigna  <jug@sad.it>
11510
11511         * undo_funcs.C (textHandleUndo): do the right thing when updating
11512         the inset after the undo/redo.
11513
11514         * text2.C (setCursor): just some testcode for #44 not ready yet.
11515
11516         * undo_funcs.C (textHandleUndo): set the next() and previous()
11517         pointers of the paragraph to 0 before deleting otherwise we have
11518         problems with the Paragraph::[destructor].
11519
11520         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11521         on a paragraph insertion.
11522
11523 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11524
11525         * buffer.C (asciiParagraph): use += operator for char append to
11526         string.
11527
11528         * paragraph.C (getFontSettings): compare >= not just >
11529         (highestFontInRange): ditto
11530         (setFont): ditto
11531
11532 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * paragraph.C: change several algorithm to be more appripriate for
11535         the problem domain. This is lookip in FontList and in the InsetList.
11536
11537 2002-03-13  André Pönitz <poenitz@gmx.net>
11538
11539         * commandtags.h:
11540         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11541
11542 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * commandtags.h:
11545         * LyXAction.C:
11546         * lyxfunc.C:
11547         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11548
11549 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * Painter.C (display): anon helper function, adjust code for this
11552         change.
11553         (pixmap): remove function.
11554
11555         * Painter.h: remove private display variable.
11556
11557         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11558
11559 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11560
11561         * WorkArea.[Ch]: remove figinset_canvas cruft.
11562
11563 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11564
11565         * lyxtextclass.C (operator): add one item cache optimization.
11566
11567         * bufferlist.h: doxy changes
11568
11569         * bufferlist.C: ws changes
11570
11571         * DepTable.[Ch] (ext_exist): place const in the right spot.
11572
11573         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11574         call resizeInsets.
11575         (workAreaExpose): call resizeInsets when the with BufferView changes.
11576         (Dispatch): adjust for protectedBlank removal
11577         (specialChar): call updateInset if the insert went ok.
11578
11579         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11580         specialChar instead.
11581
11582         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11583
11584         * BufferView.h: doxy change
11585
11586         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11587
11588         * lyxtextclass.C (operator[]): remove non-const version
11589         (defaultLayout): remove non-const version
11590
11591 2002-03-12  Juergen Vigna  <jug@sad.it>
11592
11593         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11594         did resize the LyXText too.
11595
11596         * buffer.C (readLyXformat2): set layout information on newly allocated
11597         paragraphs.
11598
11599         * tabular.C (OldFormatRead): set layout information on the paragraph.
11600
11601 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11602
11603         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11604
11605 2002-03-11  Juergen Vigna  <jug@sad.it>
11606
11607         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11608         plainly wrong.
11609         (resizeCurrentBuffer): force also the insets to resize themselfes.
11610         (moveCursorUpdate): fixed up for InsetText.
11611
11612 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11613
11614         * commandtags.h:
11615         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11616         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11617         value of Dialogs::tooltipsEnabled().
11618         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11619
11620 2002-03-08  Juergen Vigna  <jug@sad.it>
11621
11622         * BufferView_pimpl.C (updateInset): update inset inside inset also
11623         if it isn't inside theLockingInset().
11624
11625 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11626
11627         * buffer.C (asciiParagraph): redo some of the word and line length
11628         handling.
11629         (getLists): look for Caption instead of caption.
11630
11631 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11632
11633         * buffer.C (Buffer): initialize niceFile to true
11634         (makeLaTeXFile):
11635         (makeLinuxDocFile):
11636         (makeDocBookFile): make sure niceFile is true on exit
11637
11638 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11639
11640         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11641
11642 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11643
11644         * LyXSendto.C: remove.
11645         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11646         * lyx_gui.C: remove now-redundant comment.
11647         * ColorHandler.h: remove forward declaration of class WorkArea.
11648         * lyxfunc.C: remove #include "WorkArea.h".
11649
11650 2002-03-07  Juergen Vigna  <jug@sad.it>
11651
11652         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11653         got moved away with the DEPM and also set the inset_owner always
11654         right which before could have been omitted.
11655
11656 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11657
11658         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11659         wanted layout is not found.
11660
11661 2002-03-07  Juergen Vigna  <jug@sad.it>
11662
11663         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11664
11665 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * paragraph.C (breakParagraph): use default layout not layout of
11668         prev paragraph.
11669         (Paragraph): clear ParagraphParameters.
11670
11671 2002-03-06  Juergen Vigna  <jug@sad.it>
11672
11673         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11674         otherwise it would not be a valid lenght. Fixed a special case in
11675         the minipage compatibility read where we end the document with a
11676         minipage.
11677
11678         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11679         was set as it could be 0 for InsetTexts first entry.
11680
11681 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * paragraph.C (writeFile): if layout is empty write out
11684         defaultLayoutName().
11685
11686         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11687         file without named layout we set layout to defaultLayoutName().
11688
11689 2002-03-06  Juergen Vigna  <jug@sad.it>
11690
11691         * CutAndPaste.C (copySelection): set layout for new paragraph.
11692
11693         * text.C (prepareToPrint): leave ERT inset left aligned
11694         (leftMargin): don't indent paragraphs inside ERT insets
11695
11696 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * paragraph.C (breakParagraph): dont call clear do the work manually
11699
11700         * paragraph.[Ch] (clear): remove function
11701
11702 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * paragraph.C (Paragraph): dont call clear, the work has already
11705         been done.
11706
11707         * lyxtextclass.C (operator): assert if n is empty
11708
11709         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11710         work manually instead.
11711
11712 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * BufferView_pimpl.C: protect selectionLost against text == 0
11715
11716 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11717
11718         * text.C (breakParagraph): fix a setting layout to '0' problem.
11719
11720 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11721
11722         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11723         final location of file, for the included files, and graphics.
11724
11725 2002-03-05  Juergen Vigna  <jug@sad.it>
11726
11727         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11728
11729 2002-03-04  Juergen Vigna  <jug@sad.it>
11730
11731         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11732
11733         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11734         last column of multicolumn cells.
11735         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11736
11737 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11738
11739         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11740         file if it doesn't go to a temporary file.
11741
11742         * buffer.C (sgmlOpenTag):
11743         (sgmlCloseTag):  remove extra newline insertion.
11744
11745 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11746
11747         * text.C (getRowNearY): comment out debug msg
11748
11749 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * text2.C: first -> first_y
11752
11753         * text.C (getRowNearY): add some attemts at a possible
11754         optimization, not working.
11755
11756         * tabular.[Ch]: add BufferParams to several function so that newly
11757         created paragraph can be initialized to he default layotu for the
11758         buffers textclass.
11759
11760         * tabular-old.C (ReadOld): add buf->params to call of Init
11761
11762         * screen.C: rename text->first to text->first_y
11763
11764         * paragraph.C (breakParagraph): always set layout in the broken
11765         paragraph
11766
11767         * lyxtextclass.C (Read): remove lowercase
11768         (hasLayout): ditto
11769         (operator): ditto
11770         (delete_layout): ditto
11771
11772         * lyxtext.h: rename first -> first_y
11773
11774         * lyxlayout.C (Read): remove lowercase
11775         (name): ditto
11776         (setName): ditto
11777         (obsoleted_by): ditto
11778
11779         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11780
11781         * buffer.C (insertErtContents): add params are to InsetERT
11782         (parseSingleLyXformat2Token): add code to check if a paragraphs
11783         layout really exist.
11784         (parseSingleLyXformat2Token): add params to several inset
11785         constructors
11786         (asciiParagraph): remove lowercase, do the layout comparisons with
11787         no_case
11788
11789         * BufferView_pimpl.C (cursorNext): first -> first_y
11790         (resizeCurrentBuffer): first -> first_y
11791         (updateScrollbar): first -> first_y
11792         (scrollCB): first -> first_y
11793         (workAreaMotionNotify): first -> first_y
11794         (workAreaButtonPress): first -> first_y
11795         (checkInsetHit): first -> first_y
11796         (cursorPrevious): first -> first_y
11797         (cursorNext): first -> first_y
11798         (Dispatch): add buffer_->params to severl inset contructors
11799
11800 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * lyxlayout.C (Read): remove some debug info that I forgot.
11803
11804         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11805         clean up the code slightly.
11806         (makeLinuxDocFile): ditto
11807         (makeDocBookFile): ditto
11808
11809         * text2.C: layout as string
11810
11811         * text.C: layout as string
11812
11813         * paragraph_pimpl.C: layout as string
11814
11815         * paragraph.[Ch]: layout as string
11816
11817         * lyxtextclasslist.[Ch]: layout as string
11818
11819         * lyxtextclass.[Ch]: layout as string
11820
11821         * lyxtext.h: layout as string
11822
11823         * lyxlayout.[Ch]: layout as string
11824
11825         * lyx_cb.C: layout as string
11826
11827         * bufferview_funcs.C: layout as string
11828
11829         * bufferparams.C: layout as string
11830
11831         * buffer.C: layout as string
11832
11833         * LyXView.[Ch]: layout as string
11834
11835         * LaTeXFeatures.[Ch]: layout as string
11836
11837         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11838
11839         * BufferView_pimpl.C: change current_layout to string, remove
11840         lyx::layout_type.
11841         (Dispatch):
11842         (smartQuote):
11843         (insertInset):
11844         (workAreaButtonRelease): layout as string
11845
11846         * BufferView2.C (unlockInset): adjust
11847
11848         * vspace.C (asLatexCommand): use an explict temp variable.
11849
11850 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * Makefile.am: use FRONTEND_*
11853
11854 2002-03-01  Juergen Vigna  <jug@sad.it>
11855
11856         * tabular.C (SetWidthOfMulticolCell): changed to something better
11857         I hope but still work in progress.
11858         (recalculateMulticolumnsOfColumn): renamed function from
11859         recalculateMulticolCells as it is more appropriate now.
11860         (SetWidthOfCell): calculate multicols better.
11861
11862 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11863
11864         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11865
11866         * lyxfunc.C (processKeySym): print sequence also if it is
11867         `deleted' (complete)
11868
11869         * kbsequence.C (print): print sequence even if it is deleted
11870         (complete would be a better word, actually).
11871
11872         * lyxfunc.C (dispatch): print complete options after a prefix key
11873
11874         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11875
11876 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11877
11878         * text2.C (setCharFont): eliminate setCharFont code duplication.
11879
11880 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11881
11882         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11883         LFUN_TABULAR_FEATURE (bug #177)
11884
11885 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11886
11887         * Makefile.am: remove figure.h
11888
11889 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11890
11891         * Bufferview_pimpl.C:
11892         * CutAndPasteC:
11893         * LaTeX.C:
11894         * LyXSendto.C:
11895         * buffer.C:
11896         * bufferlist.C:
11897         * converter.C:
11898         * language.C:
11899         * lyxfunc.C:
11900         * lyxvc.C:
11901         * paragraph.C:
11902         * text.C:
11903         * text2.C: remove #include "lyx_gui_misc.h".
11904
11905         * LaTeX.C: added #include <cstdio>
11906
11907 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11908
11909         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11910         that the paragraph following this one can have.
11911
11912         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11913
11914         * vspace.C (asLatexCommand): fix bogus gcc warning
11915
11916         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11917
11918 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11919
11920         * text2.C (setLayout): get rid of redundant code
11921
11922 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11923
11924         * text2.C (incDepth): make sure depth cannot be increased beyond
11925         reasonable values.
11926
11927 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11928
11929         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11930         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11931
11932         * PainterBase.h (image):
11933         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11934         a LyXImage const *.
11935
11936 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * BufferView.C:
11939         * BufferView.h:
11940         * BufferView_pimpl.C:
11941         * BufferView_pimpl.h:
11942         * LaTeXFeatures.C:
11943         * LyXAction.C:
11944         * LyXView.C:
11945         * Makefile.am:
11946         * UpdateList.h:
11947         * UpdateList.C:
11948         * buffer.C:
11949         * figure.h:
11950         * figureForm.C:
11951         * figureForm.h:
11952         * figure_form.C:
11953         * figure_form.h:
11954         * lyx_cb.C:
11955         * lyx_gui.C:
11956         * lyx_gui_misc.C:
11957         * lyxfunc.C:
11958         * sp_base.h:
11959         * sp_ispell.h:
11960         * sp_pspell.h:
11961         * sp_spell.C: remove fig inset, and the crap house of
11962           cards that follows it
11963
11964 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11965
11966         * Makefile.am:
11967         * lyxserver.C:
11968         * os2_defines.h:
11969         * os2_errortable.h:
11970         * nt_defines.h: move .h into support/
11971
11972         * vms_defines.h: remove
11973
11974         * WorkArea.C: add space in debug output
11975
11976         * text2.C:
11977         * paragraph.C:
11978         * buffer.C: add WITH_WARNINGS
11979
11980         * vc-backend.h:
11981         * vc-backend.C:
11982         * bufferlist.C: s/retrive/retrieve/, add docs
11983
11984         * vspace.h:
11985         * vspace.C:
11986         * kbmap.h:
11987         * lyxlength.h:
11988         * lyxgluelength.h:
11989         * length_common.h:
11990         * chset.h:
11991         * chset.C: add docs
11992
11993         * lyxgui.C: add ID to X error handler
11994
11995         * lyxtestclass.c: fix typo
11996
11997 2002-02-26  Juergen Vigna  <jug@sad.it>
11998
11999         * tabular_funcs.C (write_attribute): changed so that some default
12000         attributes are not written at all.
12001         (getTokenValue): set default values before trying to read the
12002         value so we have the return value always set as default if we don't
12003         find the token we search for.
12004
12005         * tabular.C (Write): write bools as bools not as strings!
12006
12007 2002-02-22  Juergen Vigna  <jug@sad.it>
12008
12009         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12010         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12011
12012         * text.C (leftMargin): don't add an indent for paragraphs inside
12013         tabular cells (fix #208).
12014
12015 2002-02-21  José Matos  <jamatos@fep.up.pt>
12016
12017         * tabular.C (docBook): fixed support for long tables.
12018
12019 2002-02-20  Juergen Vigna  <jug@sad.it>
12020
12021         * text2.C (getFont): get the drawing font of the Inset if this
12022         paragraph is inside an inset (only important for InsetERT for now).
12023
12024         * buffer.C (insertErtContents): use new lanugage params in ERT
12025         constructor.
12026
12027         * CutAndPaste.C: commenting out seemingly uneeded code.
12028
12029 2002-02-19  Allan Rae  <rae@lyx.org>
12030
12031         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12032         Iterators might be simple to use but they also get invalidated.
12033         (removeAutoInsets): renamed saved cursor tracking variables and added
12034         some comments to clarify what everything does.
12035
12036 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12037
12038         * Chktex.C:
12039         * LaTeX.C:
12040         * LyXSendto.C:
12041         * converter.C:
12042         * lyx_cb.C:
12043         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12044         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12045
12046         * lyxfunc.C:
12047         * vc-backend.h: remove #include "support/syscall.h"
12048
12049         * LaTeX.C:
12050         * LyXSendto.C:
12051         * converter.C: rearrange #includes in Lars' approved fashion.
12052
12053         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12054         forward declare class Timeout in the header file.
12055
12056         * XFormsView.C: changes due to the above.
12057
12058         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12059         similar to LyXView.
12060
12061         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12062         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12063
12064 2002-02-18  José Matos  <jamatos@fep.up.pt>
12065
12066         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12067         insets contents.
12068
12069 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12070
12071         * a lot of small ws changes
12072         * add a lot of using std::XXX
12073         * use std construcs some places where approp.
12074         * use some exisint stuff from lyxfunctional where approp.
12075         * Make file changes to use partial linking (lets test this now...)
12076
12077 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12078
12079         * Chktex.C:
12080         * buffer.C:
12081         remove #include "support/syscontr.h" as it's redundant. Always has been.
12082
12083         * Chktex.C:
12084         * LaTeX.C:
12085         * LyXSendto.C:
12086         * converter.C:
12087         * lyx_cb.C:
12088         * vc-backend.C:
12089         change Systemcalls::System to Systemcalls::Wait and
12090         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12091         No change of functionality, just reflects the stripped down Systemcalls
12092         class.
12093
12094 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12095
12096         * debug.[Ch]: add a GRAPHICS type to the enum.
12097
12098 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12101
12102         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12103         there is an inset.
12104
12105 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12106
12107         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12108         match the changes below.
12109
12110         * text2.C (toggleInset): if there is not editable inset at cursor
12111         position, try to see if cursor is _inside_ a collapsable inset
12112         and close it.
12113
12114 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12117         document menu has a nice checkbox
12118
12119 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12120
12121         * lyxlength.C (asLatexString): change PW to output as percent of
12122         \textwidth.
12123
12124         * lengthcommon.C: change '%' to 't%'
12125
12126         * lyxfunc.C (dispatch): a few comments from Martin
12127
12128 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * WorkArea.h:
12131         * WorkArea.C:
12132         * BufferView_pimpl.h:
12133         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12134           the X selection.
12135
12136 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12137
12138         * vspace.C (inPixels): fix compiler warning
12139
12140 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12141
12142         * lyxfunc.C (getStatus): fix status message for disabled commands.
12143
12144 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12145
12146         * BufferView_pimpl.C: fix crash on close buffer
12147         during selection (#227)
12148
12149 2002-01-27  Herbert Voss  <voss@lyx.org>
12150
12151         * buffer.C: link old Figure to new graphic inset
12152
12153 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12154
12155         * FontLoader.C (getFontinfo): Change the latex font names in order
12156         to match the names of type1inst.
12157
12158 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12159
12160         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12161
12162         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12163         (extchanged): ditto
12164         (ext_exist): ditto
12165         (remove_files_with_extension): ditto
12166         (remove_file): ditto
12167         (write): ditto
12168
12169         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12170         document is smaller than the work area height. Do not initialize
12171         static variables to 0.
12172
12173 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12174
12175         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12176
12177         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12178         LFUN_LAYOUT_PARAGRAPHS.
12179
12180         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12181         tabular. It is possible to provide a possible cell, which will
12182         typically be the actcell from the corresponding insettabular
12183
12184         * lyxfunc.C (getStatus): small cleanup; disable
12185         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12186         true
12187
12188 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12191
12192         * paragraph.C (startTeXParParams):
12193         (endTeXParParams): new methods. The LaTeX code to
12194         start/end paragraph formatting
12195         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12196         empty (fixes bug #200)
12197
12198         * vspace.C (inPixels): adapt to the change below
12199         (inPixels): [later] more cleanups (remove unused variables)
12200
12201         * lyxlength.C (inPixels): change to use a width and a height as
12202         parameter.
12203
12204 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12205
12206         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12207         Replaced with \paperwidth
12208
12209         * DepTable.C (insert): add std:: qualifier
12210
12211 2002-01-18  Allan Rae  <rae@lyx.org>
12212
12213         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12214         updated also?
12215
12216         * text.C (drawInset): Turned out I didn't know enough about how
12217         rebreaking worked.  This fixes most of the redraw problems.  I see
12218         an occasional cursor trail when a line is broken now and the cursor
12219         placement can seem out by a few pixels also after a rebreak.
12220
12221 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12222
12223         * buffer.C (parseSingleLyXformat2Token): update because minipage
12224         width is now a LyXLength
12225
12226         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12227
12228         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12229         math insets
12230
12231 2002-01-17  Juergen Vigna  <jug@sad.it>
12232
12233         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12234
12235         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12236         is set correctly and the inset is updated correctly.
12237
12238 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12239
12240         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12241         the beginning of the loop.
12242
12243 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lyxrc.C: improve help for use_scalable_fonts
12246
12247 2002-01-17  Allan Rae  <rae@lyx.org>
12248
12249         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12250
12251 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12252
12253         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12254         make sure to set their inset_owner to the right value (bug #171)
12255
12256 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12257
12258         * DepTable.h
12259         * DepTable.C: Implement mtime checking to reduce time spent doing
12260         CRCs.
12261
12262 2002-01-16  Juergen Vigna  <jug@sad.it>
12263
12264         * tabular.C (GetAdditionalHeight): one of error fixed.
12265
12266         * lyxrc.C (output): small fix in writing use_pspell.
12267
12268 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12269
12270         * sp_base.h: #include LString.h
12271
12272 2002-01-16  Allan Rae  <rae@lyx.org>
12273
12274         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12275         Can someone check this please?
12276
12277         * text.C (drawInset): It was possible that p.row would be removed by
12278         breakAgainOneRow upsetting a few other settings.  There may be another
12279         small tweak possible by setting need_break_row = 0 when p.row has been
12280         removed but I don't know enough about the logic here.
12281
12282 2002-01-15  Allan Rae  <rae@lyx.org>
12283
12284         * text.C (insertChar): removed conditional truism.
12285
12286         * BufferView2.C (removeAutoInsets): More tweaks.
12287         cur_par_prev could be a stray pointer.  Check for trailing empty line
12288         in case last line was cur_par and only had an error inset on it.
12289
12290 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12291
12292         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12293         absolute
12294
12295         * vc-backend.C (most methods):
12296         * exporter.C (Export):
12297         * converter.C (convert):
12298         (runLaTeX):
12299         * LyXSendto.C (SendtoApplyCB):
12300         * lyxfunc.C (dispatch):
12301         (menuNew):
12302         (open):
12303         (doImport):
12304         * lyx_cb.C (AutoSave):
12305         (InsertAsciiFile):
12306         * BufferView_pimpl.C (MenuInsertLyXFile):
12307         * buffer.C (runChktex): use Buffer::filePath().
12308
12309         * buffer.h: rename filename to filename_; rename filepath to
12310         filepath_ and make it private
12311         (filePath): new method
12312
12313         * buffer.C (writeFile): use fileName()
12314         (getLatexName):
12315
12316         * lyx_main.C (init): fix starting  of LyX when the binary is a
12317         link from so,ewhere else.
12318
12319         * minibuffer.C: include <cctype> for isprint
12320
12321 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12322
12323         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12324         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12325         name clash with InsetCollapsable's width function.
12326
12327 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * lastfiles.C: include <iterator>
12330
12331 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12334         std::count.
12335
12336         * buffer.C (makeLaTeXFile): ditto.
12337         Also make loop operation more transparent.
12338
12339 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12340
12341         * ToolbarDefaults.C: remove trailing comma closing namespace.
12342
12343         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12344
12345         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12346         as in WorkArea.
12347
12348         * trans.C (Load): comment out unused variable, allowed.
12349
12350 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12351
12352         * minibuffer.[Ch] (append_char): new method to recieve input from the
12353         drop-down completion browser. If a key was pressed, then recieve this
12354         char and append it to the existing string.
12355         (peek_event): modify the positioning data passed to the completion
12356         browser so that it can be placed above the minibuffer rather than below.
12357 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * LyXAction.C (init): alloe error-next for readonly documents.
12360
12361         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12362         count.
12363
12364 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12365
12366         * bufferlist.C (readFile): create the buffer _after_ checking that
12367         the file exists.
12368
12369         * lyxfunc.C (verboseDispatch): fix handling of arguments
12370
12371         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12372
12373         * lyxrc.C: use string::erase() instead of initializing to "".
12374
12375
12376 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12377
12378         * BufferView_pimpl.h:
12379         * BufferView_pimpl.C:
12380         * WorkArea.h:
12381         * WorkArea.C:
12382         * text2.C: tell X when we have made a selection for copying
12383
12384 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * BufferView_pimpl.C (MenuInsertLyXFile):
12387         * lyxfunc.C (menuNew):
12388         (open):
12389         (doImport): add shortcuts to directory buttons
12390
12391         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12392         open a float)
12393
12394         * lyxfunc.C (setStatusMessage):
12395         (getStatusMessage): new methods
12396         (getStatus):use setStatusMessage instead of setErrorMessage
12397         (dispatch): when function is disabled, set error message here
12398         [instead of in getStatus previously]
12399
12400         * BufferView_pimpl.C (workAreaButtonRelease): update
12401         toolbar/menubar here too.
12402
12403 2002-01-13  Allan Rae  <rae@lyx.org>
12404
12405         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12406         Now seems indestructible.  Remaining task is to audit all other
12407         code affected by deleteEmptyParagraphMechanism.  One small quirk
12408         left is that an empty document with an error in the preamble can
12409         be made to report an error but no error box appears.  I don't know
12410         where it goes.
12411         (removeAutoInsets): Improved comments.
12412
12413 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12414
12415         * Thesaurus.h:
12416         * Thesaurus.C: update for Aiksaurus 0.14
12417
12418 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12419
12420         * text2.C (firstParagraph): removed member function, all uses
12421         replaces with ownerParagraph
12422         (redoParagraphs): here
12423         (updateInset): here
12424         (toggleAppendix): here
12425         * BufferView2.C (insertErrors): here
12426         (setCursorFromRow): here
12427
12428 2002-01-13  Allan Rae  <rae@lyx.org>
12429
12430         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12431         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12432         There is still a way to segfault this although you may have to do this
12433         multiple times: Have an InsetERT with an unknown command in it.
12434         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12435         <down-arrow>, <Enter> again, View->DVI, BANG!
12436
12437         * text2.C (setCursor):
12438         (deleteEmptyParagraphMechanism):
12439         * lyxtext.h (setCursor):
12440         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12441         Making use of the return value may help fix other bugs.
12442
12443 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12444
12445         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12446
12447         * LyXView.C (updateMenubar): call MenuBar::update here
12448         (updateToolbar): but not here
12449         (showState): do not update toolbar/menubar
12450
12451         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12452         should need to care about that.
12453
12454         * lyxfunc.C (verboseDispatch): simplify a bit
12455         (getStatus): have a version which takes a pseudoaction, and
12456         another which requires a (kb_action,string).
12457
12458         * LyXAction.C (retrieveActionArg): make it work also when action
12459         is not a pseudo-action.
12460         (getActionName): simplify a bit
12461         (helpText):
12462
12463 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12464
12465         * lyxfunc.C (verboseDispatch): new families of methods with
12466         several ways to specify a command and a bool to indicate whether
12467         the command name and shortcut should be displayed in minibuffer
12468         (eventually, we could extend that to a finer bitmask like
12469         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12470         (dispatch): the pristine dispatch command which just, well,
12471         dispatchs! Note it still sets its result to minibuffer; I'm not
12472         sure we want that.
12473
12474         * lyxfunc.h: remove setHintMessage
12475
12476         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12477
12478 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * BufferView_pimpl.C (specialChar): delete new inset if we have
12481         not been able to insert it.
12482
12483         * kbmap.C: revert to using int instead of kb_action, since all we
12484         are dealing with is pseudo-actions.
12485
12486         * LyXAction.C (searchActionArg): change to return int instead of
12487         kb_action, since the result is a pseudoaction.
12488
12489 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12490
12491         * buffer.C (insertErtContents): Fix (partially) the font bug.
12492
12493 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12494
12495         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12496         as the other one is broken on my machine!
12497
12498 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12499
12500         * commandtags.h:
12501         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12502
12503 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12504
12505         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12506         reflect their actual use. Provide compatibility code for older lyxrc
12507         files.
12508
12509         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12510         FL_NORMAL_STYLE.
12511         change names of popup font variables in line with the changes to lyxrc.C
12512
12513 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * buffer.C (asciiParagraph): avoid outputing a word twice after
12516         an inset.
12517
12518         * lyxrc.C (getDescription): document that document_path and
12519         template_path can be empty.
12520
12521 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * LaTeXFeatures.C (getMacros):
12524         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12525
12526         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12527
12528         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12529         getPackages.
12530         (getPackages): rename feature "floats" to "float". Use an array to
12531         iterate over 'simple' features (i.e. just a \usepackage). Add
12532         handling of "amsmath" (renamed from "amsstyle").
12533
12534 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12535
12536         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12537         features list.
12538
12539 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12540
12541         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12542         FuncStaus::FuncStatus & FuncStaus::some_method().
12543
12544 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12545
12546         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12547         of the func_satus stuff. Edited and massaged in various ways by
12548         JMarc.
12549
12550         * lyxfunc.C (getStatus): use FuncStatus
12551
12552 2002-01-08  Juergen Vigna  <jug@sad.it>
12553
12554         * text.C (nextBreakPoint): use function Inset::isChar().
12555
12556         * paragraph.C (TeXOnePar): use function
12557         Inset::forceDefaultParagraphs.
12558
12559         * buffer.C (latexParagraphs): use function
12560         Inset::forceDefaultParagraphs.
12561
12562 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12563
12564         * lyx_gui.C (init): set the style of the menu popups to
12565         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12566
12567 2002-01-07  Juergen Vigna  <jug@sad.it>
12568
12569         * text.C (setHeightOfRow): small fix
12570         (prepareToPrint): don't look at alignment if we don't have the place
12571         for doing it.
12572
12573 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12574
12575         * box.C: New file. Move the Box methods and functions out of box.h,
12576         following Lars' suggestion.
12577
12578 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12579
12580         * box.h: #include "support/LOstream.h", needed for inlined function.
12581
12582         * lyxtextclass.C:
12583         * lyxtextclasslist.C: added some using std declarations.
12584
12585 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12586
12587         * box.h: make signed dimensions to allow insets wider than
12588           the screen (bug #162)
12589
12590         * BufferView_pimpl.C: add some insetHit debug
12591
12592 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * vc-backend.C: add FIXME
12595
12596 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * lyxfunc.C (getStatus): enable code for showing math font status
12599         in toolbar/menu.
12600
12601 2002-01-07  Juergen Vigna  <jug@sad.it>
12602
12603         * text.C (nextBreakPoint): removed debug output not needed anymore.
12604
12605 2002-01-06  Juergen Vigna  <jug@sad.it>
12606
12607         * text.C (nextBreakPoint): fixed up this function we had this bug
12608         since ever but now hopefully we break row better.
12609         (insertChar): we have to check if an inset is the next char as it
12610         could now happen that a large inset is causing a break.
12611
12612 2002-01-05  Juergen Vigna  <jug@sad.it>
12613
12614         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12615         if it doesn't like to be drawed.
12616
12617 2002-01-04  Juergen Vigna  <jug@sad.it>
12618
12619         * BufferView2.C (lockInset): forgot to set a cursor.
12620
12621         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12622
12623 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12624
12625         * FormMathsPanel.C:
12626         * FormMathsPanel.h
12627         * MathsSymbols.C:
12628         * form_maths_panel.C:
12629         * form_maths_panel.h:
12630         * form_maths_panel.fd: implemented sub- and super- buttons in math
12631         panel.
12632
12633         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12634         (or ^ space) to be used as in TeX (req'd by André).
12635
12636         * lyxfunc.C: Allow ^ and _ again to be used both as
12637         super/subscript (mathed) and as themselves (in text).
12638
12639 2002-01-03  Allan Rae  <rae@lyx.org>
12640
12641         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12642         "LyX" or the filename of the current buffer if it has one.  This is a
12643         modified form of John Levon's patch.
12644
12645         * XFormsView.C (setWindowTitle): also set icon title.
12646
12647         * LyXView.h (setWindowTitle): signature changed.
12648         * XFormsView.h (setWindowTitle): ditto.
12649
12650 2002-01-02  Juergen Vigna  <jug@sad.it>
12651
12652         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12653
12654 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * screen.C (topCursorVisible): introduce a temp var for
12657         text->cursor.row(), handle the case where this row is null. (kindo
12658         hachish)
12659
12660         * text2.C (setCursor): add a couple of asserts.
12661
12662         * paragraph.h (inset_iterator): add -> operator
12663
12664         * paragraph.[Ch] (autoDeleteInsets): remove member function
12665
12666         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12667         cursor pos correctly and handle inset deletion by itself.
12668         (insertErrors): move iterator declaration out of for expression
12669
12670         * lyxtextclass.C: add <algorithm>
12671
12672         * Makefile.am: added the new files to sources, removed layout.C
12673
12674         * layout.C: removed file
12675
12676         * layout.h: remove LYX_DUMMY_LAYOUT
12677
12678         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12679         layout.
12680
12681         * lyxlayout.[Ch]:
12682         * lyxtextclass.[Ch]:
12683         * lyxtextclasslist.[Ch]: new files
12684
12685         * include order changes to a lot of files, also changes because of
12686         the six new files.
12687
12688 2001-12-27  Juergen Vigna  <jug@sad.it>
12689
12690         * buffer.C (asciiParagraph): more fixes.
12691
12692         * tabular.C (ascii): make ascii export support export of only the
12693         data separated by a column-delimiter.
12694         (ascii): better support for ascii export.
12695
12696         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12697
12698 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12699
12700         * tabular_funcs.C: use a "using std::getline" instead of the
12701         previous fix from Angus (necessary for cxx + lyxstring)
12702
12703 2001-12-24  Juergen Vigna  <jug@sad.it>
12704
12705         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12706
12707         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12708         problems. First check a minipage also if we have some ert-contents
12709         (not only on par->size(), second set the right depth of the paragraph
12710         on the relink to the root-paragraph-list!
12711
12712         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12713         which then did not anymore update the main paragraphs on undo/redo!
12714
12715 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12716
12717         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12718         code. Support all font-changing funcs (even those which are not in
12719         menu currently). Support for reporting font settings in
12720         mathed (disabled until Andre provides a function on mathed's side).
12721
12722         * func_status.h (toggle): small helper function to set toggle
12723         state on a flag.
12724
12725 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12726
12727         * tabular_funcs.C: getline -> std::getline
12728
12729 2001-12-21  Juergen Vigna  <jug@sad.it>
12730
12731         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12732         accessed and could be 0 (I couldn't generate this but it seems
12733         Michael could!).
12734
12735 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12738         * tabular_funcs.h: here and include iosfwd
12739
12740 2001-12-20  Juergen Vigna  <jug@sad.it>
12741
12742         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12743         inside inset but undo_par was.
12744
12745 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12746
12747         * Thesaurus.C: always include <config.h> in sources.
12748
12749         * Painter.h:
12750         * lyxlookup.h:
12751         * box.h: do not include <config.h> in header files
12752
12753         * text.C (paintLastRow): remove unused variable
12754
12755         * text.C (transformChar):
12756         (insertChar):
12757         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12758
12759         * Painter.C (text):
12760         * font.C (width): rewrite to use uppercase() instead of
12761         islower/toupper.
12762
12763         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12764
12765 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * lyxfind.C: clean up of find failure position change
12768
12769 2001-12-20  Juergen Vigna  <jug@sad.it>
12770
12771         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12772
12773         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12774         (TeXRow): added to LaTeX a single tabular row.
12775         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12776         (Latex): simplified and finally good LT-h/f support.
12777         (various_functions): just small adaptions for LT-h/f support.
12778
12779         * tabular_funcs.[hC]: added and moved here all not classfunctions
12780         of LyXTabular.
12781
12782 2001-12-19  Juergen Vigna  <jug@sad.it>
12783
12784         * tabular.[Ch]: better support for longtabular options (not finished
12785         yet!)
12786
12787 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12788
12789         * text.C (paintLastRow): use the label font instead of the font of
12790         the last character to compute the size of *_BOX. This makes more
12791         sense and avoids a crash with empty paragraphs.
12792         Use Painter::rectangle to draw EMPTY_BOX.
12793
12794 2001-12-19  Juergen Vigna  <jug@sad.it>
12795
12796         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12797         the paragraphs if the replaced paragraph is not the first one!
12798         Tried to delete not used paragraphs but does not work yet so for
12799         now it's inside #ifdef's and by default off!
12800
12801 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12802
12803         * MenuBackend.C: include "lyx_main.h" instead of declaring
12804         lastfiles (actually was declared as LastFiles* instead of a
12805         scoped_ptr).
12806
12807 2001-12-17  Juergen Vigna  <jug@sad.it>
12808
12809         * tabular.C (AppendColumn): applied John's fix
12810
12811 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12812
12813         * BufferView.h:
12814         * BufferView.C:
12815         * BufferView_pimpl.h:
12816         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12817
12818         * Makefile.am:
12819         * box.h: new start of class for above
12820
12821         * lyxfunc.C: ignore space-only minibuffer dispatches.
12822           Show the command name when it doesn't exist
12823
12824         * minibuffer.C: don't add empty lines to the history
12825
12826         * minibuffer.C: add a space on dropdown completion
12827
12828 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12829
12830         * text.C: fix line above/below drawing in insets
12831
12832 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * lyxlength.C (LyXLength): Initialize private variables.
12835
12836 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12837
12838         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12839         when inserting error insets.
12840
12841 2001-12-13  Juergen Vigna  <jug@sad.it>
12842
12843         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12844         actually sometimes the before-paragraph.
12845         (setUndo): don't clear the redostack if we're not actually undoing!
12846
12847 2001-12-06  Juergen Vigna  <jug@sad.it>
12848
12849         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12850         and fixed redoing of main paragraph, so we can use it now ;)
12851
12852         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12853
12854 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12855
12856         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12857         Juergen's request
12858
12859 2001-12-13  André Pönitz <poenitz@gmx.net>
12860
12861         * undostack.[Ch]:
12862         * undo_func.C: minor cleanup
12863
12864 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12865
12866         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12867         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12868         font in urw-fonts package which is marked as -urw-fontspecific and
12869         does not work (incidentally, changing the encoding in the
12870         fonts.dir of this package to -adobe-fontspecific fixes the
12871         problem).
12872
12873         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12874         is a crash when undoing first paragraph (Juergen, please take a
12875         look). THis does not mean the undo fix is wrong, just that it
12876         uncovers problems.
12877
12878         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12879         the (Paragraph*) version when needed instead of duplicating the
12880         code.
12881
12882         * text.C (workWidth): use Inset::parOwner to find out where the
12883         inset has been inserted. This is a huge performance gain for large
12884         documents with lots of insets. If Inset::parOwner is not set, fall
12885         back on the brute force method
12886
12887         * paragraph_pimpl.C (insertInset):
12888         * paragraph.C (Paragraph):
12889         (cutIntoMinibuffer): set parOwner of insets when
12890         inserting/removing them
12891
12892         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12893
12894 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12895
12896         * commandtags.h:
12897         * LyXAction.C:
12898         * lyx_main.C:
12899         * lyxfunc.C:
12900         * mathed/formulabase.C:
12901         * mathed/math_cursor.[Ch]:
12902         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12903
12904
12905 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12906
12907         * lyxlength.[Ch] (operator!=): new function
12908
12909 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12910
12911         * text.C (workWidth): use Inset::parOwner to find out where the
12912         inset has been inserted. This is a huge performance gain for large
12913         documents with lots of insets. If Inset::parOwner is not set, fall
12914         back on the brute force method
12915
12916         * paragraph_pimpl.C (insertInset):
12917         * paragraph.C (Paragraph):
12918         (cutIntoMinibuffer): set parOwner of insets when
12919         inserting/removing them
12920
12921         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12922
12923 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12924
12925         * tabular-old.C (getTokenValue):
12926         * tabular.C (getTokenValue):
12927         (write_attribute): new versions for LyXLength
12928         (everywhere): adjust the use of widths
12929
12930         * tabular.h: change the type of widths from string to LyXLength
12931
12932 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12933
12934         * paragraph.C: fixed missing line number count when exporting
12935         Environments to LaTeX file
12936
12937         * buffer.C: added informational message for checking line numbers.
12938
12939 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12940
12941         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12942         paragraph, do the 'double space' part, but not the 'empty
12943         paragraph' one.
12944
12945         * text.C (workWidth): small optimization
12946         (getLengthMarkerHeight): use minimal size for negative lengths.
12947
12948 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12949
12950         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12951
12952         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12953
12954 2001-12-11  André Pönitz <poenitz@gmx.net>
12955
12956         * FontLoader.C:
12957         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12958
12959 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * text2.C: keep selection on a setFont()
12962
12963 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * lyx_cb.C: another bv->text misuse, from insert label
12966
12967 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12968
12969         * kbsequence.h:
12970         * kbsequence.C: re-instate nmodifier mask
12971
12972 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12973
12974         * lyx_main.h: make lyxGUI private.
12975
12976 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12977
12978         * lyxfind.C: place the cursor correctly on failed search
12979
12980 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * text.C (getLengthMarkerHeight): for small heights, the arrows
12983         are not always on top/bottom of the text
12984         (drawLengthMarker): smaller arrows; take the left margin in
12985         account; draw also vfills.
12986         (paintFirstRow):
12987         (paintLastRow): remove special code for vfill and standard spaces,
12988         since everything is handled in drawLengthMarker now.
12989
12990 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * buffer.C (insertErtContents): try to handle font and language
12993         interaction a bit better.g
12994
12995         * ColorHandler.C (updateColor): change the hash to cover the whole
12996         LColor enum, ws cleanup
12997         (getGCLinepars): ditto
12998         (getGCLinepars): only lookup in the linecache once.
12999
13000 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13001
13002         * iterators.C (operator++): Make the iterator more robust
13003
13004         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13005         (John's patch)
13006         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13007
13008 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13009
13010         * lyxtext.h:
13011         * text.C: better added space drawing
13012
13013 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13014
13015         * LyXView.C:
13016         * BufferView2.C: fix layout combo update on inset unlock
13017
13018 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13019
13020         * Makefile.am: don't compile unused files
13021
13022 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * lyxfunc.C:
13025         * commandtags.h:
13026         * LyXAction.C: remove old LFUN_LAYOUTNO
13027
13028 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * paragraph_pimpl.h:
13031         * paragraph_pimpl.C: isTextAt() doesn't need font param
13032
13033 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13034
13035         * lyxlex.h:
13036         * lyxlex.C: little cleanup
13037
13038 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13039
13040         * BufferView_pimpl.C: fix insertAscii for insets
13041
13042 2001-12-05  Juergen Vigna  <jug@sad.it>
13043
13044         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13045         set the right font on the "multi" paragraph paste!
13046
13047 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13048
13049         * trans_decl.h:
13050         * trans_mgr.[Ch]:
13051         * trans.[Ch]:
13052         * lyxgluelength.C:
13053         * lyxlength.C: remove out-commented code.
13054
13055         * BufferView_pimpl:
13056         * CutAndPaste.C:
13057         * DepTable.C:
13058         * buffer.C:
13059         * chset.C:
13060         * lastfiles.C:
13061         * lyxlex.C:
13062         * lyxlex_pimpl.C:
13063         * lyxserver.C:
13064         * screen.C:
13065         * tabular-old.C:
13066         * tabular.C:
13067         * text.C:
13068         * trans_mgr.C:
13069         * vc-backend.C: change "while(" to "while ("
13070
13071         * lyxlength.[Ch]: add zero function to check if length is zero or
13072         not
13073         * lyxgluelength.C: use it
13074
13075 2001-12-05  Allan Rae  <rae@lyx.org>
13076
13077         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13078         Works for 2.95.3, from what I understand of Garst's reports this should
13079         work for other g++ versions.  We're screwed if the abs(int) definition
13080         changed between bugfix releases of gcc.
13081
13082 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13083
13084         * text.C: fix chapter label offset !
13085
13086 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13087
13088         * lyxtext.h:
13089         * text.C: fix hfill at end of line, clean up
13090
13091 2001-12-04  Juergen Vigna  <jug@sad.it>
13092
13093         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13094         that we force an update of the inset and it's owners if neccessary.
13095
13096 2001-12-03  Juergen Vigna  <jug@sad.it>
13097
13098         * text.C (rowLast): simplified code
13099
13100 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * lyxfunc.C: fix show options on timeout
13103
13104 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * screen.C (topCursorVisible): scroll half a page when the cursor
13107         reached top of bottom of screen
13108
13109 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * minibuffer.C: deactivate on loss of focus
13112
13113 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * vspace.[Ch] (operator!=): add operator.
13116
13117 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13118
13119         * BufferView_pimpl.C: refuse to open an inset when
13120         there's a selection.
13121
13122 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13123
13124         * BufferView_pimpl.C: allow to click on RHS of full row insets
13125
13126 2001-11-30  Juergen Vigna  <jug@sad.it>
13127
13128         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13129         insets for undo reasons.
13130
13131 2001-11-28  André Pönitz <poenitz@gmx.net>
13132
13133         * vspace.[Ch]: cosmetical changes
13134
13135 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * LyXAction.h:
13138         * LyXAction.C:
13139         * lyxfunc.h:
13140         * lyxfunc.C:
13141         * kbmap.h:
13142         * kbmap.C:
13143         * lyxrc.C:
13144         * kbsequence.h:
13145         * kbsequence.C: part re-write of old kb code
13146
13147         * Painter.C:
13148         * WorkArea.C: remove Lgb_bug_find_hack
13149
13150 2001-11-30  José Matos <jamatos@fep.up.pt>
13151
13152         * buffer.C (makeDocBookFile): add a comment to point a hack.
13153         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13154         Fixed a double write of labels.
13155
13156 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13157
13158         * LaTeX.C:
13159         * LaTeX.h Fixed bug in LaTeX class where it would not
13160         re-run latex if no depfiles were changed, but the .dvi was removed.
13161
13162 2001-11-28  André Pönitz <poenitz@gmx.net>
13163
13164         * all the files from the change on 2001/11/26:
13165         use lyx::layout_type instead of LyXTextClass::size_type
13166         use lyx::textclass_type instead of LyXTextClassList::size_type
13167
13168 2001-11-29  Juergen Vigna  <jug@sad.it>
13169
13170         * text.C: added support for paragraph::isFreeSpacing()
13171
13172         * buffer.C: same as above
13173
13174         * paragraph.h: inserted isFreeSpacing() function to enable
13175         FreeSpacing inside InsetERT.
13176
13177         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13178         of the paragraph's in the cut/copy buffer to 0!
13179
13180         * text2.C (removeRow): remove the assert as it can!
13181
13182         * lyxtext.h: added helper function firstRow returning firstrow and
13183         made firstrow private again.
13184
13185         * BufferView2.C (lockInset): don't relock if we're already locked!
13186
13187         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13188         the only paragraph.
13189         (removeRow): added Assert::(firstrow)
13190
13191         * debug.C: forgot to add INSETTEXT here.
13192
13193 2001-11-28  Juergen Vigna  <jug@sad.it>
13194
13195         * sp_spell.C (initialize): changed error text to more general
13196         spellchecker command use (not only ispell!)
13197
13198         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13199
13200         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13201
13202 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13203
13204         * vspace.C: initialise lyxgluelength on failure
13205
13206 2001-11-28  Allan Rae  <rae@lyx.org>
13207
13208         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13209         declaration & definition that looks like a function declaration.
13210
13211 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13212
13213         * BufferView2.C (copy):
13214         (copyEnvironment): do not clear the selection when doing a copy.
13215
13216         * text.C (paintFirstRow): compilation fix
13217
13218 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13219
13220         * tabular.C (Latex): correct line count when writing latex.
13221
13222 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13223
13224         * paragraph_pimpl.h:
13225         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13226           bug a bit
13227
13228 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13229
13230         * text.C:
13231         * LColor.h:
13232         * LColor.C: change vfillline->added_space
13233
13234         * text.C: add markers and text for added space
13235
13236         * vspace.C: fix comment
13237
13238 2001-11-28  André Pönitz <poenitz@gmx.net>
13239
13240         * paragraph.C: whitespace changes
13241         * all the other files from the change on 2001/11/26:
13242         change *::pos_type into lyx::pos_type
13243
13244 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13245
13246         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13247         language of the document when inserting error insets.
13248
13249 2001-11-26  André Pönitz <poenitz@gmx.net>
13250
13251         * BufferView_pimpl.[Ch]:
13252         *       CutAndPaste.C:
13253         * buffer.[Ch]:
13254         * lyxcursor.[Ch]:
13255         * lyxfind.C:
13256         * lyxfunc.C:
13257         * lyxrow.[Ch]:
13258         * paragraph.[Ch]:
13259         * paragraph_pimpl.[Ch]:
13260         * sp_spell.C:
13261         * text.C:
13262         * text2.C: reduce header dependencies, introduce type for positions
13263
13264 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13265
13266         * <various>: change to use Alert.h
13267
13268 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13271         when encountering an unknown token.
13272         (readLyXformat2): Show an error message if there were unknown tokens.
13273
13274 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * BufferView2.C:
13277         * BufferView_pimpl.C:
13278         * buffer.C:
13279         * paragraph.h:
13280         * text.C:
13281         * text2.C: use par->isInset()
13282
13283 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13284
13285         * paragraph_pimpl.h:
13286         * paragraph_pimpl.C: cleanup
13287
13288 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13289
13290         * text2.C (removeRow):
13291         * text.C (setHeightOfRow): remove useless (and costly) call to
13292         getRow.
13293
13294 2001-11-20  Allan Rae  <rae@lyx.org>
13295
13296         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13297         Now need Inset*::checkInsertChar() to return true for appropriate
13298         cases so that the characters in the minibuffer will actually be
13299         inserted.
13300
13301 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13302
13303         * text.C: change the order of the includes.
13304         (workWidth): initialize it at once.
13305         (workWidth): make maxw unsigned
13306         (setHeightOfRow): remove unused variable (inset)
13307         (selectSelectedWord): remove unused variable (inset)
13308         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13309
13310 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13311
13312         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13313         server is not running.
13314         (openConnection):
13315         (closeConnection): add debug info when server is disabled.
13316
13317         * ColorHandler.C (getGCForeground): send debug message to GUI
13318         channel.
13319
13320         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13321
13322         * kbmap.C (bind): modify because return conventions of
13323         kb_sequence::parse have changed.
13324
13325         * kbsequence.C (parse): only ignore spaces and not any stupid
13326         control character. This avoids tests like s[i] <= ' ', which are
13327         guaranteed to fail with 8bit characters and signed chars.
13328         Change return code to string::npos when there have been no error
13329         (0 was a bad idea when error is at first character)
13330
13331 2001-11-14  José Matos  <jamatos@fep.up.pt>
13332
13333         * buffer.h:
13334         * buffer.C (simpleDocBookOnePar): removed unused argument.
13335
13336 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13337
13338         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13339         insets which are part of a word. Paragraph::isLetter takes care of
13340         that now. Use Paragraph::isInset to identify insets.
13341         (selectSelectedWord): do not test for hyphenation break.
13342
13343         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13344         that protected spaces are considered as spaces.
13345
13346         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13347         Inset::isLetter.
13348
13349 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13350
13351         * lyxserver.h:
13352         * lyxserver.C: fix it. and small cleanup.
13353
13354 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13355
13356         * BufferView_pimpl.C: use inline helpers
13357
13358         * LaTeXFeatures.h:
13359         * LaTeXFeatures.C: fix typos
13360
13361         * Spacing.h:
13362         * Spacing.C: move spacing_string into class
13363
13364         * ToolbarDefaults.C: move stuff into namespace anon
13365
13366         * layout.h: update enum
13367
13368         * lyxfunc.C: use better debug
13369
13370         * minibuffer.h: fix typo
13371
13372         * debug.h:
13373         * debug.C:
13374         * WorkArea.C: add and use Debug::WORKAREA
13375
13376         * lyxtext.h:
13377         * text.C:
13378         * text2.C: code re-organisation, inline helpers
13379
13380 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13381
13382         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13383         std::vector.empty().
13384
13385 2001-11-09  Allan Rae  <rae@lyx.org>
13386
13387         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13388         '\n's after tables.  Tabular and ERT inset work now makes this no
13389         longer necessary.
13390
13391 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * minibuffer.h:
13394         * minibuffer.C: fix crash, improve drop-down completion
13395
13396 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * lyxserver.h:
13399         * lyxserver.C: invalidate fd's when doing endPipe()
13400
13401 2001-11-08  José Matos  <jamatos@fep.up.pt>
13402
13403         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13404         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13405
13406         * paragraph.h:
13407         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13408
13409 2001-11-07  José Matos  <jamatos@fep.up.pt>
13410
13411         * buffer.h:
13412         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13413         const qualifier.
13414
13415         * buffer.C (sgmlOpenTag):
13416         * buffer.C (sgmlCloseTag): removed debug info.
13417
13418         * buffer.h (sgmlOpenTag):
13419         * buffer.h (sgmlCloseTag): made public.
13420
13421 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13422
13423         * buffer.C (saveParamsAsDefaults):
13424         * lyx_cb.C (MenuLayoutSave): remove
13425
13426         * LyXAction.C (init):
13427         * commandtags.h:
13428         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13429
13430 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13431
13432         * buffer.C (setPaperStuff): removed from here...
13433
13434         * bufferparams.C (setPaperStuff): ... and moved there.
13435
13436 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13437
13438         * minibuffer.h:
13439         * minibuffer.C:
13440         * XFormsView.C: add support for drop-down completion
13441
13442 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13445         commands.
13446
13447 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13448
13449         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13450         disabled.
13451
13452 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13453
13454         * lyx_main.C: change ref to known bugs
13455
13456 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13457
13458         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13459         to work around older babel problems.
13460
13461 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13462
13463         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13464
13465 2001-10-24  Juergen Vigna  <jug@sad.it>
13466
13467         * tabular-old.C (ReadOld): below variable changes reflected.
13468
13469         * tabular.[Ch]: added ltType struct for longtable header/footer
13470         defines and changed all instances where they are used. Added
13471         future support for double top/bottom rows.
13472
13473 2001-10-24  José Matos  <jamatos@fep.up.pt>
13474
13475         * buffer.h (docbookHandleCaption):
13476         * buffer.C (docbookHandleCaption): removed unused function.
13477         (makeDocBookFile): moved docbook supported version to v4.1.
13478
13479 2001-10-24  José Matos  <jamatos@fep.up.pt>
13480
13481         * tabular.h:
13482         * tabular.C (docbookRow): new function to export docbook code of a row.
13483         (DocBook): now honors the longtable flags.
13484
13485 2001-10-23  José Matos  <jamatos@fep.up.pt>
13486
13487         * LaTeXFeatures.h:
13488         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13489         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13490
13491         * buffer.C (makeLinuxDocFile):
13492         (makeDocBookFile): reworked the preamble, more clean, and with
13493         support for lyx defined entities. Changed the document declaration
13494         to be more XML friendly.
13495
13496         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13497         if we need to output XML that should be done with a filter.
13498
13499 2001-10-22  Juergen Vigna  <jug@sad.it>
13500
13501         * sp_pspell.h (class PSpell): add alive function needed in the
13502         controller to see if the spellchecker could be started.
13503
13504 2001-10-22  Juergen Vigna  <jug@sad.it>
13505
13506         * buffer.C (insertStringAsLines): modify the font for inserting
13507         chars in certain conditions by calling checkInsertChar(font).
13508
13509 2001-10-19  Juergen Vigna  <jug@sad.it>
13510
13511         * text.C (workWidth): use getRow instead of wrong algorithm.
13512         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13513
13514 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * lyxserver.h:
13517         * lyxserver.C:
13518         * lyx_main.h:
13519         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13520
13521 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13522
13523         * text.C (workWidth): do not search for the exact row when
13524         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13525         optimization for big documents.
13526
13527 2001-10-18  Juergen Vigna  <jug@sad.it>
13528
13529         * text.C (workWidth): new function with added Inset * parameter.
13530
13531 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13532
13533         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13534
13535         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13536         change return type of getColumnNearX.
13537
13538
13539         * text.C (changeRegionCase): use uppercase/lowercase instead of
13540         toupper/tolower.
13541         (leftMargin):
13542         (rightMargin): simplify code by factoring out the uses of
13543         textclasslist.
13544         (labelFill):
13545         (numberOfHfills):
13546         (setHeightOfRow):
13547         (appendParagraph): use Paragraph::size_type
13548
13549 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13550
13551         * vspace.C (asLatexString): add a missing break
13552
13553 2001-10-15  Herbert Voss  <voss@perce.de>
13554
13555         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13556
13557 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13558
13559         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13560         is not available.
13561
13562 2001-10-10  André Pönitz <poenitz@gmx.net>
13563
13564         * lyxfunc.C: removed greek_kb_flag.
13565
13566 2001-10-10  Herbert Voss  <voss@perce.de>
13567
13568         * lyx_main.C: delete global string help_lyxdir.
13569
13570 2001-10-09  Herbert Voss  <voss@perce.de>
13571
13572         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13573
13574         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13575
13576         * lyx_main.C: added global string help_lyxdir.
13577
13578         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13579
13580 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13581
13582         * lyxrc.C (set_font_norm_type): support iso8859-4
13583
13584 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13585
13586         * LaTeX.C (deplog): add another regex for MikTeX
13587
13588 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13589
13590         * lyxrc.C (set_font_norm_type): support iso8859-3
13591
13592 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13593
13594         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13595
13596         * LaTeXFeatures.C: remove special case of french and index
13597
13598         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13599         before \begin{document}). This solves several incompatibilities.
13600
13601 2001-10-03  Garst Reese  <reese@isn.net>
13602
13603         * lyx_cb.C: change CheckTex error msg.
13604
13605 2001-10-03  José Matos  <jamatos@fep.up.pt>
13606
13607         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13608
13609 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * .cvsignore: update
13612
13613         * lyx_main.C (commandLineVersionInfo): use new style version info.
13614
13615         * buffer.C (writeFile):
13616         (makeLaTeXFile):
13617         (makeLinuxDocFile):
13618         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13619
13620         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13621
13622         * version.h: update to use stuff in version.C
13623
13624         * version.C.in: new file. Contains version information determined
13625         at compile time. This is a merging of version.h and
13626         version_info.h.in.
13627
13628 2001-10-03  Juergen Vigna  <jug@sad.it>
13629
13630         * BufferView_pimpl.C (update): don't change "dirty" status in
13631         updateInset call.
13632
13633 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13634
13635         * WorkArea.C (c-tor): re-position version string slightly.
13636
13637 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13638
13639         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13640         revert to previous code.
13641
13642         WorkArea.[Ch]: (show, destroySplash): methods removed.
13643
13644         WorkArea.C: rework code so that it's an amalgam of the codes before and
13645         after the splash screen was moved to WorkArea.
13646
13647 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13648
13649         * lyxrc.C (read):
13650         * vspace.C (inPixels):
13651         (lyx_advance):
13652         * kbmap.C (bind):
13653         * buffer.C (insertStringAsLines):
13654         (asciiParagraph): fix types to be large enough
13655
13656         * lyxlex_pimpl.h: change member status from short to int
13657
13658         * layout.h: fix type of endlabeltype
13659
13660         * kbmap.C (bind):
13661         * kbsequence.C (parse): change return type to string::size_type
13662
13663         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13664         variable
13665
13666         * Bullet.C (bulletSize):
13667         (bulletEntry): do not use short ints as parameters
13668
13669         * BufferView2.C (insertLyXFile): change a char to an int.
13670
13671         * WorkArea.C (WorkArea): remove unneeded floats in computation
13672
13673 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13674
13675         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13676
13677         * paragraph.C (asString): Do not ignore newline/hfill chars when
13678         copying to the clipboard.
13679
13680 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13681
13682         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13683         after a multi-line inset.
13684
13685 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * paragraph.C (validate): Set NeedLyXFootnoteCode
13688
13689 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13692         and decrease-error to decrease.
13693
13694 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13695
13696         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13697         it more readable (should be equivalent)
13698
13699 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13700
13701         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13702
13703 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13704
13705         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13706         of a cursor (row, etc.) after a character has been deleted
13707         (deleteEmptyParagraphMechanism): call the method above on _all_
13708         cursors held by the LyXText when a double space has been
13709         detected/deleted.
13710
13711 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13714         pixmap.
13715         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13716
13717         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13718         background. Use greyOut() and the new show() methods to toggle between
13719         the foreground and background. Add code to remove the splash after
13720         its initial showing.
13721
13722         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13723         (create_forms): no longer call Dialogs::showSplash.
13724
13725 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13726
13727         * .cvsignore: add version_info.h
13728
13729 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13730
13731         * version_info.h.in: new file
13732
13733         * Makefile.am: add version_info.h.in
13734
13735         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13736         version_info.h instead of VERSION_INFO
13737
13738 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13739
13740         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13741         The ERT inset now returns string().
13742
13743 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13744
13745         * lyxtext.h, text.C (selectNextWord): renamed as
13746         selectNextWordToSpellcheck.
13747
13748         * text.C (selectNextWordToSpellcheck): Modified to not select
13749         words inside an ERT inset.
13750
13751 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13752
13753         * lyx_cb.C (MenuLayoutSave): change a bit the question
13754
13755         * sp_base.h: include <sys/types.h>
13756
13757 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13758
13759         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13760
13761 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13762
13763         * several files: fix typos in user-visible strings
13764
13765 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13766
13767         * text2.C (pasteSelection): do not set the selection, since it
13768         will be cleared later. Actually, the intent was to fix the way the
13769         selection was set, but I figured rmoving the code was just as good.
13770
13771 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13772
13773         * FontLoader.C (available): Check if font is available without
13774         loading the font.
13775
13776 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13777
13778         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13779
13780 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13781
13782         * lyxrc.[Ch]: added display_graphics variable and associated code.
13783
13784 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13785
13786         * bufferparams.C (hasClassDefaults): new method. Returns true if
13787         the buffer parameters correspond to known class defaults
13788
13789 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13790
13791         * XFormsView.C (show): set minimum size to the main window.
13792
13793 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13794
13795         * text2.C (copySelection):
13796         (cutSelection):
13797         * lyxfind.C (LyXReplace):
13798         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13799         LyXText::selectionAsString.
13800
13801         * paragraph.C (asString): add "label" argument to the second form
13802
13803         * text2.C (selectionAsString): add "label" argument and pass it to
13804         Paragraph::asString.
13805
13806 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13807
13808         * lyx_main.C (commandLineHelp): remove version information
13809
13810 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13811
13812         * lyx_main.C: add -version commandline option
13813
13814 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13815
13816         * paragraph.h: make the optional constructor arg required instead.
13817         some modifications to other files because of this.
13818
13819         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13820
13821         * lyxserver.C (C_LyXComm_callback): make it static
13822
13823         * lyx_main.C (error_handler): make it static
13824
13825         * lyx_gui.C (LyX_XErrHandler): make it static
13826
13827         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13828
13829         * WorkArea.C: make the extern "C" methods static.
13830
13831         * Makefile.am (lyx_LDADD): simplify
13832
13833 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13834
13835         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13836         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13837
13838         * LyXAction.C (init):
13839         * lyxfunc.C (dispatch): associated code removal.
13840
13841 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13842
13843         * lyxfont.h (isSymbolFont): shut off warning
13844
13845         * text.C (setHeightOfRow):
13846         (getVisibleRow): fix crash with empty paragraphs which have a
13847         bottom line
13848
13849 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13850
13851         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13852         code.
13853
13854 2001-09-04  José Matos  <jamatos@fep.up.pt>
13855         * buffer.C
13856         * buffer.h
13857         * tabular.C (docbook): rename docBook method to docbook.
13858
13859 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13860
13861         * Makefile.am: add dependencies to main.o.
13862
13863 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13864
13865         * FontLoader.C (available): Return false if !lyxrc.use_gui
13866
13867 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13868
13869         * FontInfo.C (query):
13870         * converter.C (view):
13871         * importer.C (Import):
13872         * exporter.C (Export): Can not -> cannot.
13873
13874 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * BufferView_pimpl.C: allow to create index inset even if
13877           string is empty
13878
13879 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13880
13881         * buffer.C (getLists): replace boost::tie code with an explicit pair
13882         as boost::tie can break some compilers.
13883
13884         * iterators.h: Added a std:: declaration to the return type of
13885         ParIterator::size.
13886
13887 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13888
13889         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13890           case.
13891
13892 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13893
13894         * iterators.[Ch]: New files. Provide paragraph iterators.
13895
13896         * buffer.C (changeLanguage): Use paragraph iterators.
13897         (isMultiLingual): ditto
13898
13899         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13900
13901 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13902
13903         * FontLoader.C: Support for cmr font.
13904
13905 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13908         (available): New method.
13909
13910         * FontInfo.C (getFontname): Use scalable fonts even when
13911         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13912         found.
13913
13914 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13915
13916         * converter.C (Formats::view): reverted! Incorrect fix.
13917
13918 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13919
13920         * converter.C (Formats::view): only output the -paper option
13921         if the dvi viewer is xdvi, thereby fixing bug #233429.
13922
13923 2001-08-23  Herbert Voss  <voss@perce>
13924
13925         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13926
13927 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13928
13929         * Spacing.h (Spacing): Set space to Default on in the default
13930         constructor.
13931
13932 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * vc-backend.h (RCS::versionString): add RCS to version
13935         (CVS::versionString): add CVS to version
13936
13937         * vc-backend.C (scanMaster): do not add CVS to version.
13938         (scanMaster): do not add RCS to version
13939
13940         * lyxvc.C (versionString): new method
13941
13942         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13943
13944 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13945
13946         * Spacing.C (set): initialize fval
13947
13948 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13949
13950         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13951         " or \.
13952
13953 2001-08-16  Juergen Vigna  <jug@sad.it>
13954
13955         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13956
13957 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * BufferView_pimpl.C:
13960         * figureForm.C:
13961         * lyxtext.h:
13962         * text2.C: setParagraph takes linespacing now
13963
13964 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * LyxAction.C: add internal LFUN_CITATION_INSERT
13967
13968         * LyXView.C: actually apply fix
13969
13970         * bufferlist.C: fix open non-existent file
13971
13972         * lyxfind.C: fix indentation
13973
13974         * lyxfunc.C: remove unneeded assert, fix typo
13975
13976 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13977
13978         * MenuBackend.C: use "Floatname List"
13979
13980 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13981
13982         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13983         when converting LaTeX layout to insetERT.
13984         Generate a non-collapsed float when reading old float
13985
13986 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13987
13988         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13989         ERT insets.
13990
13991 2001-08-13  Juergen Vigna  <jug@sad.it>
13992
13993         * text.C (fill): return 0 instead of 20 as this seems to be the more
13994         correct value.
13995
13996 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13997
13998         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13999         lyxrc.font_norm.
14000
14001 2001-08-13  Juergen Vigna  <jug@sad.it>
14002
14003         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14004         casesensitive off.
14005         (SearchBackward): comment out the unlocking of the inset_owner this
14006         should not be needed!
14007
14008 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14009
14010         * Many files: Remove inherit_language, and add latex_language
14011
14012         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14013         collapsible insets.
14014
14015 2001-08-10  Juergen Vigna  <jug@sad.it>
14016
14017         * text.C (prepareToPrint): fixed hfill-width in draw!
14018
14019         * BufferView2.C (selectLastWord): save the selection cursor as this
14020         now is cleared in the function LyXText::clearSelection!
14021
14022 2001-08-08  Juergen Vigna  <jug@sad.it>
14023
14024         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14025         BACKSPACE type functions.
14026
14027         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14028         is only cutted from the document but not put in the cut-buffer, where
14029         still the old stuff should be.
14030
14031         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14032
14033         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14034
14035         * tabular.C (SetWidthOfCell): fixed special case where the width
14036         was not updated!
14037         (LeftLine): handle '|' in align_special.
14038         (RightLine): ditto
14039         (LeftAlreadyDrawed): ditto
14040         (SetWidthOfCell): ditto
14041
14042 2001-08-07  Juergen Vigna  <jug@sad.it>
14043
14044         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14045
14046 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14047
14048         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14049         * lyxlex.[hC]: ditto
14050
14051 2001-08-06  Juergen Vigna  <jug@sad.it>
14052
14053         * text.C (getVisibleRow): fix up row clearing a bit.
14054
14055 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * minibuffer.C: make sure the X server sees the changes in the input.
14058
14059 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14060
14061         * paragraph.C (getFont): split into...
14062         (getLabelFont): this
14063         (getLayoutFont): and this
14064         * paragraph_pimpl.C (realizeFont): calling this
14065
14066         * text2.C (getFont): split into...
14067         (getLayoutFont): this
14068         (getLabelFont): and this
14069         (realizeFont): all three calling this
14070
14071         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14072         files where used.
14073
14074 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14075
14076         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14077
14078 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14079
14080         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14081         layouts from the Quote inset insertion.
14082
14083 2001-08-03  Juergen Vigna  <jug@sad.it>
14084
14085         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14086
14087         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14088         only if status not is already CHANGED_IN_DRAW (second level).
14089
14090         * text.C (draw): don't set the need_break_row when inside an
14091         InsetText LyXText.
14092
14093 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14094
14095         * buffer.C (parseSingleLyXformat2Token): handle more latex
14096         conversion cases.
14097
14098         * bufferview_funcs.[hC]: change function names to
14099         begin with small char, adjust other files.
14100
14101 2001-08-02  André Pönitz <poenitz@gmx.net>
14102
14103         * lyxfunc.C:
14104         BufferView_pimpl.C: remove broken special code for math-greek
14105
14106 2001-08-02  Juergen Vigna  <jug@sad.it>
14107
14108         * BufferView_pimpl.C (update): redone this function so that we
14109         update the text again if there was a CHANGE_IN_DRAW.
14110
14111         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14112         (drawFromTo): added a new internal bool which is used by draw() and
14113         redraw() function.
14114         (general): some cursor drawing problems fixed.
14115
14116 2001-08-01  Juergen Vigna  <jug@sad.it>
14117
14118         * lyxfind.C (LyXFind): fixed
14119         (SearchForward): ditto
14120         (SearchBackward): ditto
14121
14122         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14123         spurius drawing of the cursor in the main area.
14124
14125         * text2.C (status): small fix which could lead to a segfault!
14126         (clearSelection): remove unneeded BufferView param.
14127
14128 2001-08-01  André Pönitz <poenitz@gmx.net>
14129
14130         * lyxfunc.C: small change due to changed mathed interface
14131
14132 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14133
14134         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14135
14136 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * lyxfunc.c: fail gracefully if file doesn't exist
14139
14140         * LyXSendto.C:
14141         * buffer.C:
14142         * lyxfunc.C:
14143         * BufferView_pimpl.C: IsDirWriteable() proto changed
14144
14145         * LyXView.C: fix updateWindowTitle() to store the last title
14146
14147 2001-07-31  Juergen Vigna  <jug@sad.it>
14148
14149         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14150         the font (wrong since using of Paragraph::highestFontInRange).
14151
14152         * paragraph.C (highestFontInRange): added a default_size parameter.
14153
14154         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14155         (setHeightOfRow): reformat
14156
14157 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14158
14159         * converter.[hC] + affected files: move to (inital-char)lowercase
14160         function names.
14161
14162         * ParagraphParameters.C (ParagraphParameters): remove commented code
14163
14164         * PainterBase.[Ch]: remove commented code
14165
14166         * LaTeXFeatures.h: add "bool floats" for float.sty
14167
14168         * LaTeXFeatures.C (LaTeXFeatures): init floats
14169         (require): handle float
14170         (getPackages): do it with floats
14171
14172 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14173
14174         * BufferView_pimpl.C (Dispatch): improve handling of
14175         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14176
14177         * commandtags.h: #include lyxfont.h here temporarily to avoid
14178         keybinding bug.
14179
14180         * bufferlist.h: include LString.h here.
14181
14182 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14183
14184         * text2.C (getStringToIndex): new method.
14185
14186 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14187
14188         * *: Reduced header file dependencies all over.
14189
14190 2001-07-30  Baruch Even  <baruch@lyx.org>
14191
14192         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14193
14194 2001-07-29  Baruch Even  <baruch@lyx.org>
14195
14196         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14197
14198 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14199
14200         * ParameterStruct.h (endif): add a default constructor to make
14201         sure that all variables is initialized.
14202
14203         * ParagraphParameters.C (ParagraphParameters): adjust
14204
14205 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14206
14207         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14208         index; also, check that there is something to index, and that it
14209         does not span over several paragraphs.
14210         (doubleClick): use WHOLE_WORD_STRICT for double click.
14211
14212         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14213
14214         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14215         scheme.
14216
14217 2001-07-26  Baruch Even  <baruch@lyx.org>
14218
14219         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14220         an InsetFig figure, backwards compatible reading of old figure code.
14221
14222 2001-07-27  Juergen Vigna  <jug@sad.it>
14223
14224         * text2.C: font.realize function adaption.
14225
14226         * text.C (draw): add a warnings lyxerr text if needed.
14227
14228         * layout.C: font.realize function adaption.
14229
14230         * language.C: add inherit_language and implement it's handlings
14231
14232         * bufferview_funcs.C (StyleReset): remove language parameter from
14233         font creation (should be language_inherit now).
14234
14235         * bufferparams.C (writeFile): handle ignore_language.
14236
14237         * paragraph.C (getFontSettings): the language has to be resolved
14238         otherwise we have problems in LyXFont!
14239
14240         * lyxfont.C (lyxWriteChanges): added document_language parameter
14241         (update): removed unneeded language parameter
14242
14243         * paragraph.C (validate): fixed wrong output of color-package when
14244         using interface colors for certain fonts in certain environments,
14245         which should not seen as that on the final output.
14246
14247 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14248
14249         * BufferView_pimpl.C:
14250         * Thesaurus.h:
14251         * Thesaurus.C:
14252         * Makefile.am:
14253         * commandtags.h:
14254         * LyXAction.C: add thesaurus support
14255
14256         * lyxfind.h:
14257         * lyxfind.C: add "once" parameter, for thesaurus, to not
14258           move to the next match
14259
14260 2001-07-26  Juergen Vigna  <jug@sad.it>
14261
14262         * lyxfont.C (realize): honor ignore_language too!
14263         (resolved): ditto.
14264
14265         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14266
14267         * text.C (draw): one place more for ignore_language to not draw
14268         itself!
14269
14270 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14271
14272         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14273
14274 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14277         the minipage conversion problem.
14278
14279 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14282         insert an inset.
14283
14284 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14285
14286         * BufferView.h: don't forward declare WorkArea
14287
14288         * BufferView.C: don't include WorkArea.h
14289
14290 2001-07-25  André Pönitz <poenitz@gmx.net>
14291
14292         * commandtags.h:
14293         * LyXAction.C:
14294         * lyxfunc.C:  new LFUN 'math-space'
14295
14296         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14297
14298 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14299
14300         * text2.C (toggleInset): call open/close
14301
14302 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14303
14304         * lyxfunc.C (dispatch): add debug for the disabled case
14305
14306         * font.C (buttonText): make similar to rectText
14307
14308         * buffer.C (readInset): comment out parsing of insetlist and
14309         insttheorem
14310
14311         * PainterBase.C (rectText): small correction
14312
14313         * BufferView_pimpl.C: comment out insettheorem and insetlist
14314         * LyXAction.C: ditto
14315         * commandtags.h: ditto
14316
14317 2001-07-24  Juergen Vigna  <jug@sad.it>
14318
14319         * text.C (draw): honor the ignore_language.
14320
14321         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14322
14323 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14324
14325         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14326         char inset.
14327
14328 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14329
14330         * lyxtext.h: remove unused (and unimplemented) methods
14331
14332 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14333
14334         * text.C (getVisibleRow): honor background color
14335
14336         * PainterBase.h:
14337         * Painter.h: remove default color argument for fillRectangle
14338
14339         * text.C (backgroundColor): new method
14340
14341 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14342
14343         * text.C (getVisibleRow): adjust
14344
14345         * font.[Ch] (rectText): new method, metrics
14346         (buttonText): new method, metrics
14347
14348         * PainterBase.[hC]: make rectText and buttonText always draw and take
14349         fewer paramteres.
14350
14351 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14352
14353         * ToolbarDefaults.C (read):
14354         * MenuBackend.C (read): allow escaping in all strings
14355
14356         * BufferView_pimpl.C (insertAndEditInset): new method.
14357         (Dispatch): use insertAndEditInset whenever appropriate.
14358
14359         * BufferView_pimpl.C (insertNote): removed
14360
14361         * BufferView_pimpl.C (smartQuote): new method, moved from
14362         BufferView; if an insetquote cannot be inserted, insert a '"'
14363         character instead.
14364
14365         * BufferView2.C: remove insertCorrectQuote();
14366
14367         * lyxfunc.C (getStatus): Add support for all remaingin
14368         inset-insert lfuns.
14369
14370         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14371
14372         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14373         command (necessary to pass " as parameter of self-insert.
14374
14375         * text.C (selectWordWhenUnderCursor):
14376         (selectWord): add word_location parameter
14377         (selectWordWhenUnderCursor): same + remove special code for word
14378         boundary.
14379         (selectNextWord): use kind() to guess type of insetspecialchar,
14380         not latex().
14381
14382         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14383         (insertErtContents): create ert insets as collapsed.
14384         (readInset): better compatibility code for Info inset.
14385
14386 2001-07-20  Juergen Vigna  <jug@sad.it>
14387
14388         * lyxfunc.C (dispatch): use always LyXFind now!
14389
14390         * text2.C (init): add a reinit flag so that the LyXText can be
14391         reinited instead of deleted and reallocated (used in InsetText).
14392
14393         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14394
14395         * text.C: ditto
14396
14397         * text2.C: ditto
14398
14399 2001-07-18  Juergen Vigna  <jug@sad.it>
14400
14401         * text.C (selectNextWord): handle insets inside inset by calling
14402         always the bv->text functions so that we can go up the_locking_inset!
14403
14404         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14405         in strange locations when inside an inset!
14406
14407         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14408         handling to include insets.
14409
14410         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14411
14412 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14413
14414         * LyXAction.C (init):
14415         * commandtags.h:
14416         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14417         LIGATURE_BREAK, since the name is so stupid.
14418
14419 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14420
14421         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14422         InsetInfos.
14423
14424         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14425
14426         * sp_form.[Ch]: remove.
14427
14428         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14429
14430         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14431         InsetInfo.
14432
14433         * src/buffer.C (readInset): ditto.
14434
14435 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14436
14437         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14438         menuSeparator(), endOfSentenceDot(), ldots() and
14439         hyphenationPoint(), which are therefore removed.
14440         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14441
14442         * LyXAction.C (init):
14443         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14444
14445         * paragraph.C (getWord): removed.
14446
14447         * BufferView_pimpl.C (Dispatch): use last word or selection for
14448         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14449
14450         * lyx_main.C (queryUserLyXDir): do not ask before creating
14451         user_dir, except if it has been named explicitely.
14452
14453 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14454
14455         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14456         a document of zero size.
14457
14458 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14459
14460         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14461         approriately in the c-tor and in require().
14462         (getPackages): output the appropriate LaTeX for natbib support.
14463
14464         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14465         variables "use_natbib" and "use_numerical_citations" when reading the
14466         LyX file.
14467         (readInset): read the various natbib cite commands.
14468         (validate): white-space change.
14469
14470         * bufferparams.[Ch]: new variables "bool use_natbib" and
14471         "bool use_numerical_citations".
14472         (writeFile): output them in the LyX file.
14473
14474 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14475
14476         * lyxfunc.C (getStatus): add support for all the inset insertion
14477         commands.
14478
14479         * text2.C (insertInset):
14480         * paragraph.C (insetAllowed):
14481         * BufferView_pimpl.C (insertInset): update to take in account the
14482         renaming of insertInsetAllowed
14483
14484         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14485
14486         * text2.C (getInset): new method. returns inset at cursor position.
14487
14488         * BufferView_pimpl.C (Dispatch): changes because of this.
14489
14490         * LyXAction.C (init): rename open-stuff to inset-toggle.
14491
14492         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14493
14494         * text2.C (toggleInset): renamed from openStuff; use
14495         Inset::open().
14496
14497 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14498
14499         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14500
14501         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14502
14503 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14504
14505         * buffer.C (readLyXformat2): Add filename to the error dialog
14506
14507 2001-07-18  Juergen Vigna  <jug@sad.it>
14508
14509         * tabular.C (GetCellNumber): put an assert here instead of the check!
14510
14511 2001-07-17  Juergen Vigna  <jug@sad.it>
14512
14513         * BufferView_pimpl.C (toggleSelection): adapted too.
14514
14515         * text.C (selectNextWord): adapted for use with insets.
14516         (selectSelectedWord): ditto
14517
14518 2001-07-17  Juergen Vigna  <jug@sad.it>
14519
14520         * sp_spell.C (PSpell): fix initialitation order.
14521
14522 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14523
14524         * paragraph.C: spacing
14525
14526 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14527
14528         * sp_spell.C: repair language selection for pspell
14529
14530 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14531
14532         * lyxfunc.h: change more methods to begin with lower char.
14533
14534 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14535
14536         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14537         for unknown layouts.
14538
14539 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14540
14541         * buffer.C (readLyXformat2): Generate an error dialog if there are
14542         unknown layouts.
14543
14544 2001-07-16  Juergen Vigna  <jug@sad.it>
14545
14546         * sp_spell.C: always compile ISpell part.
14547
14548         * lyxrc.C: added use_pspell entry and it's handling.
14549
14550 2001-07-13  Juergen Vigna  <jug@sad.it>
14551
14552         * sp_spell.C: removed double includes.
14553
14554 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14555
14556         Consistent use of Lsstream.h:
14557         * Lsstream.h: added using std::stringstream for consistencies sake.
14558
14559         * buffer.C: removed using std::stringstream
14560
14561         * lyxfont.C (stateText):
14562         * paragraph.C (asString):
14563         * text.C (selectNextWord, selectSelectedWord):
14564         * text2.C (setCounter):
14565         * vspace.C (asString, asLatexString):
14566         std::ostringstream -> ostringstream.
14567
14568 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14569
14570         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14571         * commandtags.h: add LFUN_HELP_ABOUTLYX
14572         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14573
14574 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14575
14576         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14577         cursorToggle()
14578         * lyx_gui_misc.C: remove spellchecker
14579         * lyxfunc.C: showSpellchecker
14580         * sp_base.h: added
14581         * sp_ispell.h: added
14582         * sp_pspell.h: added
14583         * sp_spell.C: added
14584         * sp_form.[Ch]: removed
14585         * spellchecker.[Ch]: removed
14586
14587 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14588
14589         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14590         is set.
14591         (simpleTeXSpecialChars): Simply print the input character without
14592         any special translation if pass_thru is set.
14593
14594         * layout.h: Added bool pass_thru to layout class for being able to
14595         implement pass through of a paragraph for Literate Programming.
14596
14597         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14598         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14599         * layout.C (Read): add "passthru" to list of layout tags and add
14600         code to set the pass_thru boolean when it is read.
14601
14602 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14603
14604         * trans_decl.h: remove allowed from KmodInfo
14605
14606         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14607         remove allowed code
14608         (Load): adjust
14609
14610         * paragraph_pimpl.C (erase): use boost::prior
14611
14612         * Painter.C (text): use data() instead of c_str() when length is
14613         also provided.
14614         * WorkArea.C (putClipboard): ditto
14615         * font.h (width): ditto
14616
14617         * BufferView2.C: use it-> instead of (*it). for iterators
14618         * texrow.C: ditto
14619         * paragraph_pimpl.C: ditto
14620         * paragraph.C: ditto
14621         * minibuffer.C: ditto
14622         * language.C: ditto
14623         * kbmap.C: ditto
14624         * encoding.C: ditto
14625         * counters.C: ditto
14626         * converter.C: ditto
14627         * chset.C: ditto
14628         * Variables.C: ditto
14629         * TextCache.C: ditto
14630         * MenuBackend.C: ditto
14631         * LyXAction.C: ditto
14632         * LColor.C: ditto
14633         * FloatList.C: ditto
14634         * DepTable.C: ditto
14635         * ColorHandler.C (LyXColorHandler): ditto
14636
14637 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14640
14641         * text2.C (openStuff): reintroduce this method (which had been
14642         nuked in NEW_INSETS frenzy).
14643
14644         * lyxfunc.C (Dispatch): when an action has not been handled, use
14645         its name in the error message, not its number.
14646
14647         * paragraph.C (inInset): change method name to begin with lowercase.
14648
14649         * undo_funcs.C:
14650         * text2.C: updates because of this.
14651
14652 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14653
14654         * ToolbarDefaults.C (add): add spaces in error message
14655
14656 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14659         (readLyXformat2): rename return_par to first_par, use lyxlex's
14660         pushToken and remove the manual push handling.
14661         (parseSingleLyXformat2Token): add another ert comp. variable:
14662         in_tabular, rename return_par to first_par. handle newlines better
14663
14664 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14665
14666         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14667
14668 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14669
14670         * text2.C (getParFromID): removed
14671
14672         * buffer.C (getParFromID): new method moved form lyxtext.
14673         * BufferView2.C (insertErrors): adjust
14674         (setCursorFromRow): adjust
14675         * BufferView_pimpl.C (restorePosition): adjust
14676         * lyxfunc.C (Dispatch): adjust
14677         * undo_funcs.C (textUndo): adjust
14678         (textRedo): adjust
14679         (textHandleUndo): adjust
14680         (textHandleUndo): adjust
14681
14682 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14683
14684         * buffer.C: up' the LYX_FORMAT
14685
14686         * lyxfont.h: turn NO_LATEX on as default
14687
14688         * buffer.C (insertErtContents): new methods of tex style compability.
14689         (parseSingleLyXformat2Token): use it several places.
14690         * tabular.C (OldFormatRead): and here
14691
14692 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14693
14694         * text2.C: remove some commented code.
14695         reindent file.
14696
14697         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14698         * trans.C: changes because of the above.
14699
14700 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14701
14702         * text2.C (setCounter): Fix counters bug with bibliography layout.
14703
14704 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14705
14706         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14707         own member functions
14708         (simpleTeXSpecialChars): ditto
14709
14710 2001-07-06  Juergen Vigna  <jug@sad.it>
14711
14712         * a lot of files: changed the access to LyXText::status and the
14713         call of undo-functions.
14714
14715         * undo.[Ch]: added a inset_id to the undo informations.
14716
14717         * undo_funcs.[Ch]: added and moved here all undo functions.
14718
14719         * lyxtext.h: give the status enum a weight, made status_ a private
14720         variable and made accessor functions for it, removed the whole bunch
14721         of undo-functions as they are now in their own file, make some
14722         functions publically available. Added function ownerParagraph with
14723         int parameter.
14724
14725         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14726         made InInset() a const function, added getParFromID() function.
14727
14728         * buffer.[Ch]: added const version for inset_iterator functions,
14729         added getInsetFromID() function.
14730
14731         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14732         changed undo functions for new version.
14733
14734 2001-07-05  Juergen Vigna  <jug@sad.it>
14735
14736         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14737         unknow mechanism does not call the proper constructor but only this
14738         one also if I request the other!?
14739
14740 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14741
14742         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14743
14744         * text2.C (LyXText): use initialization lists.
14745
14746         * lyxtext.h (Selection): initialize set_ and mark_
14747         (init): remove method
14748
14749 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14750
14751         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14752
14753 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14754
14755         * screen.[Ch]: change method names to begin with lowercase
14756
14757         * BufferView_pimpl.C (updateScrollbar): simplify further and
14758         hopefully make it a bit faster.
14759
14760 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14761
14762         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14763         calling directly xforms functions.
14764
14765         * Painter.C (Painter):
14766         * lyx_cb.C (MenuWrite):
14767         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14768         fl_display.
14769
14770         * lyx_gui.C: remove bogus guiruntime extern declaration.
14771
14772 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14775         in NEW_INSETS
14776         (redoDrawingOfParagraph): ditto
14777         (redoParagraphs): ditto
14778         (cutSelection): don't create a object for CutAndPaste use the
14779         static method directly
14780         (pasteSelection): ditto
14781
14782         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14783         LyXview (+ rename)
14784
14785 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14786
14787         * modifications to some other files because of this.
14788
14789         * Makefile.am (lyx_SOURCES): add XFormsView
14790
14791         * XFormsView.[Ch]: new files
14792
14793         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14794         the main window. Move the gui dependent stuff to XFormsView
14795
14796 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14797
14798         * tabular.C (GetCellInset): update cur_cell also in the row/col
14799         version of this function.
14800
14801         * lyxfunc.C: no need to include figure_form.h here.
14802
14803         * FontLoader.h:
14804         * lyxfunc.h:
14805         * lyxscreen.h:
14806         * text2.C:
14807         * lyxvc.C: no need to include forms.h here.
14808
14809 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14810
14811         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14812
14813         * lyxfunc.C (Dispatch):
14814         * Spacing.C (set):
14815         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14816         constructor argument.
14817
14818 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14819
14820         * paragraph.C (Paragraph): dont't clear, and just set layout.
14821         (makeSameLayout): use params's copy contructor.
14822
14823         * ParagraphParameters.[Ch] (makeSame): delete method
14824
14825 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14826
14827         * Variables.[Ch]: fix indentation, rename set to isSet
14828
14829 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * lyxfunc.C (Dispatch): fix typo
14832
14833 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14834
14835         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14836         upper_bound.
14837
14838         * bufferlist.C: include assert.h for emergencyWrite().
14839
14840 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14843           give up at last (bug #425202) !
14844
14845 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14846
14847         * lyx_gui_misc.C:
14848         * sp_form.h:
14849         * sp_form.C:
14850         * spellchecker.h:
14851         * spellchecker.C: strip spellchecker options and bring up
14852           preferences tab instead
14853
14854 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14855
14856         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14857         the istringstream constructor
14858
14859 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * paragraph.C (getLayout): fix return value
14862
14863         * paragraph.h: do not declare getLayout as inline.
14864
14865         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14866
14867 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14868
14869         * lyxcursor.h (operator<): new func
14870         (operator>): new func
14871         (operator>=): new func
14872         (operator<=): new func
14873
14874         * text.C (changeCase): use selection.start and selection.end
14875         (changeRegionCase): require from to be <= to. Require par to be a
14876         valid paragraph.
14877
14878         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14879
14880 2001-06-27  Juergen Vigna  <jug@sad.it>
14881
14882         * text.C (cursorLeftOneWord): changed to return the cursor and added
14883         overlay with BufferView * parameter which calls this one.
14884         (getWord): added
14885         (selectWord): use new getWord function.
14886         (changeCase): renamed from changeWordCase as and extended to work
14887         also on selections.
14888
14889         * lyxtext.h: added enum word_location
14890
14891         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14892         changeCase as this operates now also on selections.
14893
14894 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14895
14896         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14897
14898         * many files: send debug output to Debug::INFO instead of
14899         Debug::ANY.
14900
14901         * converter.C (View):
14902         (Convert):
14903         (Move): send debug output to Debug::FILES instead of console.
14904
14905 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14906
14907         * lyxfunc.C (getStatus): use func_status
14908
14909         * func_status.h: new header, describing the results of
14910         LyXFunc::getStatus;
14911
14912         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14913         LFUN_MATH_HALIGN.
14914
14915 2001-06-25  The LyX Project  <jug@sad.it>
14916
14917         * buffer.C (sgmlOpenTag):
14918         (sgmlCloseTag):
14919         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14920
14921 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14922
14923         * text2.C: remove some dead code
14924
14925         * tabular.C (GetCellInset): store the last cell checked (gotten)
14926
14927         * tabular.h: add the helper for the speedup
14928
14929         * lyxtext.h: remove some dead code
14930
14931 2001-06-26  The LyX Project  <Asger>
14932
14933         * paragraph.C: Change export to LaTeX of alignment to
14934         \begin{center} and family for better roundtrip work with reLyX.
14935
14936         * Tune the math drawing a bit.
14937
14938 2001-06-25  The LyX Project  <Asger>
14939
14940         * LColor.C (LColor): New color for math background. New color
14941         for buttons.
14942
14943 2001-06-25  The LyX Project  <jug@sad.it>
14944
14945         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14946
14947         * lyxfunc.C (Open):
14948         * bufferlist.C (newFile): do not restrict to files ending with
14949         .lyx
14950
14951         * BufferView_pimpl.C (MenuInsertLyXFile):
14952
14953 2001-06-24  The LyX Project  <jug@sad.it>
14954
14955         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14956         of compare_no_case
14957
14958 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14959
14960         * lyxtext.h: rename most methods to begin with a small char.
14961         Lots of changes because of this.
14962
14963         * paragraph.C (Paragraph): do not call fitToSize
14964         (erase): call Pimpl::erase
14965         (insertChar): call Pimpl::insertChar
14966         (insertInset): call Pipl::insertInset
14967         (breakParagraph): do not call fitToSize
14968         (breakParagraphConservative): do not call fitToSize
14969         (fitToSize): remove method
14970
14971         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14972
14973 2001-06-24  The LyX Project  <Asger>
14974
14975         * Fix Qt compilation^2
14976
14977 2001-06-24  The LyX Project  <jug@sad.it>
14978
14979         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14980         depthHook(getDepth()-1).
14981
14982         * paragraph.h:
14983         * ParagraphParameters.h:
14984         * ParameterStruct.h: change type of depth to unsigned int ==
14985         depth_type. Many adaptations to other files before of that.
14986
14987 2001-06-24  The LyX Project  <Asger>
14988
14989         * Fix Qt compilation.
14990
14991 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14992
14993         * paragraph.h: renamed several methods to begin with small letter.
14994         several changes to many parts of the code because of this.
14995
14996 2001-06-23  The LyX Project  <jug@sad.it>
14997
14998         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14999         rewritten to discard all double spaces when KeepEmpty is off
15000         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15001         to only handle newlines but not fiddle with spaces and friends.
15002
15003         * lyxfunc.C (MenuNew): when doing 'new from template', use
15004         template_path as default directory
15005
15006 2001-06-23  The LyX Project  <Asger>
15007
15008         * Clean-up of header file includes all over
15009         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15010
15011 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15012
15013         * paragraph.h: renamed from lyxparagraph.h
15014
15015 2001-06-23  Asger  <lyx@violet.home.sad.it>
15016
15017         * Buffer.h: Removed Buffer::resize
15018         * BufferList.h: Removed BufferList::resize
15019         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15020         the document lazily when we change the width, or the font settings.
15021
15022 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15023
15024         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15025
15026 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15027
15028         * buffer.h: remove out of date comment
15029
15030 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15031
15032         * lyxscreen.h:
15033         * screen.C: fix "theoretical" GC leak
15034
15035 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15036
15037         * LaTeX.C (scanAuxFile):
15038         (deplog): remove trailing \r when reading stream (useful under
15039         win32)
15040
15041 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15042
15043         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15044         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15045         and BufferView::theLockingInset(Inset*), so should use them and not
15046         access bv_->text->the_locking_inset directly.
15047
15048         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15049
15050 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15051
15052         * Makefile.am:
15053         * tex-defs.h: remove old unused file
15054
15055 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15056
15057         * BufferView_pimpl.C: fix typo, remove minibuffer message
15058           when buffer has loaded
15059
15060 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15061
15062         * lyxfunc.C (Dispatch): use stringstream
15063         (MenuNew): use stringstream
15064         (Open): use stringstream
15065
15066         * importer.C (Import): use stringstream
15067
15068         * bufferview_funcs.C (CurrentState): use stringstream
15069
15070         * LaTeX.C (run): use stringstream
15071
15072         * BufferView_pimpl.C (savePosition): use stringstream
15073         (restorePosition): use stringstream
15074         (MenuInsertLyXFile): use stringstream
15075
15076 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15077
15078         * BufferView.C:
15079         * Bullet.C:
15080         * ColorHandler.C:
15081         * FontInfo.C:
15082         * FontLoader.C:
15083         * LColor.C:
15084         * LaTeXFeatures.C:
15085         * Painter.C:
15086         * gettext.C:
15087         * lyx_gui_misc.C:
15088         * lyxserver.C:
15089         * vspace.C: removed // -*- C++ -*- as first line.
15090
15091         * lyxfind.h:
15092         * version.h: added // -*- C++ -*- as first line.
15093
15094 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15095
15096         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15097
15098         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15099         of string
15100
15101 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15104         of floats.
15105
15106 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15107
15108         * gettext.C: include LString.h even when --disable-nls is on.
15109
15110 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15111
15112         * converter.h (Get): changed argument type from int to
15113         FormatList::size_type to avoid unnecessary conversion.
15114
15115         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15116         before using it.
15117
15118 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15119
15120         * gettext.h: include LString.h even when --disable-nls is on.
15121
15122 2001-06-07  Juergen Vigna  <jug@sad.it>
15123
15124         * text.C (BreakAgain): subst spaces with tabs.
15125
15126         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15127         (resizeInsetsLyXText): set force on resizeLyXText.
15128
15129 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * gettext.h (gettext_init):
15132         (locale_init): use a real definition instead of a macro
15133
15134 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * Bufferview_pimpl.C:
15137         * LColor.h:
15138         * LColor.C: further lcolor tidies
15139
15140 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15141
15142         * BufferView_pimpl.C (updateScrollbar): simplify.
15143
15144         * BufferView2.C: don't include insets/insetinfo.h, change
15145         prototype for insertInset and call the Pimpl version. let
15146         updateInset call Pimpl version.
15147
15148         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15149         gotoInset to BufferView::Pimpl
15150
15151 2001-06-01  Juergen Vigna  <jug@sad.it>
15152
15153         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15154         inside a LockingInset (is the update needed at all?).
15155
15156 2001-05-31  Juergen Vigna  <jug@sad.it>
15157
15158         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15159         here not the old one otherwise how should we compare it afterwards
15160         if it's the same!
15161
15162 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * lyxfont.C:
15165         * tabular.C:
15166         * tabular-old.C:
15167         * FontInfo.C: bring C functions into global namespace when
15168         necessary
15169
15170 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * LString.h: make sure config.h has been loaded before LString.h.
15173
15174         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15175         (one for each char read by EatLine!).
15176
15177         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15178         variables.
15179
15180 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15181
15182         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15183         to the same as the par we break from
15184
15185 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15186
15187         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15188
15189         * MenuBackend.C (expand): also create menu entries for wide
15190         versions of the floats.
15191
15192         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15193
15194         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15195
15196         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15197         frontends/Makefile.am
15198
15199         * text2.C: adjust
15200         * text.C: adjust
15201
15202
15203         * tabular.C (getTokenValue): add std::
15204
15205         * tabular-old.C (getTokenValue): add std::
15206         (getTokenValue): ditto
15207         (getTokenValue): ditto
15208
15209         * screen.C (ToggleSelection): adjust
15210
15211         * lyxtext.h: put selection cursors inside a Selection struct.
15212
15213         * lyxfunc.C (moveCursorUpdate): adjust
15214
15215         * lyxfont.C (latexWriteStartChanges): add std::
15216
15217         * lyxfind.C: adjust
15218
15219         * font.h: delete with(char const *, LyXFont const &)
15220
15221         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15222
15223         * FontInfo.C (getFontname): add std::
15224
15225         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15226         (workAreaButtonPress): adjust
15227         (tripleClick): adjust
15228         (update): adjust
15229         (moveCursorUpdate): adjust
15230         (Dispatch): adjust
15231
15232         * BufferView2.C (gotoInset): adjust
15233
15234 2001-05-30  Juergen Vigna  <jug@sad.it>
15235
15236         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15237         to check pspell I add this as default as I now have new pspell
15238         libraries and they seem to use this.
15239
15240 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15241
15242         * text2.C (CutSelection): make the cursor valid before the call to
15243         ClearSelection.
15244
15245 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15248         relied on 0 terminated strings and other horrors. Bug found due to
15249         the new assert in lyxstring!
15250
15251         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15252         KP_ keys.
15253
15254 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15255
15256         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15257         to latinkeys.bind.
15258
15259         * lyxfunc.C (processKeySym): change method of getting to the
15260         self-insert char.
15261
15262         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15263         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15264         * BufferView_pimpl.[Ch]: here as private methods.
15265
15266 2001-05-28  Juergen Vigna  <jug@sad.it>
15267
15268         * text.C (SetHeightOfRow): added the update() call again as it is
15269         needed to initialize inset dimensions!
15270
15271 2001-05-16  Juergen Vigna  <jug@sad.it>
15272
15273         * text2.C (SetCharFont): Add new function with BufferView * and
15274         bool toggleall parameters for setting insets internal fonts.
15275         (SetFont): Freeze the undo as we may change fonts in Insets and
15276         all this change should be inside only one Undo!
15277
15278         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15279         setting font's in insets as for them we have the SetFont function!
15280
15281 2001-05-15  Juergen Vigna  <jug@sad.it>
15282
15283         * text2.C (ClearSelection): to be sure we REALLY don't have any
15284         selection anymore!
15285
15286         * tabular.C (TeXCellPreamble): fixed the left border problem for
15287         multicolumn cells.
15288
15289 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15290
15291         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15292         dependancy file
15293
15294 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15297         LFUN_BREAKPARAGRAPH.
15298
15299         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15300         help test to "internal only", similar for LFUN_INSERT_URL
15301
15302         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15303         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15304         auto_region_delete and deadkeys.
15305
15306 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15307
15308         * LColor.h:
15309         * LColor.C: remove some dead entries, tidy a little
15310
15311 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15314         commented code.
15315         (Dispatch): implement LFUN_ESCAPE
15316
15317         * commandtags.h: add LFUN_ESCAPE
15318
15319         * LyXAction.C (init): add entry for LFUN_ESCAPE
15320
15321         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15322         Remove commented code.
15323         (insertNote): moved here
15324         (open_new_inset): moved here
15325
15326         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15327         BufferView_pimpl
15328
15329 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15330
15331         * kbmap.C (findbinding): clean it up and make it work correctly.
15332
15333         * lyx_main.C (init): do not pass argc and argv as parameters
15334
15335 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15336
15337         * buffer.C: fix path for OS/2 & Win32
15338
15339         * lyx_gui.C:
15340         * lyx_main:
15341         * lyx_main.C: Added os:: class.
15342
15343         * os2_defines.h: update
15344
15345 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15346
15347         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15348         better by trying again with reduced state.
15349
15350 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * lyxrc.C (read): print error about invalid key sequence only when
15353         debugging (because not all latinX keysyms are known to some X
15354         servers)
15355
15356         * kbsequence.C (getiso): add a few std:: qualifiers
15357         (getiso): comment out extra return statement.
15358
15359 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15362         handling.
15363         (Dispatch): enhance the accent inset a bit. (not perfect)
15364
15365 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15366
15367         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15368
15369 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15370
15371         * bufferlist.C (emergencyWrite): fix assert() call
15372
15373 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15374
15375         * text.C (InsertChar): Added trivial patch to only send the "you
15376         can not do multiple spaces this way" message once during a
15377         session.
15378
15379 2001-05-08  Baruch Even  <baruch@lyx.org>
15380
15381         * Makefile.am: Changed order of libraries to get LyX to link properly
15382         with the gnome frontend.
15383
15384 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15385
15386         * LaTeXFeatures.h: add a std:: qualifier
15387
15388 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * paragraph.C (String): use stringstream
15391
15392 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * paragraph.C (writeFile): remove footflag arg
15395
15396         * buffer.C (makeLaTeXFile): use stringstream
15397         (latexParagraphs): remove footnot gurba
15398
15399         * LaTeXFeatures.C (getPackages): use stringstream
15400         (getMacros): likewise
15401         (getTClassPreamble): likewise
15402         (getFloatDefinitions): new method
15403
15404         * paragraph.C (writeFile): reindent
15405         (Erase): reindent
15406
15407         * WorkArea.h: revert the xpos + etc changes.
15408
15409         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15410
15411         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15412
15413         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15414         (pasteSelection): likewise
15415         * text2.C (CreateUndo): likewise
15416
15417 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15418
15419         * minibuffer.C (peek_event): temporarily reduce the functionality
15420         of the minibuffer (to allow args on lfuns)
15421
15422         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15423         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15424
15425         * buffer.C (readInset): add compability reading of old float
15426         lists, add reading of new style float list.
15427         (readInset): avoid reevaluation of inscmd.getCmdName()
15428         (getLists): reindent
15429
15430         * MenuBackend.C (MenuItem): implement parsing of
15431         md_floatlistinsert and md_floatinsert.
15432         (expand::LastFiles): move initalizaton of iterators out of loop,
15433         avoid reevaluation.
15434         (expand::Documents): introduce typdedef vector<string> Strings,
15435         and use it.
15436         (expand::ExportFormats): introduce typedef vector<Format const *>
15437         Formats, and use it.
15438         (expand): implement FloatListInsert and FloatInsert.
15439
15440         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15441         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15442         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15443
15444         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15445         handling.
15446         (Dispatch::LFUN_FLOAT_LIST): implement
15447
15448 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15449
15450         * LaTeX.C (run): Fix problem with --export code.
15451
15452 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15453
15454         * BufferView.[Ch] (workarea): removed.
15455         (getClipboard) new method; wrapper for workarea()->getClipboard()
15456
15457         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15458         bug.
15459
15460         * WorkArea.h (width, height, xpos, ypos): These methods all
15461         returned the dimensions of the work_area sub-area of WorkArea,
15462         resulting in a position error if the WorkArea were resized. Now
15463         return the dimensions of the entire WorkArea.
15464
15465         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15466
15467 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15468
15469         * LaTeX.C (deplog): correct the syntax of regex reg1
15470
15471 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15472
15473         * undo.C: remove !NEW_INSETS cruft
15474
15475 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15476
15477         * text2.C: remove !NEW_INSETS cruft
15478
15479         * text.C: remove !NEW_INSETS cruft
15480
15481         * tabular.C: remove !NEW_INSETS cruft
15482
15483         * spellchecker.C: remove !NEW_INSETS cruft
15484
15485         * lyxtext.h: remove !NEW_INSETS cruft
15486
15487         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15488
15489         * lyxfunc.C: remove !NEW_INSETS cruft
15490
15491         * lyxfind.C: remove !NEW_INSETS cruft
15492
15493         * lyx_cb.C: remove !NEW_INSETS cruft
15494
15495         * figureForm.C: remove  !NEW_INSETS cruft
15496
15497         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15498
15499         * buffer.[Ch]: remove !NEW_INSETS cruft
15500
15501         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15502
15503         * CutAndPaste.C: remove !NEW_INSETS cruft
15504
15505         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15506
15507         * BufferView2.C: remove !NEW_INSETS cruft
15508
15509         * BufferView.h: remove !NEW_INSETS cruft
15510
15511 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15512
15513         * Lsstream.h: include LString.h before the sstream headers to
15514         fix problem with gcc 2.95.3 and lyxstring
15515
15516 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15517
15518         * lyx_main.C: add using directives when needed for C functions
15519         declared in std:: namespace.
15520
15521 2001-04-27  Juergen Vigna  <jug@sad.it>
15522
15523         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15524         (SetHeightOfRow): comment out the update call should not be needed!
15525
15526 2001-04-13  Juergen Vigna  <jug@sad.it>
15527
15528         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15529         (LyXTabular): tried to minimize operator= operations (and realized
15530         hopfully Lars wish).
15531
15532 2001-04-27  Juergen Vigna  <jug@sad.it>
15533
15534         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15535
15536 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15539
15540         * buffer.C (readInset): hack to make listof algorithm work
15541
15542         * BufferView_pimpl.C: hack to make listof algorithm work
15543
15544 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15545
15546         * LyXAction.C: removed all !NEW_INSETS cruft
15547         (init): moved lfun_item in method
15548
15549         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15550
15551 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15552
15553         * BufferView2.C (theLockingInset): white space.
15554
15555 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * minibuffer.C: include <iostream>
15558
15559         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15560
15561         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15562
15563         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15564
15565         * text.[Ch] (TransposeChars): new method
15566
15567 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15568
15569         * call message directly through LyXView instead of through LyXFunc
15570         * BufferView2.C: adjust
15571         * BufferView_pimpl.C: adjust
15572         * FontLoader.C: adjust
15573         * buffer.C: adjust
15574         * bufferview_funcs.C: adjust
15575         * converter.C: adjust
15576         * figureForm.C: adjust
15577         * importer.C: adjust
15578         * lyx_cb.C: adjust
15579         * lyx_gui_misc.C: adjust
15580         * lyxfunc.C: adjust
15581         * lyxvc.C: adjust
15582         * text2.C: adjust
15583         + more files in subdirs
15584
15585         * lyxparagraph.h (size): move up int file
15586         (GetLayout): ditto
15587
15588         * adjust all uses of Assert to lyx::Assert.
15589
15590         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15591         lyxfunctional in namespace lyx
15592         * layout.C (hasLayout): ditto
15593         (GetLayout): ditto
15594         (GetLayout): ditto
15595         (delete_layout): ditto
15596         (NumberOfClass): ditto
15597         * converter.C (GetFormat): ditto
15598         (GetNumber): ditto
15599         (Add): ditto
15600         (Delete): ditto
15601         (SetViewer): ditto
15602         * bufferlist.C (getFileNames): ditto
15603         (emergencyWriteAll): ditto
15604         (exists): ditto
15605         (getBuffer): ditto
15606         * MenuBackend.C (hasSubmenu): ditto
15607         (hasMenu): ditto
15608         (getMenu): ditto
15609         * BufferView_pimpl.C (getInsetByCode): ditto
15610
15611 2001-04-18  Juergen Vigna  <jug@sad.it>
15612
15613         * vspace.C (asLatexString): fixed the 100% problem.
15614
15615 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15616
15617         * lyxfunc.C (Dispatch):
15618         * minibuffer.C:
15619         * minibuffer.h: add a few std:: qualifiers
15620
15621 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15622
15623         * minibuffer.[Ch]: reimplement so that commands is initiated and
15624         run from lyxfunc, simplified som handling, and made the completion
15625         and history code for complete. wip.
15626
15627         * lyxfunc.C (processKeySym): call message
15628         (miniDispatch): new temporary method
15629         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15630         (LFUN_MESSAGE): implement
15631         (LFUN_MESSAGE_PUSH): implement
15632         (LFUN_MESSAGE_POP): implement
15633         (initMiniBuffer): the initial/defualt minibuffer message.
15634
15635         * lyxfont.[Ch]: inline some more getters
15636
15637         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15638
15639         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15640
15641         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15642         (AutoSave): use LFUN_MESSAGE
15643         (Reconfigure): ditto
15644
15645         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15646
15647         * figureForm.C: use LFUN_MESSAGE
15648
15649         * converter.C (runLaTeX): use LFUN_MESSAGE
15650
15651         * bufferview_funcs.C: use LFUN_MESSAGE
15652         (Melt): ditto
15653         (changeDepth): ditto
15654
15655         * bufferparams.h: use boost::
15656
15657         * bufferlist.h: inherit privately from noncopyable
15658
15659         * bufferlist.C (loadLyXFile): remove some commented code.
15660
15661         * buffer.C (runChktex): use LFUN_MESSAGE
15662
15663         * ShareContainer.h: inherit privately from noncopyable
15664
15665         * ParagraphParameters.[hC] (depth): inline it.
15666
15667         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15668         methods.
15669         (message): new method
15670         (messagePush): ditto
15671         (messagePop): ditto
15672         (show): init minibuffer
15673         (showState): direct call
15674
15675         * LaTeX.[Ch]: inherit privately from noncopyable
15676         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15677         instead of WriteStatus.
15678
15679         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15680
15681         * BufferView_pimpl.C (buffer): don't init minibuffer
15682         (workAreaButtonPress): use LFUN_MESSAGE
15683         (workAreaButtonRelease): ditto
15684         (savePosition): ditto
15685         (restorePosition): ditto
15686         (MenuInsertLyXFile): ditto
15687         (workAreaExpose): don't init minibuffer
15688         (update): remove commented code, simplify
15689
15690         * BufferView2.C (openStuff): use LFUN_MESSAGE
15691         (toggleFloat): ditto
15692         (menuUndo): ditto
15693         (menuRedo): ditto
15694         (copyEnvironment): ditto
15695         (pasteEnvironment): ditto
15696         (copy): ditto
15697         (cut): ditto
15698         (paste): ditto
15699         (gotoInset): ditto
15700         (updateInset): remove some commented code
15701
15702         * lastfiles.h: inherit privately from noncopyable
15703         * layout.h: ditto
15704         * lyx_gui.h: ditto
15705         * lyx_main.h: ditto
15706         * lyxlex.h: ditto
15707         * lyxlex_pimpl.h: ditto
15708
15709         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15710         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15711         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15712
15713         * LyXAction.h: inherit privately from noncopyable, add methods
15714         func_begin, func_end, returning iterators to the func map.
15715
15716         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15717         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15718         (func_begin): new method
15719         (func_end): new method
15720
15721         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15722         and not)
15723         (copySelection): ditto
15724         (pasteSelection): ditto
15725
15726         * BufferView.C: whitespace change
15727         * BufferView.h: inherit privately from noncopyable
15728
15729 2001-04-16  Allan Rae  <rae@lyx.org>
15730
15731         * tabular-old.C (l_getline):
15732         * spellchecker.C (sc_check_word):
15733         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15734         an unrecognised preprocessor directive.  So ensure they're wrapped.
15735
15736 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15737
15738         * src/exporter.C (Export): Give an error message when path to file
15739         contains spaces.
15740
15741 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15742
15743         * LaTeX.C (deplog): Always check that foundfile exists.
15744
15745 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * lyx_main.h:
15748         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15749
15750 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15751
15752         * tabular.[Ch] (getLabelList): implement new method
15753
15754         * minibuffer.h: comment ouf setTiimer
15755
15756         * minibuffer.C (ExecutingCB): constify res
15757         (peek_event): constify s
15758         (Set): constify ntext
15759         (Init): constify nicename
15760
15761         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15762
15763         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15764         (savePosition): use two params to Minibuffer::Set
15765         (restorePosition): ditto
15766
15767 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * lyx_main.C: include language.h
15770
15771         * Makefile.am (lyx_main.o): add language.h
15772
15773 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15774
15775         * exporter.C:
15776         * paragraph.C:
15777         * screen.C:
15778         * tabular.C:
15779         * CutAndPaste.C: include gettext.h
15780
15781         * lyxfont.h: remove old hack with ON and OFF.
15782
15783         * lyxparagraph.h:
15784         * lyxfont.h: do not include language.h...
15785
15786         * BufferView2.C:
15787         * LaTeXFeatures.C:
15788         * Painter.C:
15789         * bufferview_funcs.C:
15790         * font.C:
15791         * lyxfont.C:
15792         * text.C:
15793         * text2.C:
15794         * trans_mgr.C:
15795         * paragraph.C: ... but do it here instead
15796
15797 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15798
15799         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15800
15801         * tabular.C: small reformat
15802
15803         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15804         NEW_INSETS version
15805         (GetChar): ditto
15806         (BreakParagraph): ditto
15807         (SetOnlyLayout): ditto
15808         (SetLayout): ditto
15809
15810         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15811         with one arg less.
15812
15813         * lastfiles.C: removed most using decl, add std:: where needed
15814
15815         * buffer.C: ws changes
15816
15817         * MenuBackend.C (class compare_format): put into anon namespace
15818         (expand): constify label, names, action, action2
15819         (expand):
15820
15821         * text.C (SingleWidth): constify font
15822         (IsBoundary): constify rtl2
15823         (GetVisibleRow): constify ww
15824
15825         * LaTeX.C (deplog): constify logfile
15826
15827         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15828         start_x, end_x
15829         (workAreaExpose): constify widthChange, heightChange
15830
15831         * lyxrow.C (par): moved
15832         (height): moved
15833         (next): moved
15834         * lyxrow.h: as inlines here
15835
15836         * lyxfont.h (shape): moved from lyxfont.C
15837         (emph): moved from lyxfont.C
15838
15839         * lyxfont.C (LyXFont): use initialization list for all
15840         constructors
15841         (shape): move to lyxfont.h as inline
15842         (emph): move to lyxfont.h as inline
15843
15844
15845 2001-04-04  Juergen Vigna  <jug@sad.it>
15846
15847         * vspace.C: had to include stdio.h for use of sscanf
15848
15849 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15850
15851         * BufferView.h:
15852         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15853         independent of xforms.
15854
15855 2001-04-02  Juergen Vigna  <jug@sad.it>
15856
15857         * spellchecker.C: fixed namespace placing!
15858
15859 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15860
15861         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15862         the LyXParagraph * is 0.
15863
15864 2001-03-29  Juergen Vigna  <jug@sad.it>
15865
15866         * vspace.C: added support for %, c%, p%, l%.
15867         (stringFromUnit): added helper function.
15868         (asLatexString): changed to give right results for the %-values.
15869
15870         * buffer.C: convert the widthp in a width%.
15871
15872 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15873
15874         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15875         figureForm.[Ch].
15876
15877         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15878         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15879
15880         * lyx_cb.[Ch]: see above.
15881
15882         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15883         form1.[Ch].
15884
15885         * form1.[Ch]:
15886         * lyx.[Ch]: replaced by figure_form.[Ch].
15887
15888         * lyx_gui.C:
15889         * lyx_gui_misc.C:
15890         * lyxfunc.C: changed headers associated with above changes.
15891
15892 2001-03-27  Juergen Vigna  <jug@sad.it>
15893
15894         * BufferView_pimpl.C: set the temporary cursor right!
15895
15896 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15897
15898         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15899
15900 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15901
15902         * LString.h: removed "using std::getline"!
15903
15904         * BufferView_pimpl.C (Dispatch): changes due to changes in
15905         InsetInclude::Params.
15906
15907         * buffer.C (tag_name): removed redundant break statements as they were
15908         producing lots of warnings with my compiler.
15909
15910 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15911
15912         * LString.h: add "using std::getline" when using the real <string>.
15913
15914 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15915
15916         * buffer.C: removed bitset usage.
15917         PAR_TAG moved to an anonymous name space.
15918         (tag_name): new funtion, also in the anonymous namespace.
15919         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15920         (makeDocBookFile): clean code. Completed transition from string arrays
15921         to string vectors.
15922         (SimpleDocBookOnePar): code clean.
15923
15924 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15925
15926         * tabular.C: add some comments.
15927
15928 2001-03-22  Juergen Vigna  <jug@sad.it>
15929
15930         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15931         compatibility read a bit and fixed bug with minipage in different
15932         depth.
15933
15934 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15935
15936         * buffer.C (pop_tag): removed.
15937         (push_tag): removed.
15938         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15939         array replaced with vector. Added support for CDATA sections.
15940         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15941         at any nest level.
15942         (makeDocBookFile): XML conformant declaration of CDATA section,
15943         fixed bug related to <emphasis> in the first paragraph char.
15944         (sgmlOpenTag): exclude empty tags.
15945         (sgmlCloseTag): ditto.
15946
15947         * buffer.h (pop_tag): removed.
15948         (push_tag): removed.
15949
15950 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15951
15952         * language.h (Languages): added size_type and size().
15953
15954 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15955
15956         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15957         response on compability reading of minipages. One probliem is that
15958         the old usage of minipages was «flertydig»
15959
15960         * several files here and in subdirs: don't use static at file
15961         scope use anon namespaces instead.
15962
15963 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15964
15965         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15966         LaTeX output. This is necessary for Literate document
15967         processing.
15968
15969 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15970
15971         * buffer.C: insert hfill when needed.
15972
15973         * tabular.C (l_getline): use string::erase, small whitespace change.
15974
15975         * BufferView_pimpl.C: try the anon namespace.
15976         * WorkArea.C: ditto
15977
15978 2001-03-16  Juergen Vigna  <jug@sad.it>
15979
15980         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15981         otherwise it won't open options-dialogs.
15982
15983         * buffer.C: honor pextraWidth(p) on converting minipages.
15984
15985         * tabular.C (l_getline): changed the functions to strip trailing \r.
15986
15987 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15988
15989         * BufferView_pimpl.C:
15990         * minibuffer..C: added "using SigC::slot" declaration.
15991
15992 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15993
15994         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15995
15996         * text2.C: ditto
15997
15998         * text.C: ditto
15999
16000         * paragraph.C: ditto
16001
16002         * lyxtext.h: NO_PEXTRA
16003
16004         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16005
16006         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16007         * ParameterStruct.h: ditto
16008         * ParagraphParameters.h: ditto
16009         * lyxparagraph.h: ditto
16010
16011 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16012
16013         * buffer.C: add compability for minipage alignment.
16014         (latexParagraphs): remove unwanted pextra check.
16015
16016         * several files: remove CXX_WORKING_NAMESPACES
16017
16018         * buffer.C (pop_tag): tie is in namespace boost
16019
16020         * BufferView.h: noncopyable is in namespace boost
16021         * lyxlex.h: ditto
16022         * lyx_main.h: ditto
16023         * lyx_gui.h: ditto
16024         * layout.h: ditto
16025         * lastfiles.h: ditto
16026         * bufferlist.h: ditto
16027         * ShareContainer.h: ditto
16028         * LyXView.h: ditto
16029         * LyXAction.h: ditto
16030         * LaTeX.h: ditto
16031
16032 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16033
16034         * Merging changes from BRANCH_MVC back into HEAD.
16035
16036         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16037
16038 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16039
16040         * BufferView_pimpl.C: change from intl.C
16041
16042         * combox.h:
16043         * combox.C:
16044         * Makefile.am: move combox.*
16045
16046         * form1.h:
16047         * form1.C:
16048         * lyx_gui.C:
16049         * intl.h:
16050         * intl.C: remove dialog (covered by prefs)
16051
16052 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16053
16054         * lyxfunc.C (Dispatch): removed redundant break statement.
16055
16056 2001-03-14  Juergen Vigna  <jug@sad.it>
16057
16058         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16059
16060 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16061
16062         * buffer.C: add hack to fix compability reading of minipages.
16063
16064 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16065
16066         * buffer.C (getLists): Cleanup.
16067
16068 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * lyxfont.C (update): don't honor toggleall on font size.
16071
16072 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16073
16074         * bmtable.c:
16075         * bmtable.h:
16076         * Makefile.am: moved to frontends/xforms/
16077
16078         * lyx_gui_misc.C:
16079         * lyxfunc.C:
16080         * BufferView_pimpl.C: changes for moved mathpanel
16081
16082 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16083
16084         * gettext.h: fix gettext_init() in --disable-nls
16085
16086 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16087
16088         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16089
16090 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16091
16092         * lyx.C:
16093         * lyx.h: strip external form
16094
16095 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16096
16097         * BufferView_pimpl.C: add comment, destroySplash()
16098
16099 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16100
16101         * BufferView_pimpl.C:
16102         * LyXAction.C:
16103         * buffer.C:
16104         * commandtags.h:
16105         * lyxfunc.C: use re-worked insetinclude
16106
16107 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16108
16109         * buffer.C: add using std::stringstream.
16110
16111         * lyx_cb.C: readd using std::ios.
16112
16113         * buffer.C: add using std::map.
16114
16115         * BufferView_pimpl.C: add using std::vector.
16116
16117         * ShareContainer.h: add std:: to swap.
16118
16119         * buffer.h: add some typedefs
16120         * buffer.C (getLists): use them
16121         (getLists): renamed from getTocList.
16122         add a counter for the different float types and use it in the
16123         generated string.
16124         (getLists): use the same counter for the NEW_INSETS and the "non"
16125         NEW_INSETS
16126
16127         * lyx_cb.h: remove unused items, includes, using etc.
16128
16129         * ShareContainer.h: remove some commented code, add more comments
16130         and "documentation".
16131
16132 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16133
16134         * buffer.C (getTocList): make the list also when NEW_INSETS is
16135         defined.
16136
16137         * buffer.h: remove TocType
16138
16139         * buffer.C (getTocList): change to return a map<string,
16140         vector<TocItem> >, implement for dynamic number of list.
16141
16142         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16143         * text2.C (PasteSelection): adjust
16144         * CutAndPaste.C (pasteSelection): adjust
16145
16146         * FloatList.C (FloatList): update from the new_insets branch.
16147         * Floating.[Ch]: ditto
16148         * LaTeXFeatures.C: ditto
16149         * buffer.C: ditto
16150         * lyxlex_pimpl.C: ditto
16151
16152         * paragraph.C (Last): remove when NEW_INSETS is defined.
16153
16154         * other file: changes because of the above.
16155
16156 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16157
16158         * lyxparagraph.h: rename next to next_, previous to previous_,
16159         make them private for NEW_INSETS. Rename Next() to next(),
16160         Previous() to previous().
16161
16162         * other files: changes because of the above.
16163
16164 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16165
16166         * BufferView.h:
16167         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16168         problem.
16169
16170 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16171
16172         * main.C (main): pass lyx_localedir to gettext_init().
16173
16174         * gettext.h: remove locale_init and gettext_init macros
16175
16176         * gettext.C (locale_init): new function
16177         (gettext_init): new function
16178
16179         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16180         setlocale().
16181
16182 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16183
16184         * Moved credits to frontends:
16185         * credits.[Ch]: removed
16186         * credits_form.[Ch]: removed
16187         * lyx_gui_misc.C: remove credits stuff
16188         * Makefile.am:
16189
16190 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16191
16192         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16193
16194         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16195         unneeded destructor.
16196
16197         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16198         a standalone pointer again.
16199
16200         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16201
16202 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16203
16204         * Makefile.am:
16205         * filedlg.h:
16206         * filedlg.C:
16207         * LyXAction.C:
16208         * ToolbarDefaults.C:
16209         * bufferlist.C:
16210         * commandtags.h:
16211         * form1.C:
16212         * form1.h:
16213         * lyx_cb.C:
16214         * lyx_cb.h:
16215         * lyxfunc.h:
16216         * lyxfunc.C:
16217         * BufferView_pimpl.C: use new file dialog in GUII
16218
16219         * lyx_cb.h:
16220         * lyx_cb.C: remove LayoutsCB to Toolbar
16221
16222 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16223
16224         * ShareContainer.h (get): add std:: qualifier
16225
16226 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * ShareContainer.h: define a proper ShareContainer::value_type
16229         type (and use typename to please compaq cxx)
16230
16231 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16232
16233         * lyxparagraph.h: move serveral local vars to
16234         ParameterStruct/ParagraphParameters., use ShareContainer in
16235         FontTable., make vars in FontTable private and add getter and
16236         setter.
16237
16238         * paragraph.C: changes because of the above.
16239
16240         * lyxfont.h: remove copy constructor and copy assignment. (the
16241         default ones is ok), move number inside FontBits. move inlines to
16242         lyxfont.C
16243
16244         * lyxfont.C: add number to initializaton of statics, move several
16245         inlines here. constify several local vars. some whitespace
16246         cleanup. Dont hide outerscope variables.
16247
16248         * Spacing.h: add two new constructors to match the set methods.
16249
16250         * ShareContainer.h: new file, will perhaps be moved to support
16251
16252         * ParameterStruct.h: new file
16253
16254         * ParagraphParameters.h: new file
16255
16256         * ParagraphParameters.C: new file
16257
16258         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16259         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16260
16261         * BufferView_pimpl.C: ParagraphParameter changes.
16262         * buffer.C: Likewise.
16263         * bufferview_funcs.C: Likewise.
16264         * text.C: Likewise.
16265         * text2.C: Likewise.
16266
16267 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16268
16269         * lyxfind.C (LyXReplace): do not redefine default argument in
16270         implementation.
16271         (IsStringInText): ditto
16272         (SearchForward): ditto
16273         (SearchBackward): ditto
16274
16275 2001-03-06  Juergen Vigna  <jug@sad.it>
16276
16277         * lyxfind.C (IsStringInText): put parentes around expressions.
16278
16279 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16280
16281         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16282
16283 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16284
16285         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16286
16287         * stl_string_fwd.h: add comment
16288
16289         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16290
16291         * tabular.h:
16292         * tabular.C: remove unused DocBook methods
16293
16294         * intl.C:
16295         * language.C:
16296         * paragraph.C:
16297         * buffer.C:
16298         killed DO_USE_DEFAULT_LANGUAGE
16299
16300 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * lyx_gui.C: do not include language.h.
16303
16304         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16305         arguments in function implementation.
16306
16307 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16308
16309         * BufferView_pimpl.C: add <ctime>
16310
16311 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16312
16313         * BufferView_pimpl.C: add using std::find_if
16314
16315 2001-02-27  José Matos  <jamatos@fep.up.pt>
16316
16317         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16318         by OnlyPath.
16319
16320 2001-02-11  José Matos  <jamatos@fep.up.pt>
16321
16322         * buffer.C (makeDocBookFile): command styles now have a parameter as
16323         "title" by default.
16324
16325 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16326
16327         * layout_forms.[Ch]: removed
16328         * lyx_cb.[Ch]: out character
16329         * lyx_gui.C: out character
16330         * lyx_gui_misc.C: out character
16331         * bufferview_funcs.C: : out character,
16332         added toggleall as parameter in ToggleAndShow
16333
16334 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16335
16336         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16337
16338         * text2.C (SetCurrentFont): Disable number property at boundary.
16339
16340 2001-02-26  Juergen Vigna  <jug@sad.it>
16341
16342         * lyxfunc.C (getStatus): added a string argument override function so
16343         that this is correctly called from LyXFunc::Dispatch if it contains a
16344         do_not_use_argument which is used!
16345         (Dispatch): added check for "custom" export and call appropriate func.
16346
16347 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16348
16349         * lyxrc.C: Add language_command_local, language_use_babel and
16350         language_global_options.
16351
16352         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16353
16354         * buffer.C (makeLaTeXFile): Use language_use_babel and
16355         language_global_options.
16356
16357 2001-02-23  Juergen Vigna  <jug@sad.it>
16358
16359         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16360         which works with LyXText and putted it inside BufferView. Here now we
16361         only call for that part the BufferView::Dispatch() function.
16362
16363         * BufferView.C (Dispatch): added.
16364
16365         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16366         functions which needs to use a LyXText over from LyXFunc.
16367         (MenuInsertLyXFile): added
16368         (getInsetByCode): added
16369         (moveCursorUpdate): added
16370         (static TEXT): added
16371
16372 2001-02-22  Juergen Vigna  <jug@sad.it>
16373
16374         * BufferView_pimpl.C (update): call a status update to see if LyXText
16375         needs it.
16376
16377 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16378
16379         * vc-backend.C (revert): implement for CVS
16380         (getLog): implement for CVS
16381
16382 2001-02-20  Juergen Vigna  <jug@sad.it>
16383
16384         * text2.C (ClearSelection): added BufferView param for inset_owner call
16385
16386         * lyxfunc.C (TEXT): added this function and use it instead of
16387         directly owner->view()-text of getLyXText().
16388
16389 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16390
16391         * src/layout_forms.C: out preamble
16392         * src/layout_forms.h: out preamble
16393         * src/lyx_cb.C: out preamble
16394         * src/lyx_cb.h: out preamble
16395         * src/lyx_gui.C: out preamble
16396         * src/lyx_gui_misc.C: out preamble
16397         * src/lyxfunc.C: connect with guii preamble
16398
16399 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16400
16401         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16402
16403 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16404
16405         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16406         whether to run bibtex.
16407
16408 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16409
16410         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16411
16412 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16413
16414         * Makefile.am (lyx_SOURCES): removed bibforms.h
16415
16416         * vspace.h: doxygen
16417
16418         * text.C (GetVisibleRow): make several local vars const
16419
16420         * tabular.C: small cleanup.
16421
16422         * lyxserver.C (callback): use compare instead of strncmp
16423
16424         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16425         inlines to after class or to paragraph.C
16426
16427         * lyxfont.h: remove friend operator!=
16428
16429         * converter.h: move friend bool operator< to non friend and after
16430         class def.
16431
16432         * combox.h: small cleanup
16433
16434         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16435         to inlines after class def.
16436
16437         * buffer.C (pop_tag): use string operations instead of strcmp
16438
16439         * bmtable.c: doxygen, small cleanup
16440
16441         * LaTeX.h: remove friend operator==
16442
16443 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16444
16445         * screen.C:
16446         * lyxrc.[Ch]:
16447         * lyxfunc.C:
16448         * lyxfont.[Ch]:
16449         * lyx_cb.C:
16450         * intl.[Ch]:
16451         * commandtags.h:
16452         * buffer.C:
16453         * WorkArea.[Ch]:
16454         * LyXAction.C:
16455         * BufferView_pimpl.C:
16456         * BufferView.[Ch]: remove cruft
16457
16458 2001-02-14  Juergen Vigna  <jug@sad.it>
16459
16460         * lyxfunc.C: removed #if 0 unused code
16461
16462         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16463
16464         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16465
16466         * text2.C (SetSelection): added a BufferView * parameter
16467
16468 2001-02-13  Juergen Vigna  <jug@sad.it>
16469
16470         * lyxfunc.C (Dispatch): fixed protected blank problem.
16471         * BufferView2.C (protectedBlank): added LyxText * parameter.
16472
16473         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16474         (AppendColumn): same as above for column_info.
16475
16476         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16477         (moveCursorUpdate): use a LyXText param for support of InsetText.
16478
16479         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16480         (tripleClick): ditto
16481
16482         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16483
16484         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16485
16486         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16487
16488         * text2.C (SetSelection): set correct update status if inset_owner
16489         (ToggleFree): ditto
16490
16491 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16492
16493         * tabular.C: remove some commented code.
16494
16495 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16496
16497         * BufferView_pimpl.C: call hideSplash()
16498
16499         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16500
16501         * include_form.h:
16502         * bibforms.h: remove
16503
16504         * lyxfunc.C:
16505         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16506           add LFUN_CHILD_CREATE
16507
16508         * counters.h: fix tiny typo
16509
16510         * lyx_cb.C:
16511         * lyx.h:
16512         * lyx_gui.C:
16513         * lyx.C: move splash to frontends/xforms/
16514
16515         * lyx_gui_misc.C: move Include and Bibform to frontends
16516
16517         * lyxvc.h: clarify comment
16518
16519         * vspace.C: tiny housekeeping
16520
16521 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16522
16523         * text.C (PrepareToPrint): RTL Fix.
16524
16525         * paragraph.C (GetUChar): New method.
16526         (String):  Use GetUChar.
16527
16528         * buffer.C (asciiParagraph): Use GetUChar.
16529
16530 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16531
16532         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16533
16534 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16535
16536         * buffer.h:
16537         * buffer.C: rename to getLogName(), handle
16538           build log / latex log nicely
16539
16540 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16541
16542         * MenuBackend.C:
16543         * MenuBackend.h: remove support for reference menuitem type.
16544
16545 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16546
16547         * BufferView_pimpl.C: housekeeping
16548         * BufferView_pimpl.h:
16549         * LyXView.h:
16550         * Makefile.am:
16551         * Timeout.C:
16552         * Timeout.h:
16553         * minibuffer.h: move Timeout GUI-I
16554
16555 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16556
16557         * lyxrc.C (read): Update converters data-structures.
16558
16559 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16560
16561         * LaTeX.h (operator!=): add operator != for Aux_Info
16562
16563 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16564
16565         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16566
16567         * LaTeXLog.C: deleted, useful code moved to Buffer
16568
16569         * buffer.h:
16570         * buffer.C: new function getLatexLogName()
16571
16572         * lyx_gui_misc.C:
16573         * lyx_gui.C:
16574         * lyxvc.C:
16575         * lyxvc.h:
16576         * lyxfunc.C: use frontends for LaTeX and VC logs
16577
16578 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16579
16580         * LaTeX.h: yet another std:: that Allan forgot.
16581
16582         * Variables.C (set): renamed from isset(), because this clashes
16583         with some HP-UX macros (grr).
16584
16585 2001-02-06  Allan Rae  <rae@lyx.org>
16586
16587         * LaTeX.h: Another bug fix.  Missing std:: this time.
16588
16589 2001-02-04  Allan Rae  <rae@lyx.org>
16590
16591         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16592         floats problem. I've left it commented out because it's not quite
16593         correct.  It should also test that the current object is a table or
16594         figure inset.  But I haven't gotten around to figuring out how to do
16595         that.  I *think* it'll be something like: "table" == inset.type()
16596
16597         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16598         bool.
16599
16600 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16603         all the citation/databases/styles in the auxilary file.
16604         (run): Rerun latex if there was a babel language error.
16605
16606 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16607
16608         * text.C (Backspace): Preserve the font when changing newline char
16609         with a space.
16610         (BreakParagraph): If the cursor is before a space, delete the space.
16611
16612         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16613
16614 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16617         new argument (code).
16618         (ChangeCitationsIfUnique): New method.
16619
16620         * paragraph.C (GetPositionOfInset): Handle bibkey.
16621
16622 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16623
16624         * BufferView_pimpl.h: change type of Position::par_pos to
16625         LyXParagraph::size_type.
16626
16627 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16628
16629         * BufferView_pimpl.C (savePosition, restorePosition): Write
16630         messages to minibuffer.
16631
16632 2001-01-28  José Matos  <jamatos@fep.up.pt>
16633
16634         * buffer.C (makeDocBookFile): adds support for document language.
16635         A silly restriction on the name of LatexCommand types where removed.
16636         Added support for CDATA sections, allows to chars unescaped, used
16637         among others in code, to avoid escape < and >.
16638
16639 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16640
16641         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16642         saved positions instrad of a stack. Furthermore, a position is
16643         stored using paragraph id/paragraph position.
16644
16645         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16646         Remove LFUN_REF_BACK.
16647
16648 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16649
16650         * converter.C (dvipdfm_options): New method.
16651
16652 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16653
16654         * vspace.C (isValidLength): Fix for empty input string.
16655
16656 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * LyXAction.C (init): change description of LFUN_FIGURE to
16659         "Insert Graphics"
16660
16661 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16662
16663         * LaTeX.C: add using directive
16664
16665 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16666
16667         * MenuBackend.C (expand): Fix the sorting of the formats.
16668
16669 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16670
16671         * lyx_main.C: tiny error message fix
16672
16673 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16676         calling fl_initialize(). This fixes the problem with ',' as
16677         decimal separator in text files.
16678
16679 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16680
16681         * trans.C (process): Fix the keymap bug.
16682
16683 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16684
16685         * LaTeX.C (scanAuxFiles): New method. Provides support for
16686         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16687         (scanLogFile) Scan for "run BibTeX" messages.
16688
16689         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16690         OT1 font encoding. Also, load the aecompl package if the ae
16691         package is loaded.
16692
16693         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16694
16695 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16696
16697         * texrow.C (increasePos): turn two error messages into debug
16698         messages.
16699
16700 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16701
16702         * LaTeX.C (scanAux): Handle the \@input macro.
16703         (runBibTeX): Use scanAux().
16704
16705         * language.C (latex_options_): New field.
16706
16707         * LaTeXFeatures.C (getMacros): Add language macros.
16708
16709         * buffer.C (makeLaTeXFile): Small fix.
16710
16711 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16712
16713         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16714
16715         * text2.C: add a using directive.
16716
16717 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16718
16719         * BufferView2.C:
16720         * lyx_gui_misc.h:
16721         * lyxfr1.C:
16722         * lyxfunc.C: kill LyXBell.
16723
16724 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16725
16726         * text.C (IsBoundary): Remove the error message
16727
16728         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16729
16730         * lyxrc.C (setDefaults): Correct initialization value for
16731         font_norm_type.
16732
16733 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16734
16735         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16736         gotoError().
16737
16738         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16739         and GotoNextNote().
16740
16741         * src/LyXAction.C: Added reference-next.
16742
16743         * text.C (InsertChar): Use contains instead of strchr.
16744
16745         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16746
16747 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16748
16749         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16750         alignment commands (when needed).
16751
16752         * text.C (InsertChar): Add ':' to number separator chars.