]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
487a8575c60bd2fb828c2472c732390b8963a473
[lyx.git] / src / ChangeLog
1
2 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
3
4         * undo.C (textUndoOrRedo): simplify logic, fix a crash
5         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
6
7 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
8
9         * lyxfunc.C: 
10         * text3.C: remove selection_possible global flag
11
12 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
13
14         * text2.C (getSelectionSpan): remove
15         (changeDepth, changeDepthAllowed): adjust
16
17 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
18
19         * Makefile.am (BOOST_LIBS): use boost variables
20
21 2004-12-03  José Matos <jamatos@lyx.org>
22
23         * buffer.C: format up to 238.
24
25 2004-12-03  José Matos  <jamatos@lyx.org>
26
27         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
28
29 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
30
31         * cursor.C (goUpDown): remove call to idxUpDown2
32
33 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
34
35         * tabular.[Ch]: use size_t-like types for cell, row and column
36         indices
37
38 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * lyxfunc.C (getStatus): do not lose previous information when
41         calling BufferView::getStatus; do not set a default "Command
42         disabled" message at the beginning, but just before returning.
43
44 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
45
46         * cursor.h (getStatus): add better comment from src/cursor.C
47
48 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
49
50         * text3.C (getStatus): return false when the lfun is not handled
51
52 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         * broken_headers.h: remove
55
56         * Makefile.am (lyx_SOURCES): remove broken_headers.h
57
58 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
59
60         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
61         offset_ref accessors
62
63         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
64         top_y_, merge fitcursor with update
65         (updateScrollbar, scrollDocView, fitCursor, center, update): new
66         coord scheme
67         (metrics): introduce
68         (workAreaDispatch): adapt to new coord scheme
69         (redoCurrentBuffer): remove
70
71         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
72
73         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
74         CurStatus enum.
75
76         * coordcache.[Ch]: add paragraph cache and helpers
77
78         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
79         adjust everywhere
80
81         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
82         (targetX, setTargetX): introduce
83
84         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
85         baseline -> ascent, as the rest of lyx
86
87         * lyxtext.h: remove redoParagraphs, updateParPositions,
88         fullRebreak, redoParagraphInternal. move dist to anon namespace in
89         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
90         have ascent/descent (ascent is ascent of first par)
91
92         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
93         step of BufferView
94
95         * paragraph.[Ch]: unify dimension handling with the rest of lyx
96
97         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
98
99         * pariterator.C: fix infinite loop introduced in par->pit renaming
100
101         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
102         in insets and LyXText, draw two off-screen paragraphs using
103         NullPainter, and adapt to new coord scheme
104
105         * text.C:
106         * text2.C:
107         * text3.C: adapt lfun handlers to the new coord scheme, which
108         means: there's only guaranteed coord information for onscreen pars
109         plus one above and one below. This implies that one can do search
110         from y coordinates in the range [-1,workHeight]
111
112 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
113
114         * rename a lot of InsetOld to InsetBase
115
116 2004-11-25  Angus Leeming  <leeming@lyx.org>
117
118         * BufferView_pimpl.C:
119         * lyx_cb.C:
120         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
121
122 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
125         call BufferView::getStatus if LCursor::getStatus did nothing
126         (setStatusMessage, getStatusMessage): removed.
127
128         * FuncStatus.C (message): new methods. Used to provide an error
129         message indicating why a command is disabled.
130         (clear, |=, FuncStatus): update for message.
131
132 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
133
134         * lyxfunc.C (dispatch): always call sendDispatchMessage
135
136 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
137
138         * BufferView.C:
139         * BufferView_pimpl.C:
140         * CutAndPaste.C:
141         * FontIterator.C:
142         * buffer.C:
143         * cursor.C:
144         * cursor_slice.[Ch]:
145         * dociterator.[Ch]:
146         * lyxfind.C:
147         * paragraph_funcs.C:
148         * pariterator.C:
149         * rowpainter.C:
150         * text.C:
151         * text2.C:
152         * text3.C:
153         * undo.C: par->pit renaming
154
155 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
156
157         * tabular.C (cellstruct): use initialization, store a shared_ptr
158         to insettext instead of the insettext directly, adjust to fit.
159         (operator=):  new function
160         (swap): new function
161         (rowstruct): use initialization
162         (columnstruct): use initialization
163         (ltType): use initialization
164
165
166         * lyxlength.h (swap): new function
167
168         * LColor.[Ch] (operator=): use the common semantics
169
170 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * lyxfind.C (findNextChange): update the bufferview after setting
173         the selection.
174
175 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
178         number of InsetOptArgs has already been inserted.
179
180         * output_latex.C (latexOptArgInsets): new method. This outputs all
181         the optarg insets, up to the limit defined in the layout file.
182         (optArgInset): removed
183         (TeXOnePar): call latexOptArgInsets; correctly update texrow
184
185 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * paragraph.C (isLetter): remove special spellchecker-related
188         code; return true also for digits
189         (isWord, isKomma): remove
190
191         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
192         * lyxfind.C (MatchString()): use isLetter instead of isWord
193
194 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
195
196         * pariterator.h (operatir=): comment out un-implemented member
197         function.
198
199         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
200         static cast.
201
202 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
203
204         * lyxfont.h: include LColor.h to satisfy concept checks.
205
206 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
207
208         * pariterator.h: add typdefs for value_type, difference_type,
209         pointer and reference to satisfy concept checks. Also add default
210         constructor for same reason.
211
212         * pariterator.C (operator++): add post-increment operator to
213         satisfy concept checks.
214
215         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
216         checks.
217
218         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
219
220         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
221         checks. Also rename base_type to BaseType to follow naming
222         standard better.
223
224         * FloatList.h: include Floating.h to satisfy concept checks.
225
226 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
227
228         * lyxfunc.C (getStatus): when the origin of the request is menu or
229         toolbar, and the LyXView does not have focus, do as if there was
230         no buffer (bug 1720)
231
232         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
233         FuncRequest to individual entries of LFUN_SEQUENCE
234
235 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
236
237         * output_latex.C (TeXOnePar): override runparams.moving_arg
238         according to the needprotect value of the current paragraph (bug
239         1739)
240
241         * paragraph.C (simpleTeXOnePar): no need to override
242         runparams.moving_args here
243
244 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
245
246         * vspace.C: fix off-by-one-error, related to fix #1682
247
248 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
249
250         * lengthcommon.C: a more general fix for bug 1682
251
252 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
253
254         * text.C (backspace): fix crash
255
256 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
257
258         * format.[Ch] (getFormatFromFile): new method
259         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
260
261 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
264
265 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
266
267         * lyxfunc.C (dispatch): remove the verbose argument
268         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
269         instead
270
271         * kbmap.C (defkey): set the origin of func to KEYBOARD
272
273         * MenuBackend.C (MenuItem):
274         * ToolbarBackend.C (add): set the origin of func to UI
275
276         * funcrequest.[Ch]: add origin member, which indicates which part
277         of LyX requests an action
278
279 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
280
281         * converter.C (move): don't lie in the error message
282         * converter.h (isReachable, move): document
283
284 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
285
286         * buffer.C: remove unused using lyx::support::atoi
287         * paragraph_funcs.C: ditto
288
289 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
290
291         * bufferlist.C (exists): use bind and equal_to instead of
292         compare_memfun
293         (getBuffer): ditto
294         * lyxtextclasslist.C (NumberOfClass): ditto
295
296         * cursor.C (insert): use for_each instead of explicit for loop
297
298         * bufferlist.C (getFileNames): use std::transform and
299         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
300
301         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
302         for loop
303
304         * buffer.C (changeLanguage): use for_each instead of explicit for
305         loop
306         (hasParWithID): implement using getParFromID
307
308         * LaTeXFeatures.C: ws change only
309
310         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
311         to cleanup a bit.
312
313         * BufferView_pimpl.C (trackChanges): use for_each instead of
314         expilicit for loop
315
316 2004-11-04  André Pönitz  <poenitz@gmx.net>
317
318         * undo.h:
319         * undo.C (textUndoOrRedo): fix crash when creating undo information.
320
321         * dociterator.C (asDocIterator): use hard assert again.
322
323 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * lyxlength.C (asLatexString): rewrite so that it does not use
326         snprintf anymore
327
328 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
329
330         * text3.C (specialChar, dispatch): make sure cursor moves to the
331         right after inserting an inset
332
333 2004-11-02  José Matos  <jamatos@lyx.org>
334
335         * output_docbook.C (docbook):
336         * paragraph.C (getID):
337         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
338         garantee that the output is always legal.
339
340         * tabular.C (docbook):
341         * outputprams.[Ch]: remove mixed contents.
342
343 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * text2.C (setCounter): prevent endless loop
346
347 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
348
349         * exporter.C (copyFile): use the mover instead of support::copy()
350         * exporter.C (Export): pass format and latex name to copyFile()
351         * exporter.h (addExternalFile): document
352         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
353
354 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
355
356         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
357
358 2004-10-30  José Matos  <jamatos@lyx.org>
359
360         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
361         text and no inset or font change. This allows to use CDATA
362         sections just for the whole paragraph.
363
364 2004-10-30  José Matos  <jamatos@lyx.org>
365
366         * paragraph.C (getFirstWord): remove unused variable.
367
368 2004-10-30  José Matos  <jamatos@lyx.org>
369
370         * paragraph.C (getFirstWord): the content should always be escaped
371         there.
372         (simpleDocBookOnePar):
373         * output_docbook.C (makeEnvironment): replace reference to CDATA
374         to style pass_thru.
375
376 2004-10-30  José Matos  <jamatos@lyx.org>
377
378         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
379
380 2004-10-30  José Matos  <jamatos@lyx.org>
381
382         * output_docbook.C (makeParagraphs):
383         * paragraph.[Ch] (emptyTag): for docbook and company, if the
384         standard paragraph has only a given type of content drop the wrapper.
385
386 2004-10-29  José Matos  <jamatos@lyx.org>
387
388         * output_docbook.C (makeEnvironment):
389         * sgml.C (openTag):
390         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
391
392 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
393
394         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
395         (cleanID): sanitize any id.
396
397 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
398
399         * buffer.C, lyxlex_pimpl.C:
400         * lyxlex_pimpl.C (setFile):
401         s/getExtFromContents/getFormatFromContents/
402
403 2004-10-28  José Matos  <jamatos@lyx.org>
404
405         * output_docbook.C (makeEnvironment): move id to broadest possible
406         scope.
407
408         * sgml.C (openTag): apply substitution of <> for all attributes.
409
410 2004-10-28  José Matos  <jamatos@lyx.org>
411
412         * buffer.C (makeLinuxDocFile, makeDocBookFile):
413         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
414         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
415
416         * sgml.[Ch]: new version for open and closeTag for paragraph and
417         for strings. Now they handle the ids of paragraphs.
418
419 2004-10-26  Angus Leeming  <leeming@lyx.org>
420
421         * Makefile.am: add mover.[Ch].
422
423         * converter.C (convert, move): use the new Movers to move external
424         files to the temp directory.
425
426         * lyx_main.C (init): ensure that the global system_movers data
427         is initialised.
428
429         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
430         preferences file.
431
432         * mover.[Ch]: new files, defining a Mover as a utility to move an
433         external file between directories and, if necessary, manipulate this
434         file using a helper script.
435
436 2004-10-25  José Matos  <jamatos@lyx.org>
437
438         * output_docbook.C (makeCommand): merge two if's that tested the
439         same condition.
440
441 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
442
443         * sgml.C (escapeString): fix warning in a better way
444
445 2004-10-25  José Matos  <jamatos@lyx.org>
446
447         * sgml.C (escapeString): import the require boosts header file for
448         tie, and avoid a signed unsigned comparison.
449
450 2004-10-25  José Matos  <jamatos@lyx.org>
451
452         * sgml.h: add #include <string>
453
454 2004-10-25  José Matos  <jamatos@lyx.org>
455
456         * sgml.[Ch] (escapeString): new function to escape all the string.
457
458 2004-10-24  José Matos  <jamatos@lyx.org>
459
460         * paragraph.[Ch] (getFirstWord): new function to get the first
461         word. Useful for description.
462         (simpleDocBookOnePar): remove depth argument, add another that
463         says where to start the paragraph.
464
465         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
466         use the new functions to fix cleanly the support for descriptions.
467
468 2004-10-24  José Matos  <jamatos@lyx.org>
469
470         * buffer.C (makeLinuxDocFile, makeDocBookFile):
471         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
472         * output_linuxdoc.C (linuxdocParagraphs):
473         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
474         add buffer as argument.
475
476 2004-10-24  José Matos  <jamatos@lyx.org>
477
478         * output_docbook.C (makeEnvironment, searchEnvironment): place
479         CDATA inside paragraphs and fix scope for listitems.
480
481 2004-10-24  José Matos  <jamatos@lyx.org>
482
483         * output_docbook.C: remove using statement for stack.
484
485 2004-10-23  José Matos  <jamatos@lyx.org>
486
487         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
488         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
489         docbook. The new scheme is recursive and makes use of iterators, the
490         same as latex export works.
491         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
492         directly with the paragraph contents. This code was moved up to
493         output_docbook.C (docbookParagraphs).
494         * sgml.C (openTag, closeTag): removed unneeded newlines.
495         (closeEnvTags) removed.
496
497 2004-10-23  André Pönitz  <poenitz@gmx.net>
498
499         * undo.C (textUndoOrRedo):
500         * dociterator.C (asDocIterator): work around crash
501
502         * cursor.C (getStatus): replace ASSERT by more verbose error message
503           and manual correction of the problem. Should increase stability
504           while providing more sensible information.
505
506 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
509
510         * bufferlist.C (previous, next): new methods
511
512         * lfuns.h:
513         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
514
515 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
516
517         * buffer.C (makeDocBookFile): add dsssl stylesheet control
518         entities to preamble.
519
520 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
521
522         * messages.C (Pimpl): strip off translation context information
523
524 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
527         the cursor is correct (bug 1694)
528
529 2004-10-13  José Matos  <jamatos@lyx.org>
530
531         * output_docbook.C (docbookParagraphs): fix closing tags in the
532         end of the document.
533
534 2004-10-09  José Matos  <jamatos@lyx.org>
535
536         * buffer.C: format up to 237.
537         * bufferparams.C (write): use tostr to convert booleans to strings.
538
539 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
542
543 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
544
545         * LaTeX.C: implement use of babel language in xindy.
546
547 2004-10-05  José Matos  <jamatos@lyx.org>
548
549         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
550         Add new translators to help reading and writing the lyx file.
551
552 2004-10-05  José Matos  <jamatos@lyx.org>
553
554         * ParagraphParameters.C (read):
555         * text.C (readParToken): replace nexToken by more appropriate lex
556         methods.
557
558 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
559
560         * LaTeX.C (runMakeIndex):
561         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
562         (usually 'makeindex') configurable.
563
564         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
565         with a variable rather than with a number.
566
567 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
568
569         * output_latex.C (TeXOnePar): make sure font setting is the first
570         thing that gets output (and the last at the end). Should fix bug
571         1404.
572
573 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
574
575         * pch.h: use proper signal include
576
577         * LaTeX.h: Use preferred calling of Boost.Signal
578         * buffer.h: ditto
579
580 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
581
582         * pch.h: dont include <boost/function/function0.hpp>
583
584         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
585
586         * paragraph_pimpl.h: remove usage of ShareContainer
587
588         * paragraph_pimpl.C: remove initialization of ShareContainer.
589
590 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
591
592         Fix bug #1666
593
594         * BufferView.C (putSelectionAt): change the semantics when
595         backwards == true: now, this just swaps cursor and anchor wrt the
596         forward case
597
598         * BufferView.h (putSelectionAt): add some documentation
599
600         * lyxfind.C (findBackwards): rewrite using while(). In particular,
601         make sure backwardChar is done at least once (to avoid getting
602         stuck)
603         (findNextChange): use putSelectionAt in the forward direction
604         (operator()): use Paragraph::isWord
605
606 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
607
608         * Spacing.C (set): c_str fix
609
610 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
611
612         * lyx_cb.C (Reconfigure): quote the name of configure script in
613         case it contains spaces
614
615 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
616
617         * client: new dir
618
619         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
620         (BOOST_LIBS): use top_buildir when looking for the file
621
622 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
623
624         * pch.h: do not use include boost/format.hpp, multiple symbols
625                 will result (gcc bug)
626
627
628 2004-08-23  José Matos  <jamatos@lyx.org>
629
630         * bufferparams.C (readToken): fix reading of the author field.
631
632 2004-08-20  José Matos  <jamatos@lyx.org>
633
634         * lyxrc.C: remove support/translator.h inclusion since it is not used.
635
636 2004-08-20  José Matos  <jamatos@lyx.org>
637
638         * lyxlex.[Ch] (findToken): remove function.
639
640         * ParagraphParameters.C (findToken):
641         * bufferparams.C (findToken): replace call for previous function
642         with local copy. This local function has one more argument, the
643         read string argument.
644
645 2004-08-16  José Matos  <jamatos@lyx.org>
646
647         * ParagraphParameters.C (write):
648         * Spacing.C (writeFile):
649         * bufferparams.C (writeLaTeX):
650         * lyx_cb.C (Reconfigure):
651         * paragraph.C (write):
652         * tabular.C (write): remove unnecessary space at end of line.
653
654
655 2004-08-16  José Matos  <jamatos@lyx.org>
656
657         * text.C (readParagraph): remove debug message.
658
659 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
660
661         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
662         crash
663
664         * output_plaintext.C (asciiParagraph): set depth correctly
665
666         * outputparams.h: add member depth
667
668         * paragraph_funcs.C (ownerPar): remove.
669
670         * text2.C (setCounter): remove first_pit; comment out some
671         non-working code that uses ownerPar
672
673         * BufferView.C (getParentLanguage): remove. Not used anymore, and
674         uses ownerPar
675
676 2004-08-16  José Matos  <jamatos@lyx.org>
677
678         * text.C (readParToken, readParagraph, read): report all unknown tokens.
679         For the same level of importance use the same chanel to report problems.
680         (read): add code to deal with \begin_body and \end_body.
681
682
683 2004-08-15  José Matos  <jamatos@lyx.org>
684
685         * lyxlex.C (getString): fix comment, buffer::readBody is now
686         buffer:readDocument.
687
688         * tex-strings.C (string_papersize): Default -> default,
689         Custom -> custom, for consistency with other options.
690
691 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
692
693         * pch.h: new file
694
695         * Makefile.am: support pch
696
697 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
698
699         * text.C (readParToken): remove the static LyXFont variable and
700         pass it as a parameter instead. This fixes a nasty bug where an
701         inset will be inserted with a bad font in some situations
702         (readParagraph): adapt
703
704         * text2.C (setCounter): reduce number of calls to pars_[pit]
705
706         * text.C (singleWidth): add an assert, fix a test
707
708         * rowpainter.C (paintText): reduce number of calls to singleWidth
709
710         * paragraph.C (isHfill):
711         (isNewline): ws only
712
713 2004-08-14  André Pönitz  <poenitz@gmx.net>
714
715         * text.C:
716         * text2.C:
717         * rowpainter.C:
718         * lyxtext.h (several functions): use a Paragraph & argument
719         instead of par_type
720
721 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
722
723         * metricsinfo.h: add a new field ltr_pos to PainterInfo
724
725         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
726
727         * text.C (singleWidth): remove useless test
728
729 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * tabular.h: remove bogus comments
732
733         * tabular.C (getDescentOfRow):
734         (isPartOfMultiColumn): add assertions
735
736         * lyxlength.C (inPixels): remove #warning
737
738 2004-08-14  André Pönitz  <poenitz@gmx.net>
739
740         * paragraph.h: inline getChar()
741
742         * BufferView.h: remove unused declarations
743
744 2004-08-14  José Matos  <jamatos@lyx.org>
745
746         * Buffer.[Ch] (readDocument): new name for old readBody.
747         * Buffer.C: new file format, new keywords: \begin_document,
748         \begin_header, \begin_body, \end_body.
749
750         * bufferparams.C (readToken): replace all calls to lex.nextToken
751         by lex.next(). Do the same to eatLine except where really needed.
752
753         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
754         line when writing to the lyx file.
755
756         * output_plaintext.C (asciiParagraph): fix Bibliography style
757         handling.
758
759         * text.C (read): fix end of file handling.
760
761 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
762
763         * MenuBackend.C (Menu::operator[]): new method to access
764         individual menu items
765         (Menu::hasFunc): new method. search for an item that corresponds
766         to a given func
767         (MenuBackend::specialMenu): new method
768         (MenuBackend::expand): if a special menu has been set, skip
769         entries whose func() appears in this menu
770
771 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
772
773         * text3.C: use Debug::DEBUG a bit more
774
775         * text.C (leftMargin): try to simplify a tiny bit change var x to
776         l_margin. Dont output the wide margins always.
777         (rightMargin): no margin in inner texts
778
779         * rowpainter.h (nestMargin): new func
780         (changebarMargin): new func
781         (rightMargin): new func
782
783         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
784         now functions.
785         (paintLast): ditto
786
787         * factory.C (createInset): modify setDrawFrame
788
789         * cursor.C: use Debug::DEBUG a bit more
790
791 2004-08-14  André Pönitz  <poenitz@gmx.net>
792
793         * coordcache.[Ch]:
794         * Makefile.am: new files to accomodate an 'external' (x,y)-position
795         cache for all insets in (at least partially) visible (top-level)
796         paragraphs.
797
798         * BufferView_pimpl.C: reset external coord cache before every update.
799         This means the coord cache only contains valid entries.
800
801 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
802
803         bug 1096
804         * BufferView_pimpl.C (getInsetByCode): move function out of class
805         and change in to a template in anon namespace. Also fix to do what
806         suits us better.
807
808 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
809
810         bug 1305
811         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
812         of char
813         (breakParagraph): rename par to par_offset and use a local
814         reference. Add code to keep the language over a rebreak.
815         (breakParagraphConservative): rename par to par_offset, use a
816         local reference
817         (mergeParagraph): ditto
818         (outerHook): ditto
819         (isFirstInSequence): ditto
820         (outerFont): rename pit to par_offset
821
822         * paragraph.C: ws change
823         * paragraph.h: ditto
824         * text3.C: ditto
825         * text.C: ditto
826
827 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
830         treatment for ']'
831
832         * paragraph.C (simpleTeXOnePar): when we have a \item with
833         optional argument, enclose the argument with curly brackets (in
834         case it contains a closing square bracket)
835
836         * text2.C (editXY):
837         * text2.C (editXY):
838         * text3.C (checkInsetHit): constify
839
840 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
843         documents (bug 1629)
844
845 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         Fix toggling of collapsable insets with the mouse (bug 1558)
848
849         * lyxfunc.C (dispatch): adapt to LCursor changes
850
851         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
852         make sure that dispatch is not invoked twice
853
854         * cursor.C (needsUpdate): new method
855         (dispatch): return void
856         (result): new method, to access the DispatchResult of the cursor.
857
858 2004-08-13  José Matos  <jamatos@lyx.org>
859
860         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
861
862 2004-08-13  André Pönitz  <poenitz@gmx.net>
863
864         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
865
866         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
867           multiple cells
868
869 2004-08-12  André Pönitz  <poenitz@gmx.net>
870
871         * text3.C: take out the 'cursor right' form insertInset and only
872         do it in those places when it is really needed. Fixes crash on
873         C-m...
874
875 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
876
877         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
878
879         * BufferView_pimpl.C (setBuffer): initialize the current font of
880         the underlying LyXText
881
882 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * kbsequence.C (print): use UI native formatting for menu
885         shortcuts
886
887         * text.C (insertChar): call Paragraph::insertChar with a font
888         argument (cosmetic)
889
890         * paragraph.C (insertInset, insertChar): the version that takes a
891         LyXFont argument is now a wrapper around the other one (the
892         opposite used to be true).
893
894         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
895         argument. Font setting is done in Paragraph now.
896
897 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
898
899         * outputparams.h: add new members intitle and lang.
900
901         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
902         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
903
904 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
905
906         * text3.C (dispatch): remove special handling of button 4 and 5,
907         it is now taken care of in the frontend code.
908
909 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
910
911         * Spacing.h: add <string> (STLPort compile fix)
912
913 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
914
915         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
916
917 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
918
919         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
920         to bool.
921
922         * converter.C (showMessage): inherit from unary_function, make
923         operator() const.
924
925         * buffer.C (writeFile): initialize retval
926
927         * InsetList.h: rename private variable list to list_
928         * InsetList.[Ch]: adjust accordingly.
929
930 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
931
932         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
933         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
934         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
935         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
936         * ParagraphParameters.C, LaTeXFeatures.C: replace
937         "support/std_sstream.h" with <sstream>
938
939 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
940
941         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
942         * lyxsocket.C (LyXServerSocket): ditto
943         (serverCallback): ditto
944
945 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
946
947         * LaTeXFeatures.C: check release date when loading jurabib.
948
949 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
950
951         * lyxserver.C (startPipe): call register_socket_callback
952         (endPipe): call unregister_socket_callback
953
954 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
955
956         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
957         (LyXServerSocket): register the callback
958         (LyXServerSocket): unregister the callback
959         (fd): delete function
960         (serverCallback): improve error checking and setup the callbacks.
961         (dataCallback): change arg to fd.
962         (writeln): new func (copied fro the client socket) used for server
963         write to client.
964         (LyXDataSocket): simplify
965         (~LyXDataSocket): close ann unregiser callback
966         (server): delete function
967         (fd): delete function
968         (readln): small changes, improve some std::string usage
969         (writeln): constify a bit
970
971 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
972
973         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
974         Qt frontend
975
976 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * BufferView_pimpl.C (setBuffer): set the layout combox value only
979         after it has been populated
980
981 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * text2.C (insertInset): move cursor when inserting inset.
984
985 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
986
987         * kbmap.C (findbindings): a couple of new methods. returns a
988         container of kb_sequence objects. The real work is done by the
989         private recursive version
990         (printbindings): uses findbindings to print out a bracketed list
991         of bindings (renamed from findbinding).
992
993         * MenuBackend.C (binding): use kb_keymap::findbindings
994
995         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
996
997 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
998
999         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1000
1001 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * paragraph.C (isWord): return true on insets that report
1004         isLetter().
1005
1006         * text.C (getWord): use Paragraph::isWord to decide what is in a
1007         word and what is not; fix bug 1609.
1008
1009 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1010
1011         * tex-strings.C: add "none" to string_paperpackages[], fixes
1012         off-by-one-error in the paperpackage selection.
1013
1014         * lyxlex.[Ch]:
1015         * tex-strings.[Ch]: char const * string[n]
1016         -> char const * const string[]
1017
1018 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1019
1020         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1021         command, return early.
1022
1023 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1024
1025         * debug.h: add DEBUG to enum and fix size of ANY.
1026
1027         * debug.C: add support for Debug::DEBUG
1028         (showTags): cast errorTags.level to unsigned int
1029
1030         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1031         (redoCurrentBuffer): ditto
1032         (updateScrollbar): ditto
1033         * cursor.C (dispatch): ditto
1034         * text2.C (setLayout): ditto
1035         (setFont): ditto
1036         (updateCounters): ditto
1037         (editXY): ditto
1038         (deleteEmptyParagraphMechanism): ditto
1039
1040 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1041
1042         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1043         annotations to cleanup the Makefile slightly.
1044
1045 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1046
1047         * lyxrc.C: do not set user_email to a default value but use empty
1048         instead. The entry used to be translated, which does not work
1049         since at the point where lyxrc is constructed there is no
1050         translation service available
1051
1052         * messages.C (getLocaleDir): remove and use directly
1053         lyx_localedir() instead
1054
1055 2004-06-02  Angus Leeming  <leeming@lyx.org>
1056
1057         Fix crash caused by dereferencing null pointer 'exportdata' in
1058         OutputParams by creating a new ExportData variable on the heap,
1059         storing it in a boost::shared_ptr.
1060         The crash was triggered when generating an Instant Preview
1061         of an external inset.
1062
1063         * Makefile.am: add outputparams.C
1064
1065         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1066         (c-tor): allocate memory to it.
1067
1068         * exporter.C (c-tor): associated changes.
1069
1070 2004-06-01  Angus Leeming  <leeming@lyx.org>
1071
1072         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1073         contains data before calling isInset(0). (Bug 1513.)
1074
1075 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1076
1077         * exporter.C (checkOverwrite): new method
1078         * exporter.C (copyFile): new method
1079         * exporter.C (Export): copy referenced files to the document dir
1080         * exporter.[Ch]: new class ExportedFile
1081         * exporter.[Ch]: new class ExportData. Contains currently the
1082         names of referenced external files
1083         * outputparams.h: add exportdata member.
1084
1085 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1086
1087         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1088         version.C-tmp
1089
1090 2004-05-19  Angus Leeming  <leeming@lyx.org>
1091
1092         * LaTeXFeatures.C:
1093         * ToolbarBackend.C:
1094         * bufferparams.C:
1095         * lyxfunc.C: small changes due to the introduction of namespace
1096         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1097
1098 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1099
1100         * text3.C (dispatch): supress update when only moving the cursor
1101         * cursor.C (selHandle): remove commented code
1102
1103 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1104
1105         * paragraph.C (startTeXParParams): correct column count
1106         * CutAndPaste.C (pasteSelection): remove const_cast
1107         * output_docbook.C (docbookParagraphs): remove const_cast
1108         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1109         const_cast and return ParagraphList::const_iterator
1110         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1111         * output_plaintext.C (writeFileAscii): remove const_cast
1112         * paragraph.[Ch] (simpleTeXOnePar): make const
1113         * paragraph_funcs.C (outerPar): use const iterators
1114         * paragraph_pimpl.C (validate): use const iterators
1115         * text.C (setHeightOfRow): use const iterators
1116
1117 2004-05-17  Angus Leeming  <leeming@lyx.org>
1118
1119         * lfuns.h:
1120         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1121
1122         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1123         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1124         if the citation engine has changed.
1125
1126 2004-05-14  José Matos  <jamatos@lyx.org>
1127
1128         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1129         if the textclass does not provide it. Have it different for sgml and
1130         xml.
1131         support the language of document.
1132         * output_docbook.C (docbookParagraphs):
1133         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1134         first anchor as the id of the paragraph, remove special case code.
1135         * sgml.C (escapeChar): escape only < & >.
1136
1137 2004-05-14  Angus Leeming  <leeming@lyx.org>
1138
1139         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1140         dependencies on src/frontends/controllers/biblio.h. Define a
1141         CiteEngine_enum wrapper class to enable the enum to be forward
1142         declared.
1143
1144 2004-05-12  Angus Leeming  <leeming@lyx.org>
1145
1146         * buffer.C: up LYX_FORMAT to 234.
1147         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1148         use_numerical_citations with a single biblio::CiteEngine cite_engine
1149         variable.
1150         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1151
1152 2004-05-13  José Matos  <jamatos@lyx.org>
1153
1154         * converter.h:
1155         * converter.C (Converter, readFlags): add xml member.
1156         * outputparams.h: add XML flavor.
1157         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1158
1159 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1160
1161         * lyxfunc.C (dispatch):
1162         (getStatus): fix handling of LFUN_SEQUENCE
1163
1164 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1165
1166         * debug.C (showLevel): do not forget the end-of-line marker
1167
1168 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1169
1170         * kbmap.C (read): do not stop parsing a bind file when an error
1171         occurs (bug 1575)
1172
1173 2004-04-29  Angus Leeming  <leeming@lyx.org>
1174
1175         * cursor.C:
1176         * factory.C:
1177         * pariterator.C:
1178         * text2.C: wrap a bunch of #warning statements
1179         inside #ifdef WITH_WARNINGS blocks.
1180
1181 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1182
1183         * buffer.C: increment format to 233.
1184
1185 2004-04-28  Angus Leeming  <leeming@lyx.org>
1186
1187         * BufferView_pimpl.C:
1188         * lyxfunc.C:
1189         * text3.C:
1190         s/updateToolbar()/updateToolbars()/
1191         s/Toolbar.h/Toolbars.h/
1192
1193 2004-04-28  Angus Leeming  <leeming@lyx.org>
1194
1195         * BufferView.[Ch] (c-tor):
1196         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1197         No longer passes these data to the WorkArea generator.
1198
1199 2004-04-28  Angus Leeming  <leeming@lyx.org>
1200
1201         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1202
1203 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1204
1205         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1206
1207 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1208
1209         * output_latex.C (TeXEnvironment): make sure that there is a line
1210         break before \end{foo} for the last paragraph of a document
1211         (TeXOnePar): if the paragraph is at the end of the document (or
1212         inset) and the language has to be reset, then make sure that the
1213         line break is _before_ the language command, not after (fixes bug
1214         1225); also make sure that the language reset command is the first
1215         thing after the paragraph (to ensure proper nesting of
1216         environments and thus fix bug 1404)
1217
1218 2004-04-21  John Levon  <levon@movementarian.org>
1219
1220         * ToolbarBackend.h:
1221         * ToolbarBackend.C: make "name" be a programmatic name
1222         and a gui_name field.
1223
1224         * lyxfunc.C: display the minibuffer on M-x
1225
1226 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1229         (bug 1526)
1230
1231 2004-04-19  Angus Leeming  <leeming@lyx.org>
1232
1233         * BufferView_pimpl.C (setBuffer): changed preview interface.
1234
1235         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1236         possible values.
1237
1238 2004-04-19  John Levon  <levon@movementarian.org>
1239
1240         * BufferView_pimpl.C:
1241         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1242
1243 2004-04-05  Angus Leeming  <leeming@lyx.org>
1244
1245         * text.C (redoParagraphs): add call to updateCounters(), thereby
1246         fixing the missing "Figure #:" label from the caption of a
1247         figure float.
1248
1249 2004-04-13  Angus Leeming  <leeming@lyx.org>
1250
1251         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1252         cursor is clicked out of an inset.
1253
1254 2004-04-13  Angus Leeming  <leeming@lyx.org>
1255
1256         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1257         than an InsetOld one.
1258
1259 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1260
1261         * format.[Ch]: add editor to Format
1262         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1263         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1264
1265 2004-04-08  André Pönitz  <poenitz@gmx.net>
1266
1267         * metricsinfo.h: remove PainterInfo::width member
1268
1269 2004-04-08  Angus Leeming  <leeming@lyx.org>
1270
1271         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1272         "\providecommand" rather than "\newcommand", thereby preventing
1273         clashes with packages that define "\boldsymbol" themselves.
1274         Eg, beamer.
1275
1276 2004-04-08  Angus Leeming  <leeming@lyx.org>
1277
1278         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1279         thereby squashing an unnecessary warning.
1280
1281 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1282
1283         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1284         setBuffer()
1285
1286 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1287
1288         * BufferView.C (setCursor): call redoParagraph (some insets could
1289         have been opened)
1290         (putSelectionAt): remove the 'double update' trick
1291
1292         * BufferView_pimpl.C (fitCursor): call refreshPar
1293         (workAreaDispatch): remove an uneeded update call
1294         (dispatch): remove some manual update calls
1295
1296         * cursor.[Ch]: remove cached_y_, updatePos
1297         (selHandle): set noUpdate when appropriate
1298
1299         * lyxfunc.C (dispatch): track if we need an update
1300
1301         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1302
1303         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1304         (paintSelection): cheap optimization, do not call cursorX when not
1305         needed
1306         (paintPars): change signature
1307         (refreshPar): add
1308         (paintText): adjust
1309         (paintTextInset): adjust
1310
1311         * text.C: adjust
1312
1313 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1314
1315         * lengthcommon.C: compilation fix: remove explicit array size from
1316         unit_name[] and friends
1317
1318 2004-04-05  Angus Leeming  <leeming@lyx.org>
1319
1320         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1321
1322         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1323         present only for the preferences dialog.
1324         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1325
1326 2004-04-05  Angus Leeming  <leeming@lyx.org>
1327
1328         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1329         to enable the frontends to export changes to lyxrc correctly.
1330
1331         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1332
1333 2004-04-07  André Pönitz  <poenitz@gmx.net>
1334
1335         * cursor.[Ch] (selClear, adjust): remove math
1336
1337         * cursor_slice.C: more agressive assert
1338
1339         * lyxfunc.C:
1340         * BufferView_pimpl.C: rework mouse event dispatch
1341
1342         * dociterator.C:
1343         * paragraph.C:
1344         * text2.C:
1345         * text3.C: adjust
1346
1347 2004-04-05  André Pönitz  <poenitz@gmx.net>
1348
1349         * cursor.[Ch] (valign, halign...): remove unneeded functions
1350
1351 2004-04-05  Angus Leeming  <leeming@lyx.org>
1352
1353         * lyxlength.[Ch] (unit_name et al.): const-correct.
1354
1355 2004-04-05  Angus Leeming  <leeming@lyx.org>
1356
1357         * BufferView_pimpl.C:
1358         * buffer.C:
1359         * counters.C:
1360         * cursor.C:
1361         * lyxfunc.C
1362         * paragraph.C:
1363         * pariterator.C:
1364         * text.C:
1365         * text2.C:
1366         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1367
1368 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1369
1370         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1371
1372 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1375         * BufferView_pimpl.[Ch] (getStatus)
1376         * BufferView.[Ch] (getStatus): add
1377         * lyxfunc.C (getStatus): move lfuns handled in
1378         BufferView::dispatch to te function above
1379         * Cursor.C (setSelection): set selection() = true
1380
1381 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1384
1385 2004-03-31  Angus Leeming  <leeming@lyx.org>
1386
1387         * lyxfunc.C (dispatch): Fall through to the generic
1388         Dialogs::show("preamble").
1389
1390 2004-03-31  Angus Leeming  <leeming@lyx.org>
1391
1392         * lyxfunc.C (dispatch): Fall through to the generic
1393         Dialogs::show("spellchecker").
1394
1395 2004-03-31  Angus Leeming  <leeming@lyx.org>
1396
1397         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1398         preferences dialog.
1399
1400 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * BufferView.C
1403         * cursor.[Ch]
1404         * dociterator.[Ch]:
1405         * insetiterator.[Ch]:
1406         * lyxfind.C:
1407         * lyxfunc.C:
1408         * pariterator.[Ch]:
1409         * text2.C:
1410         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1411
1412 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1413
1414         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1415         insets where we are putting the cursor.
1416
1417 2004-03-31  Angus Leeming  <leeming@lyx.org>
1418
1419         * lfuns.h:
1420         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1421
1422         * lyxrc.[Ch] (read, write): overloaded member functions taking
1423         a std::[io]stream arguments.
1424
1425         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1426
1427 2004-03-31  Angus Leeming  <leeming@lyx.org>
1428
1429         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1430         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1431
1432         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1433         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1434
1435 2004-03-31  Angus Leeming  <leeming@lyx.org>
1436
1437         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1438         the LFUN_ALL_INSETS_TOGGLE code.
1439
1440 2004-03-30  Angus Leeming  <leeming@lyx.org>
1441
1442         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1443         has died. Fall through to the generic Dialogs::show("document").
1444
1445 2004-03-30  Angus Leeming  <leeming@lyx.org>
1446
1447         * lfuns.h:
1448         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1449         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1450
1451         * lyxfunc.C (getStatus, dispatch): define the actions for these
1452         lfuns. Little more than a cut and pste job from ControlDocument.C
1453
1454         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1455
1456 2004-03-30  Angus Leeming  <leeming@lyx.org>
1457
1458         * lfuns.h:
1459         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1460         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1461
1462         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1463         open/closed state of ollapsable insets. Usage:
1464
1465         all-inset-toggle <state> <name>, where
1466         <state> == "open" || "closed" || "toggle" and
1467         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1468
1469         * lyxtext.h, text2.C (toggleInset): removed.
1470
1471         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1472         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1473         now passes LFUN_INSET_TOGGLE to the found inset.
1474
1475         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1476         is now invoked as "all-insets-toggle toggle branch".
1477
1478 2004-03-30  Angus Leeming  <leeming@lyx.org>
1479
1480         * dociterator.C:
1481         * insetiterator.C:
1482         * pariterator.[Ch]: added/corrected header blurb.
1483
1484 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1485
1486         * dociterator.[Ch]: add an inset_ member
1487         (backwardPos): implemented
1488         (backwardPos, forwardPos): use inset_ when the stack is empty.
1489         (doc_iterator_begin, doc_iterator_end): implemented
1490         * pariterator.[Ch]: adjust, add begin, end
1491         * insetiterator.[Ch]: adjust, add begin, end
1492         * cursor.C:
1493         * document.C:
1494         * BufferView.C:
1495         * BufferView_pimpl.C:
1496         * CutAndPaste.C: adjust
1497
1498 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1499
1500         * buffer.C: increment file format to 232.
1501         * LaTeXFeatures.C: add bibtopic package.
1502         * bufferparams.[Ch]: param \use_bibtopic.
1503
1504         * lyxrc.[Ch]: add lyxrc bibtex_command
1505         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1506
1507         * buffer.C: increment file format to 231.
1508
1509 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * dociterator.C: implement forwardPar
1512         * iterators.[Ch]: remove, replaced by
1513         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1514         * BufferView.C:
1515         * BufferView_pimpl.C:
1516         * CutAndPaste.C:
1517         * buffer.C:
1518         * bufferview_funcs.C:
1519         * cursor.C:
1520         * lyxfind.C
1521         * lyxfunc.C
1522         * paragraph_funcs.C
1523         * toc.C:
1524         * Makefile.am: adjust
1525
1526 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1527
1528         * CutAndPaste.C (pasteSelection): fix 2 crashes
1529         (eraseSelection): fix a crash
1530         * paragraph_funcs.C: remove a warning
1531
1532 2004-03-28  Angus Leeming  <leeming@lyx.org>
1533
1534         * lfuns.h:
1535         * LyXAction.C (init): new LFUN_PRINT.
1536
1537         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1538
1539 2004-03-27  Angus Leeming  <leeming@lyx.org>
1540
1541         * lfuns.h:
1542         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1543
1544         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1545
1546 2004-03-27  Angus Leeming  <leeming@lyx.org>
1547
1548         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1549         insetlist always contains non-null pointers to insets.
1550
1551 2004-03-26  Angus Leeming  <leeming@lyx.org>
1552
1553         * src/BufferView_pimpl.C:
1554         * src/CutAndPaste.C:
1555         * src/buffer.C:
1556         * src/iterators.C:
1557         * src/output_plaintext.C:
1558         * src/outputparams.h:
1559         * src/paragraph_funcs.C:
1560         * src/rowpainter.C:
1561         * src/text.C:
1562         * src/text2.C:
1563         * src/frontends/controllers/ControlErrorList.C:
1564         * src/frontends/gtk/FileDialogPrivate.C:
1565         * src/frontends/gtk/GPainter.C:
1566         * src/frontends/gtk/GToolbar.C:
1567         * src/frontends/qt2/QRef.C:
1568         * src/mathed/math_scriptinset.C: squash compiler warnings.
1569
1570 2004-03-26  Angus Leeming  <leeming@lyx.org>
1571
1572         * ispell.C (LaunchIspell::start):
1573         * lyx_cb.C (AutoSaveBuffer::start):
1574         invoke run(DontWait) rather than runNonBlocking().
1575
1576 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1577
1578         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1579
1580 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * kbsequence.C (print): adjust
1583
1584         * kbmap.C (printKeySym): rename and change signature
1585         (printKey): use LyXKeySym::print()
1586
1587 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1588
1589         * undo.C: add using std::advance to compile for stlport
1590
1591 2004-03-24  Angus Leeming  <leeming@lyx.org>
1592
1593         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1594         it leads to a crash when no buffer is present.
1595
1596 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597             Martin Vermeer  <martin.vermeer@hut.fi>
1598
1599         * lyxfunc.C (dispatch):
1600         * bufferparams.C (readToken): use the new LColor::setColor
1601
1602         * LColor.[Ch] (setColor): new version that takes two strings as
1603         argument and creates a new color entry if necessary
1604
1605 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1606
1607         * buffer.C (makeLaTeXFile): if the main latex file that is
1608         processed is usually a subdocument of some master, then pretend
1609         for a while that it is actually the master
1610
1611 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1612
1613         * buffer.C (getLabelList):
1614         (getBibkeyList): use getMasterBuffer()
1615         (getMasterBuffer): new method. Returns the main document in the
1616         case where one is using included documents.
1617
1618 2004-03-25  André Pönitz  <poenitz@gmx.net>
1619
1620         * Makefile.am:
1621         * iterators.[Ch]:
1622         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1623
1624         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1625
1626         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1627         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1628
1629         * ParameterStruct.h: merge with ParagraphParameters
1630
1631         * lyxtext.h: remove LyXText::parOffset() and getPar()
1632
1633         * text3.C: Remove all 'manual' update calls. We do now one per user
1634         interaction which is completely sufficient.
1635
1636         * Bidi.C:
1637         * BufferView.[Ch]:
1638         * BufferView_pimpl.C:
1639         * FontIterator.[Ch]:
1640         * MenuBackend.C:
1641         * ParagraphParameters.[Ch]:
1642         * buffer.C:
1643         * buffer.h:
1644         * bufferlist.C:
1645         * cursor.[Ch]:
1646         * cursor_slice.[Ch]:
1647         * dociterator.[Ch]:
1648         * errorlist.[Ch]:
1649         * factory.C:
1650         * lfuns.h:
1651         * lyxfind.C:
1652         * lyxfunc.C:
1653         * output_docbook.[Ch]:
1654         * output_latex.[Ch]:
1655         * output_linuxdoc.[Ch]:
1656         * output_plaintext.[Ch]:
1657         * paragraph.[Ch]:
1658         * paragraph_funcs.[Ch]:
1659         * paragraph_pimpl.[Ch]:
1660         * rowpainter.C:
1661         * tabular.[Ch]:
1662         * text.C:
1663         * text2.C:
1664         * toc.C:
1665         * undo.[Ch]: adjust
1666
1667         * frontends/controllers/ControlDocument.C:
1668         * frontends/controllers/ControlErrorList.C:
1669         * frontends/controllers/ControlSpellchecker.C:
1670         * insets/inset.C:
1671         * insets/inset.h:
1672         * insets/insetbase.h:
1673         * insets/insetbibitem.C:
1674         * insets/insetbox.C:
1675         * insets/insetbranch.C:
1676         * insets/insetcaption.C:
1677         * insets/insetcharstyle.C:
1678         * insets/insetcharstyle.h:
1679         * insets/insetcollapsable.C:
1680         * insets/insetcollapsable.h:
1681         * insets/insetert.C:
1682         * insets/insetfloat.C:
1683         * insets/insetfoot.C:
1684         * insets/insetmarginal.C:
1685         * insets/insetnote.C:
1686         * insets/insetoptarg.C:
1687         * insets/insettabular.C:
1688         * insets/insettext.C:
1689         * insets/insettext.h:
1690         * insets/insetwrap.C:
1691         * mathed/math_mboxinset.C:
1692         * mathed/math_nestinset.C:
1693         * mathed/math_scriptinset.C:
1694         * mathed/math_scriptinset.h:
1695         * support/types.h:
1696
1697 2004-03-24  Angus Leeming  <leeming@lyx.org>
1698
1699         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1700         deal with any child processes that have finished but are waiting to
1701         communicate this fact to the rest of LyX.
1702
1703 2004-03-24  Angus Leeming  <leeming@lyx.org>
1704
1705         64-bit compile fixes.
1706
1707         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1708         (c-tor): pass lyx::pos_types rather than ints.
1709
1710         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1711         lyx::pos_type.
1712
1713         * text.C (Delete): compile fix.
1714         (getPar): ensure that function declaration is the same as that in
1715         the header file.
1716
1717 2004-03-23  Angus Leeming  <leeming@lyx.org>
1718
1719         * ispell.C (LaunchIspell):
1720         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1721         a boost::shred_ptr rather than a std::auto_ptr.
1722
1723 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1726         handle LFUN_FILE_INSERT_*
1727
1728         * lyxrc.C (setDefaults, getDescription, output, read):
1729         * lyxrc.h: remove ps_command
1730
1731 2004-03-22  Angus Leeming  <leeming@lyx.org>
1732
1733         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1734         Ensure that error_handler is processed once only and that all data
1735         is saved before attempting to output any warning messages.
1736
1737         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1738
1739 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1740
1741         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1742
1743 2004-03-19  André Pönitz  <poenitz@gmx.net>
1744
1745         * cursor.[Ch] (reset): take main text inset as argument
1746
1747         * BufferView: adjust
1748         * BufferView_pimpl.C: adjust
1749
1750         * paragraph.[Ch]: fix completely broken operator=()
1751
1752 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1753
1754         * LColor.C (getFromLyXName): make sure that the color name is used
1755         as lowercase.
1756
1757 2004-03-17  Angus Leeming  <leeming@lyx.org>
1758
1759         * lfuns.h:
1760         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1761
1762         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1763         dialog and to kill a forked process.
1764
1765 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * text2.C (setCursorFromCoordinates): fix font problem
1768
1769 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1770
1771         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1772         bogus "rebuild cursor" code
1773
1774 2004-03-11  André Pönitz  <poenitz@gmx.net>
1775
1776         * buffer.[Ch]: use InsetText instead of LyXText as container for
1777         the main lyx text.
1778
1779         * dociterator.[Ch]: drop the BufferView * member which is not needed
1780         anymore after the change to buffer.C
1781
1782         * paragraph_funcs.C:
1783         * text.C:
1784         * text2.C:
1785         * BufferView.[Ch]:
1786         * BufferView_pimpl.[Ch]:
1787         * cursor.[Ch]:
1788         * cursor_slice.[Ch]: adjust
1789
1790         * text3.C: fix bug in mathDispatch
1791
1792 2004-03-08  André Pönitz  <poenitz@gmx.net>
1793
1794         * undo.[Ch]: use 'StableDocumentIterator' as base for
1795         the Undo struct.
1796
1797 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1798
1799         * LaTeXFeatures.C:
1800         * bufferparams.[Ch]: add jurabib support and param.
1801
1802         * LaTeX.C: add FIXME/comment.
1803
1804 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1805
1806         * buffer.C: increment file format to 230.
1807
1808 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * cursor.C (dispatch): avoid infinite loops
1811
1812 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * rowpainter.C (paintSelection): fix x coordinates
1815
1816 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1817
1818         * text.C (rowBreakPoint): fix breaking before displayed insets
1819
1820 2004-03-01  André Pönitz  <poenitz@gmx.net>
1821
1822         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1823
1824         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1825
1826         * Makefile.am:
1827         * BufferView.C:
1828         * BufferView_pimpl.C:
1829         * buffer.C:
1830         * lyxfind.C:
1831         * lyxfunc.C:
1832         * text.C:
1833         * text2.C:
1834         * text3.C: adjust
1835
1836 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1837
1838         * lyxtext.h:
1839         * text.C:
1840         * text2.C:
1841         * rowpainter.C:
1842         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1843         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1844
1845 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1846
1847         * Bidi.[Ch] (computeTables): const correctness
1848         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1849         fill_hfill, fill_label_hfill and x from Row
1850         * lyxtext.h: prepareToPrint returns a RowMetrics
1851         * rowPainter.C: adjust
1852         * text.C (prepareToPrint): use width, not textWidth. adjust
1853         (redoParagraphInternal, cursorX): adjust
1854         * text2.C (getColumnNearX): adjust
1855         (init): put a default value to the top LyXText::width
1856
1857 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1858
1859         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1860
1861 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * lyxtext.h: add FontIterator class
1864
1865         * text.C (FontIterator, operator*, operator->, operator++): add
1866         (rowBreakPoint, setRowWidth): adjust (fixing a
1867         rebreaking bug)
1868
1869 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * BufferView_pimpl.C (workAreaDispatch): allow also
1872         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1873
1874 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1875
1876         * text.C (rowBreakPoint): fix a bug showing with very large insets
1877
1878 2004-02-25  André Pönitz  <poenitz@gmx.net>
1879
1880         * text3.C:
1881         * cursor.[Ch]: move some mathed specific code to mathed
1882
1883 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1884
1885         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1886         use_tempdir in preferences
1887         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1888         tempfile creation
1889         * lyx_main.C: ensure that tempdir is valid
1890         * lyxlex.h: correct typo
1891         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1892         * paragraph.[Ch] (isMultiLingual): make const
1893         * cursor.[Ch] (openable): make const
1894
1895 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1896
1897         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1898
1899 2004-02-20  André Pönitz  <poenitz@gmx.net>
1900
1901         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1902
1903         * cursor.[Ch]: prepare for localized getStatus()
1904
1905         * lyxtext.h:
1906         * tabular.C:
1907         * text.C:
1908         * text2.C:
1909         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1910
1911 2004-02-20  André Pönitz  <poenitz@gmx.net>
1912
1913         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1914
1915 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1916
1917         * text2.C (setCursorFromCoordinates): switch to absolute coords
1918         (cursorUp): adjust
1919         (cursorDown): adjust
1920         * text3.C (dispatch): adjust
1921
1922 2004-02-16  André Pönitz  <poenitz@gmx.net>
1923
1924         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1925           insets/ChangeLog)
1926
1927         * cursor_slice.[Ch]: remove unneeded acessor function
1928
1929         * lyxtext.h: rename rtl() to isRTL()
1930
1931         * rowpainter.C:
1932         * tabular.C:
1933         * text.C:
1934         * text2.C:
1935         * text3.C: adjust
1936
1937 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * rowpainter.C (paintSelection): coord fix
1940
1941 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1942
1943         * Spacing.C: compile fix
1944
1945 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1946
1947         * cursor.C (dispatch): restore current_ before returning
1948
1949 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * text2.C (cursorUp, cursorDown): fix coords
1952         (moveUp): fix crash
1953
1954 2004-02-12  André Pönitz  <poenitz@gmx.net>
1955
1956         * lyxtext.h:
1957         * text.C:
1958         * text2.C:
1959         * text3.C: add LCursor & parameter to most cursor movement functions
1960           remove usage of LyXText::cursorRow() and cursorPar()
1961
1962         * cursor.[Ch]: add textRow() needed members
1963
1964         * BufferView.C:
1965         * BufferView_pimpl.C:
1966         * paragraph.[Ch]:
1967         * BufferView.C:
1968         * BufferView_pimpl.C: adjust
1969
1970 2004-02-11  André Pönitz  <poenitz@gmx.net>
1971
1972         * lyxfunc.C:
1973         * BufferView.[Ch]:
1974         * BufferView_pimpl.C: shift undo/redo handling
1975
1976         * cursor.[Ch]: fix mathed crash
1977
1978         * lyxfind.C:
1979         * lyxtext.h: move selectionAsText to LCursor
1980
1981         * output_latex.C:
1982         * paragraph.C:
1983         * text.C:
1984         * text2.C:
1985         * text3.C: adjust
1986
1987         * rowpainter.C: fix excessive drawing
1988
1989 2004-02-06  André Pönitz  <poenitz@gmx.net>
1990
1991         * BufferView.[Ch]:
1992         * BufferView_pimpl.[Ch]:
1993         * text3.C: move some text specific LFUN handling
1994
1995 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1996
1997         * text3.C (checkInsetHit): adjust coords
1998         * text2.C (getColumnNearX): adjust coords
1999         (edit): adjust coords
2000         * text.C (getRowNearY): add two asserts
2001
2002 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2003
2004         * converter.C:
2005         * format.C: add using std::distance to compile on gcc 2.95/stlport
2006
2007 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2008
2009         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2010
2011 2004-02-04  André Pönitz  <poenitz@gmx.net>
2012
2013         * BufferView.[Ch] (insertInset):
2014         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2015
2016         * text2.C:
2017         * text3.C: adjust
2018
2019 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2020
2021         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2022         on the default clause of the switch
2023         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2024         wasn't catched by LCursor::dispatch
2025
2026 2004-02-03  André Pönitz  <poenitz@gmx.net>
2027
2028         * BufferView.C:
2029         * cursor.[Ch]: some additional asserts
2030
2031         * undo.[Ch]: remove LyXText dependency in interface
2032
2033         * lyxfunc.C: adjust
2034
2035         * lyxtext.h (firstPar, lastPar): remove dead functions
2036
2037         * text.C:
2038         * text2.C:
2039         * text3.C:
2040         * paragraph.[Ch]: adjust
2041
2042 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2043
2044         * lyxfind.C (find): fix argument order in call to ::find
2045
2046 2004-02-02  André Pönitz  <poenitz@gmx.net>
2047
2048         * cursor.[Ch]: remove direct access to anchor
2049
2050         * text.C: remove findText() hack
2051
2052 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2053
2054         * iterators.[Ch] (lockPath): remove in favour of...
2055         * BufferView.[Ch] (setCursor): this addition
2056         * BufferView.C (putSelectionAt): adjust
2057         * undo.C (performUndoOrRedo): adjust
2058         * lyxfunc.C (dispatch): adjust
2059
2060 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2061
2062         * iterators.C (lockPath): add a missing slice
2063         * undo.C (performUndoOrRedo): remove redundant positioning code
2064
2065 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2066
2067         * vc-backend.C (scanMaster): ";" -> ';'
2068
2069 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2070
2071         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2072         std::binary_function
2073
2074         * lyxtextclass.C (compare_name): rename to...
2075         (LayoutNamesEqual): ...this
2076
2077         * lyxlex_pimpl.C (compare_tags): inherit from
2078         std::binary_function, put back into anon namespace
2079
2080         * lyxfind.C (MatchString): inherig from std::binary_function
2081         (findChange): use empty() istead of !size()
2082
2083         * format.C (FormatNamesEqual): new functor
2084         (getFormat): use it
2085         (getNumber): use it
2086         (add): use it
2087         (erase): use it
2088         (setViewer): use it
2089
2090         * converter.C (compare_Converter): rename to...
2091         (ConverterEqual): ...this, and fixup a bit.
2092         (getConverter): use it, and make function const
2093         (getNumber): use it, and make function const
2094         (add): use it
2095         (erase): use it:
2096
2097         * bufferlist.C: add using boost::bind
2098
2099         * MenuBackend.C (MenuNamesEqual): new functor
2100         (hasMenu): use it, and make function const
2101         (hasSubmenu): use nested bind to get rid of compare_memfun.
2102
2103 2004-01-30  André Pönitz  <poenitz@gmx.net>
2104
2105         * BufferView_pimpl.C:
2106         * cursor.C:
2107         * cursor.h:
2108         * cursor_slice.[Ch]:
2109         * lyxfunc.C:
2110         * lyxtext.h:
2111         * paragraph_funcs.C:
2112         * paragraph_funcs.h:
2113         * rowpainter.C:
2114         * text.C:
2115         * text2.C:
2116         * text3.C: move some of the edit(x,y) handling to the insets
2117         some coordinate changes.
2118
2119 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2120
2121         * text.C: add using statements for std::advance and std::distance
2122
2123         * paragraph.C: add using statement for std::distance
2124
2125         * lyxfind.C: add using statement for std::advance
2126
2127         * cursor.C (region): remove std:: from swap
2128         (openable): use nucleus in stead of operator->
2129
2130         * BufferView.C: add using statements for std::distance and std::swap
2131
2132 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2133
2134         * iterators.C: Remove the pimple, move the needed structures to
2135         the header file. Create accessor for the positions stack.
2136         (asPosIterator): remove function
2137
2138         * PosIterator.C (PosIterator): move constructors to top of file
2139         (PosIterator): reimplement the constructor taking a ParIterator in
2140         terms of setFrom.
2141         (setFrom): new function
2142         (operator!=): inline it
2143
2144 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2145
2146         * lyxfind.C (replaceAll): use std::advance
2147
2148         * iterators.h: inherit from std::iterator.
2149
2150         * PosIterator.C (advance, distance): remove
2151         * PosIterator.h: interit from std::iterator.
2152
2153 2004-01-26  André Pönitz  <poenitz@gmx.net>
2154
2155         * BufferView.[Ch]:
2156         * BufferView_pimpl.[Ch]:
2157         * InsetList.[Ch]:
2158         * PosIterator.[Ch]:
2159         * buffer.h:
2160         * bufferview_funcs.C:
2161         * cursor.[Ch]:
2162         * cursor_slice.h:
2163         * factory.[Ch]:
2164         * iterators.[Ch]:
2165         * lyxfind.C:
2166         * lyxfunc.C:
2167         * lyxtext.h:
2168         * output_docbook.C:
2169         * output_latex.C:
2170         * output_linuxdoc.C:
2171         * output_plaintext.C:
2172         * paragraph.[Ch]:
2173         * paragraph_funcs.[Ch]:
2174         * paragraph_pimpl.[Ch]:
2175         * rowpainter.C:
2176         * tabular.C:
2177         * tabular.h:
2178         * text.C:
2179         * text2.C:
2180         * text3.C: more IU:  dumps most of the rest of the mathcursor
2181     implementation into cursor.[Ch]; "globalize" a bit of it.
2182
2183 2004-01-25  Angus Leeming  <leeming@lyx.org>
2184
2185         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2186
2187 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2188
2189         * LaTeXFeatures.h: add nice_ and nice() const
2190         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2191
2192 2004-01-20  André Pönitz  <poenitz@gmx.net>
2193
2194         * BufferView.[Ch]:
2195         * BufferView_pimpl.C:
2196         * PosIterator.C:
2197         * bufferview_funcs.C:
2198         * cursor.[Ch]:
2199         * cursor_slice.[Ch]:
2200         * factory.C:
2201         * iterators.C:
2202         * lyx_cb.C:
2203         * lyxfind.C:
2204         * lyxfunc.C:
2205         * lyxtext.h:
2206         * rowpainter.C:
2207         * text.C:
2208         * text2.C:
2209         * text3.C:
2210         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2211           LCursor and mathcursor parts to LCursor and InsetBase.
2212
2213 2004-01-15  André Pönitz  <poenitz@gmx.net>
2214
2215         * cursor_slice.[Ch]: add a few covienience functions
2216
2217         * funcrequest.[Ch]: remove BufferView * member
2218
2219         * BufferView_pimpl.C:
2220         * cursor.C:
2221         * factory.[Ch]:
2222         * lyxfind.[Ch]:
2223         * lyxfunc.C:
2224         * lyxtext.h:
2225         * text3.C:
2226         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2227
2228 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2229
2230         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2231         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2232
2233 2004-01-13  André Pönitz  <poenitz@gmx.net>
2234
2235         * textcursor.[Ch]:
2236         * lyxtext.h: hide cursor and selection anchor behind accessor function
2237
2238         * BufferView.C:
2239         * BufferView_pimpl.[Ch]:
2240         * PosIterator.C:
2241         * bufferview_funcs.C:
2242         * cursor.h:
2243         * lyxfind.C:
2244         * lyxfunc.C:
2245         * text.C:
2246         * text2.C:
2247         * text3.C:
2248         * undo.C: adjust
2249
2250         * cursor.h:
2251         * cursor_slice.[Ch]: some integer type changes for inset unification
2252
2253         * lyxcursor.[hC]: remove, it's CursorSlice now.
2254
2255         * Makefile.am:
2256         * BufferView_pimpl.[Ch]:
2257         * bufferview_funcs.C:
2258         * cursor_slice.C:
2259         * lyxtext.h:
2260         * text.C:
2261         * text2.C:
2262         * text3.C:
2263         * textcursor.[Ch]: adjust
2264
2265 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2266
2267         * text2.C (undoSpan): add and use
2268         * text.C (breakParagraph): use undoSpan (fix bug 578)
2269         * lyxtext.h: adjust
2270
2271 2004-01-08  Angus Leeming  <leeming@lyx.org>
2272
2273         * BufferView_pimpl.C (MenuInsertLyXFile):
2274         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2275         * lyxfunc.C (menuNew, open, doImport):
2276         FileFilterList change to the FileDialog open and save functions.
2277
2278 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2279
2280         * ShareContainer.h: make isEqual and isUnique adaptable
2281
2282         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2283
2284 2004-01-07  Angus Leeming  <leeming@lyx.org>
2285
2286         * LyXAction.C:
2287         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2288
2289         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2290
2291         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2292         functions replacing find, replace and replaceAll.
2293
2294         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2295         LFUN_WORDFIND(FORWARD|BACKWARD).
2296
2297 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2298
2299         * text.C (breakParagraph): remove an outdated #warning
2300
2301 2004-01-07  André Pönitz  <poenitz@gmx.net>
2302
2303         * lyxfind.C: somewhat clearer logic
2304
2305         * text.C: prevent crash in cursorX on unitialized row cache
2306
2307 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2308
2309         * lyxcursor.[Ch] (operator>): add
2310         * textcursor.C (selStart, selEnd): use std::min and std::max
2311
2312 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2313
2314         * Chktex.C: include boost/format.hpp
2315
2316 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2317
2318         * InsetList.C: replace functor MathcIt with adaptable functor
2319         InsetTablePosLess
2320         (insetIterator): modify accordingly
2321
2322         * BranchList.h: move the BranchNamesEqual functor here from...
2323         * BranchList.C: ... to here
2324
2325         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2326         SameName and match.
2327         (add): replace a finding loop with std::find_if.
2328
2329 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2330
2331         * output_docbook.C: moving LatexParam functionality into
2332         .layout files
2333
2334 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2335
2336         * buffer.C: increment format to 229.
2337
2338 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2339
2340         * LaTeXFeatures.C:
2341         * lyx_sty.[Ch]: remove minipageindent_def
2342
2343         * LyXAction.C:
2344         * factory.C:
2345         * lfuns.h:
2346         * lyxfunc.C:
2347         * text3.C: remove LFUN_INSET_MINIPAGE
2348
2349 2003-12-28  Angus Leeming  <leeming@lyx.org>
2350
2351         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2352
2353 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2354
2355         * text2.C (setParagraph): fix off-by-one crash
2356
2357 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2358
2359         * output_docbook.C: header stuff for AGU
2360
2361 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2362
2363         * text2.C (redoCursor): remove
2364         * text.C:
2365         * text3.C:
2366         * BufferView_pimpl.C: remove calls to redoCursor and
2367         setCursor(cursor.par(), cursor.pos()) all around
2368
2369 2003-12-15  Angus Leeming  <leeming@lyx.org>
2370
2371         * buffer.C: up the format to 228.
2372
2373 2003-12-15  André Pönitz  <poenitz@gmx.net>
2374
2375         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2376         slices
2377
2378         * Makefile.am:
2379
2380         * BufferView_pimpl.C:
2381         * cursor.[Ch]:
2382         * lyxcursor.[Ch]:
2383         * rowpainter.[Ch]:
2384         * lyxtext.h:
2385         * text.C:
2386         * text2.C:
2387         * text3.C: adjust
2388
2389 2003-12-15  Angus Leeming  <leeming@lyx.org>
2390
2391         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2392         than getFromGUIName to manipulate the color.
2393
2394 2003-12-14  Angus Leeming  <leeming@lyx.org>
2395
2396         * BranchList.[Ch]: minimize the API.
2397         (Branch::getBranch, getColor): now return a 'const &'.
2398         (Branch::setSelected) now returns a bool set to true if the
2399         selection status changes.
2400         (BranchList::clear, size, getColor, setColor, setSelected,
2401         allBranches, allSelected, separator): removed.
2402         (BranchList::find): new functions, returning the Branch with
2403         the given name.
2404         (BranchList::add, remove): return a bool indicating that
2405         the operation was successful.
2406
2407         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2408         new InsetBranch::isBranchSlected member function.
2409
2410         * LColor.[Ch]: mimimize the API.
2411         (fill): renamed as addColor and made private.
2412         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2413         versions of these functions taking a string arg have been removed.
2414
2415         * bufferparams.C (readToken):
2416         * lyxfunc.C (dispatch):
2417         * lyxrc.C (read): changes due to the altered BranchList and
2418         LColor APIs.
2419
2420         * factory.C (createInset, readInset): changes due to altered
2421         InsetBranch c-tor.
2422
2423 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2424
2425         * factory.C:
2426         * lyxfunc.C: remove insetminipage. "minipage-insert"
2427         now produces a frameless minipage box inset.
2428
2429 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2430
2431         * textcursor.[Ch] (selStart,selEnd): add new methods
2432         remove selection::start, end, use LyXCursor::operator<
2433         * lyxcursor.[Ch] (operator<): add
2434         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2435         * BufferView.[Ch] (unsetXSel): add
2436         * text2.C (clearSelection): use unsetXSel,adjust
2437         * text.C: adjust
2438         * text3.C: adjust
2439         * rowpainter.C: adjust
2440         * bufferview_funcs.C (put_selection_at): adjust
2441
2442 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2443
2444         * BufferView_pimpl.C: small coord. correction
2445
2446 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2447
2448         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2449         dragging over the splash screen.
2450
2451 2003-12-11  Angus Leeming  <leeming@lyx.org>
2452
2453         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2454         as it is now handled in LyXText::dispatch.
2455
2456         * text3.C (doInsertInset): remove a level of nesting.
2457
2458 2003-12-11  Angus Leeming  <leeming@lyx.org>
2459
2460         * factory.C (createInset): changes due to the changed interface to
2461         InsetCommandMailer::string2params.
2462
2463 2003-12-10  Angus Leeming  <leeming@lyx.org>
2464
2465         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2466         'dialog-show-new-inset <inset name>'
2467
2468 2003-12-10  Angus Leeming  <leeming@lyx.org>
2469
2470         * buffer.C: up the format to 227.
2471
2472         * factory.C: the box inset is now identified simply by 'Box'.
2473
2474 2003-12-10  Angus Leeming  <leeming@lyx.org>
2475
2476         * buffer.C: up the format to 226.
2477
2478         * factory.C: the note inset is now identified simply by 'Note'.
2479
2480 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2481
2482         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2483         when a pit is enough. Standarize a couple of loops.
2484
2485 2003-12-05  Angus Leeming  <leeming@lyx.org>
2486
2487         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2488         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2489         data to the re-worked "log" dialog.
2490
2491 2003-12-03  André Pönitz  <poenitz@gmx.net>
2492
2493         * PosIterator.C:
2494         * iterators.C:
2495         * lyxtext.h:
2496         * output_latex.C:
2497         * paragraph_funcs.C:
2498         * text.C:
2499         * text2.C: use Inset::getText instead of Inset::getParagraph
2500
2501 2003-12-03  André Pönitz  <poenitz@gmx.net>
2502
2503         * buffer.[Ch]:
2504         * lyxtext.h:
2505         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2506         InsetText::read() as LyXText::read()
2507
2508 2003-12-02  Angus Leeming  <leeming@lyx.org>
2509
2510         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2511         type. Add a comment in the implementation that the function uses
2512         the stream's bad() function rather than fail() as the std::streams
2513         would do.
2514
2515 2003-12-02  André Pönitz  <poenitz@gmx.net>
2516
2517         * lyxlex.[Ch]: make interface more similar to std::stream
2518
2519         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2520
2521 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2522
2523         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2524
2525 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2526
2527         * vspace.[Ch]: remove VSpace::NONE
2528
2529 2003-12-01  André Pönitz  <poenitz@gmx.net>
2530
2531         * buffer.[Ch]:
2532         * lyxtext.h: move ParagraphList member to LyXText
2533         rename LyXText::ownerParagraphs to LyXText::paragraph
2534
2535         * CutAndPaste.C:
2536         * bufferview_funcs.C:
2537         * iterators.[Ch]:
2538         * lyx_cb.C:
2539         * paragraph.C:
2540         * rowpainter.C:
2541         * tabular.C:
2542         * text.C:
2543         * text2.C:
2544         * text3.C: adjust
2545
2546         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2547
2548         * undo.C: fix cursor positioning
2549
2550 2003-12-01  John Levon  <levon@movementarian.org>
2551
2552         * BufferView_pimpl.C: fix a crash on exit with
2553         a buffer open
2554
2555 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2556
2557         * BranchList.C: fix setSelected() method.
2558
2559 2003-11-28  André Pönitz  <poenitz@gmx.net>
2560
2561         * ParagraphParameters.[Ch]:
2562         * ParameterStruct.h: remove space above/below from Paragraph to
2563          InsetVSpace
2564
2565         * BufferView_pimpl.C:
2566         * factory.C:
2567         * lyxfunc.C:
2568         * lyxtext.h:
2569         * output_latex.C:
2570         * paragraph.C:
2571         * paragraph_funcs.C:
2572         * rowpainter.[Ch]:
2573         * text.C:
2574         * text2.C:
2575         * text3.C: adjust
2576
2577 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2578
2579         * factory.C: Syntax change for CharStyles
2580
2581 2003-11-28  André Pönitz  <poenitz@gmx.net>
2582
2583         * BufferView.[Ch]:
2584         * BufferView.[Ch]:
2585         * buffer.[Ch]:
2586         * buffer.[Ch]: move LyXText member
2587
2588 2003-11-28  André Pönitz  <poenitz@gmx.net>
2589
2590         * BufferView.[Ch]: make LyXText * text a private member
2591
2592         * BufferView_pimpl.C:
2593         * cursor.C:
2594         * iterators.C:
2595         * lyx_cb.C:
2596         * lyxfind.C:
2597         * lyxtext.h:
2598         * rowpainter.[Ch]:
2599         * text.C:
2600         * text2.C:
2601         * undo.C: adjust
2602
2603         * output_plaintext.C: cleanup
2604
2605 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2606
2607         * buffer.C:
2608         * lyxtextclass.[Ch]: parametrize SGML document header
2609
2610 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2611
2612         * converter.[Ch]:
2613         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2614         getFlavor().
2615
2616 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * text2.C (setFont): rework using PosIterator (no more recursive)
2619         (setCharFont): no more needed
2620         (setLayout): no more selection cursors fiddling (done by redoCursor)
2621         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2622         destroy remaining ones)
2623
2624 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2625
2626         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2627         * lyxtext.h: ditto
2628         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2629         selection cursors
2630         * lyxfunc.C: adjust
2631         * text3.C: adjust + re-allow multi par depth changes
2632         * textcursor.C: simplify a bit
2633
2634 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2635
2636         * src/buffer.C:
2637         * src/lyxlayout.C:
2638         * src/lyxlayout.h:
2639         * src/lyxtext.h:
2640         * src/output_docbook.C:
2641         * src/output_latex.C:
2642         * src/paragraph.C:
2643         * src/paragraph.h:
2644         * src/sgml.C:
2645         * src/sgml.h:
2646         * src/text2.C: Introducing a number of tags parametrizing various
2647         XML formats that we may want to support
2648
2649 2003-11-25  André Pönitz  <poenitz@gmx.net>
2650
2651         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2652
2653         * lyxtext.h (leftMargin/rightMargin): simplify interface
2654
2655         * rowpainter.C:
2656         * text.C:
2657         * text2.C:
2658         * text3.C: adjust
2659
2660 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2661
2662         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2663         master file to any child files. Fixes bug 546.
2664
2665 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2666
2667         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2668
2669 2003-11-24  André Pönitz  <poenitz@gmx.net>
2670
2671         * rowpainter.C: simplification
2672
2673         * text2.C (updateCounters): remove call to redoParagraph on
2674         changed labels as this is far too expensive.
2675
2676 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * converter.C (convert): fix a crash: this function gets
2679         called with buffer == 0 from importer code.
2680
2681 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2682
2683         * text3.C (cursorPrevious): make sure that we do not compare
2684         iterators form different containers.
2685         (cursorNext): ditto
2686
2687         * rowpainter.C (paintSelection): make sure that we do not compare
2688         iterators from different containers.
2689
2690         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2691         iterators from different ParagraphList containers.
2692         [NEXT] ditto
2693
2694         * text2.C (LyXText): change order of initialization slightly
2695         (operator=): new function. copy all variables except cache_par_
2696         (moveUp): make sure that we do not compare iterators from
2697         different ParagraphList constainers.
2698         (moveDown): ditto
2699
2700         * text.C (firstPar): new function
2701         (lastPar): new function
2702         (endPar): new function
2703
2704         * lyxtext.h: move things around and group public functions, public
2705         variables, private functions, private variables
2706
2707 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2708
2709         * factory.C: change call to InsetERT constructor to avoid
2710         additional invocation of method status
2711         * text2.C (toggleInset): remove redundant update() call
2712         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2713         instead of a Bufferview pointer
2714
2715 2003-11-21  André Pönitz  <poenitz@gmx.net>
2716
2717         * rowpainter.C: simplification
2718
2719 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2720
2721         * text3.C (dispatch): make possible to extend a word/row selection
2722         with the mouse
2723
2724 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * lyxtext.h: x0_,y0_ -> xo_,yo_
2727         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2728         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2729         * rowpainter.C (paintRows): paint full paragraphs
2730
2731 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2732
2733         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2734         screen coordinates)
2735
2736 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2737
2738         * lyxtext.h: add x0_, y0_
2739         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2740         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2741
2742 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * text2.C (setCursorIntern): move the x_target update here *
2745         * text3.C: change some bv() to true/false in calls to
2746         cursorUp/Down/Right/Left
2747         * cursor.C: use helper function.
2748
2749 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2752         * paragraph_funcs.[Ch]: correct comment
2753         * rowpainter.C: do not paint selections away from bv->cursor()
2754         Fix a long standing selection painting bug.
2755         * text3.C: generalize mouse-selection code to LyXTexts other that
2756         top one
2757         * textcursor.C: do not use y coords if we can use par offsets
2758
2759 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2760
2761         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2762         cursor position after e.g. inset insert)
2763
2764 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2765
2766         * lyxfind.C (replace): adjust to locking removal + some
2767         code simplification
2768
2769 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2770
2771         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2772         of the path
2773
2774 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2775
2776         * lyxlayout.[Ch]:
2777         * output_docbook.C: XML sanitation: new layout
2778         parameters InnerTag and CommandDepth
2779
2780 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2781
2782         * BufferView_pimpl.C:
2783         * factory.C:
2784         * text3.C: Fix the insertion and modification of button-style
2785         insets
2786
2787 2003-11-13  André Pönitz  <poenitz@gmx.net>
2788
2789         * InsetList.[Ch]: remove deleteLyXText
2790
2791         * paragraph.[Ch]: cache beginOfBody position
2792
2793         * Bidi.C:
2794         * text.C:
2795         * text2.C:
2796         * text3.C: remove superfluous update() calls
2797
2798         * vspace.C: cleanup
2799
2800 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2801
2802         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2803         * BufferView.C (fitLockedInsetCursor): remove
2804         * cursor.[Ch] (getDim): add
2805         * text.C (getRowNearY): add faster version
2806         * text3.C: remove some update calls
2807
2808 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2809
2810         * LaTeXFeatures.C:
2811         * LyXAction.C:
2812         * MenuBackend.C:
2813         * MenuBackend.h:
2814         * dispatchresult.h:
2815         * factory.C:
2816         * lfuns.h:
2817         * lyxfunc.C:
2818         * lyxtextclass.C:
2819         * lyxtextclass.h:
2820         * text3.C: The Character Style /XML short element patch.
2821
2822 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2823
2824         * text3.C:
2825         * factory.C: Small step to solving 'unable to insert some insets'
2826         problem
2827
2828 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2829
2830         * cursor.[Ch] (updatePos): new function for updating the y
2831         position of the tip inset
2832         * bufferview_funcs.C (put_selection_at):
2833         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2834
2835 2003-11-11  André Pönitz  <poenitz@gmx.net>
2836
2837         * text.C: remove big comment on invalid Paragraph pointers as it is
2838         not valid anymore
2839
2840 2003-11-11  André Pönitz  <poenitz@gmx.net>
2841
2842         * text_funcs.[Ch]: merge with ...
2843
2844         * text.C: ... this
2845
2846         * lyxtext.h:
2847         * text2.C:
2848         * text3.C: adjust
2849
2850         * Makefile.am: remove text_funcs.[Ch]
2851
2852 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * cursor.C (getPos): return absolute cached y coord
2855
2856         * BufferView_pimpl.C (fitCursor): new simplistic code
2857         (workAreaDispatch): add a fitCursor call
2858
2859 2003-11-10  André Pönitz  <poenitz@gmx.net>
2860
2861         * BufferView.[Ch]:
2862         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2863
2864 2003-11-10  André Pönitz  <poenitz@gmx.net>
2865
2866         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2867         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2868         indicate that the cursor needs to leave an inset
2869
2870         * lyxtext.h: remove inset locking
2871
2872         * cursor.[Ch]: re-implement functionality provided by inset locking
2873
2874         * BufferView.[Ch]:
2875         * BufferView_pimpl.[Ch]:
2876         * LyXAction.C:
2877         * bufferview_funcs.[Ch]:
2878         * factory.C:
2879         * funcrequest.[Ch]:
2880         * iterators.C:
2881         * lyx_cb.C:
2882         * lyxfind.C:
2883         * lyxfunc.C:
2884         * text.C:
2885         * text2.C:
2886         * text3.C:
2887         * undo.C: adjust
2888
2889 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * PosIterator.[Ch]: replace the stack with a vector, add inset
2892         accesor
2893         * iterators.[C]: adjust
2894
2895 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2896
2897         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2898         replaced
2899         * paragraph_funcs.C (readParToken): put the correct id in the
2900         error item, not the id of the top paragraph
2901
2902 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2903
2904         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2905         * bufferview_funcs.C (put_selection_at): use the above
2906
2907 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2908
2909         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2910
2911 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2912
2913         * output_linuxdoc.h:
2914         * output_plaintext.h:
2915         * output.h:
2916         * output_docbook.h: add #include statements
2917
2918 2003-11-05  José Matos  <jamatos@lyx.org>
2919
2920         * output_docbook.[Ch]:
2921         * output_latex.[Ch]:
2922         * output_linuxdoc.[Ch]:
2923         * output_plaintext.[Ch]: New files for output formats.
2924         * output.[Ch]: New file for helper functions.
2925
2926         * buffer.[Ch]:
2927         * paragraph_funcs.[Ch]: output functions moved to new files.
2928
2929         * outputparams.h: rename of latexrunparams.h
2930
2931         * LaTeX.[Ch]:
2932         * buffer.[Ch]:
2933         * bufferlist.[Ch]:
2934         * converter.[Ch]:
2935         * exporter.C:
2936         * paragraph.[Ch]:
2937         * paragraph_funcs.[Ch]:
2938         * paragraph_pimpl.[Ch]:
2939         * tabular.[Ch]: rename ascii to plaintext
2940         and LatexRunParams to OutputParams.
2941
2942 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2943
2944         * iterators.[Ch] (text): require bv argument
2945         * undo.C (recordUndo):
2946         * lyxfunc.C (dispatch):
2947         * bufferview_funcs.C (put_selection_at): adjust
2948
2949 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2950
2951         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2952
2953 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2956         nestings
2957
2958 2003-11-04  André Pönitz  <poenitz@gmx.net>
2959
2960         * cursor.[Ch]: restructure
2961
2962         * BufferView.[Ch]:
2963         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2964
2965         * iterators.[Ch] (asCursor): remove
2966
2967         * lfuns.h: remove LFUN_INSET_EDIT
2968
2969         * lyxfunc.C:
2970         * tabular.C:
2971         * text.C:
2972         * text2.C:
2973         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2974
2975 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * lyxfind.[Ch]: complete overhaul
2978         * BufferView_pimpl.C:
2979         * lyxfunc.C: adjust
2980         * paragraph.[Ch] (insert): add
2981
2982 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2983
2984         * BufferView.[Ch]:
2985         * lyxtext.h:
2986         * text.C: remove dead spellcheck code
2987
2988 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2989
2990         * dispatchresult.h: add a val setter
2991
2992         * cursor.C (dispatch): use a tempvar for data_[i]
2993
2994 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2995
2996         * PosIterator.[Ch]: compile fix
2997
2998 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2999
3000         * text.C (cursorPar): deactivate the cursor cache
3001
3002 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3003
3004         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3005
3006 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3007
3008         * text3.C (dispatch): adjust for new DisptchResult semantics.
3009
3010         * lyxfunc.C (dispatch): handle update when return from
3011         Cursor::dispatch, adjust for new DispatchResult semantics.
3012
3013         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3014         DispatchResult(true) mean to not update. Add class functions for
3015         setting dispatched and update, as well as reading.
3016
3017         * cursor.C (dispatch): don't handle update here
3018
3019 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3020
3021         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3022         * trans_mgr.C: adjust
3023
3024         * paragraph_funcs.C (readParToken): exception safety
3025
3026         * lyxvc.h: store the vcs pointer in a scoped_ptr
3027         * lyxvc.C: adjust
3028
3029         * lyxsocket.C (serverCallback): exception safety
3030
3031         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3032
3033         * ispell.C (clone): make it return a auto_ptr
3034
3035         * factory.C (createInset): exception safety
3036         (readInset): exception safety
3037
3038         * bufferlist.C (newBuffer): exception safety
3039
3040         * Thesaurus.C (Thesaurus): use initialization for aik_
3041
3042         * MenuBackend.C (expandToc): exception safety.
3043
3044 2003-11-03  André Pönitz  <poenitz@gmx.net>
3045
3046         * buffer.C:
3047         * buffer.h:
3048         * bufferview_funcs.C: remove getInsetFromId()
3049
3050         * lyxcursor.[Ch]:
3051         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3052
3053         * lyxfunc.C:
3054         * text2.C:
3055         * text3.C: adjust
3056
3057 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3058
3059         * PosIterator.C (distance, advance): new
3060         * bufferview_funcs.[Ch] (put_selection_at): new
3061         * iterators.[Ch] (lockPath): new
3062
3063 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3064
3065         * iterators.[Ch] (asPosIterator): added
3066         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3067         * PosIterator.[Ch]: added
3068
3069 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * text3.C:
3072         * lyxfunc.C:
3073         * cursor.C (dispatch):
3074         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3075
3076         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3077         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3078         contructor, add a class function dispatched. Remove operator>=
3079
3080 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3081
3082         * debug.C: only use the default constructor for debugstream
3083         (lyxerr) here.
3084
3085         * main.C (main): include debug.h and setup the lyxerr streambuf
3086         here.
3087
3088 2003-10-31  José Matos  <jamatos@lyx.org>
3089
3090         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3091
3092         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3093         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3094         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3095         * paragraph_pimpl.C (simpleTeXSpecialC):
3096         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3097         add LatexRunParams argument.
3098
3099         * exporter.C (Export): change call accordingly.
3100
3101         * latexrunparams.h: add new member to take care of the other backends.
3102 2003-10-30  José Matos  <jamatos@lyx.org>
3103
3104         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3105         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3106         factorise code for paragraph output.
3107         * buffer.[Ch]:
3108         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3109         move functions.
3110
3111 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * text3.C (dispatch):
3114         * lyxfunc.C (dispatch):
3115         * cursor.C (dispatch):
3116         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3117
3118         * dispatchresult.h: make the dispatch_result_t ctor explicit
3119
3120 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3121
3122         * sgml.[Ch]:
3123         * buffer.C: small refactoring of docbook stuff
3124
3125 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3128         meaning.
3129
3130 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3131
3132         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3133         operator dispatch_result_t, and operators for == != and >=
3134
3135         * cursor.C (dispatch): adjust for operator dispatch_result_t
3136         removal. comment out call to update
3137
3138         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3139
3140 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3141
3142         * text3.C:
3143         * text2.C:
3144         * text.C:
3145         * lyxtext.h:
3146         * lyxfunc.C:
3147         * cursor.C:
3148         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3149         (dispatch):
3150
3151         * dispatchresult.h: new file, DispatchResult broken out of
3152         insets/insetbase.h
3153
3154         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3155
3156 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3157
3158         * text.C (rowBreakPoint): put a hack inside #if 0
3159
3160 2003-10-28  André Pönitz  <poenitz@gmx.net>
3161
3162         * lyxtext.h:
3163         * metricsinfo.C:
3164         * paragraph_funcs.C:
3165         * rowpainter.C:
3166         * text.C:
3167         * text2.C: general cleanup (lots of small stuff)
3168
3169 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3170
3171         * text2.C (cursorEnd): simple fix to the "end key goes to one
3172         before the end on last row" bug
3173
3174 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3175
3176         * text.C (backspace): fix the "zombie characters"
3177
3178 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3179
3180         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3181
3182 2003-10-27  André Pönitz  <poenitz@gmx.net>
3183
3184         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3185
3186         * factory.C: handle new InsetPagebreak, InsetLine
3187
3188         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3189         and move handling into new InsetPagebreak, InsetLine
3190
3191         * BufferView_pimpl.C:
3192         * LyXAction.C:
3193         * ParagraphParameters.C:
3194         * ParameterStruct.h:
3195         * lyxfunc.C:
3196         * lyxtext.h:
3197         * paragraph.C:
3198         * paragraph.h:
3199         * paragraph_funcs.C:
3200         * paragraph_pimpl.C:
3201         * rowpainter.C:
3202         * text.C:
3203         * text2.C:
3204         * text3.C: adjust
3205
3206 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3207
3208         * text.C:
3209         * lyxrow_funcs.[Ch]:
3210         * Bidi.C:
3211         * paragraph.C:
3212         * lyxtext.h:
3213         * rowpainter.C:
3214         * text2.C:
3215         * text3.C: remove lastPos uses in favour of Row::endpos
3216
3217 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * undo.C (performUndoOrRedo): fix two crashes by setting a
3220         cursor by hand and reordering some calls. Use bv->lockInset instead
3221         of inset->edit because the latter loses cursor information
3222
3223 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3224
3225         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3226         by Martin
3227         (rowBreakPoint): fix width. change point to point + 1.
3228         Add a missing check.
3229
3230 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3231
3232         * MenuBackend.C:
3233         * lyxfunc.C: fix (at least partly) the problems
3234         with the Nav menu and headers inside branch insets
3235         reported by Kayvan
3236
3237 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3238
3239         * paragraph.C (getChar): add strong asserts
3240
3241         * lyxrow_funcs.C (lastPos): remove hideous hack
3242
3243         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3244         (fill): adjust to that (avoid an infinite loop)
3245
3246 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3247
3248         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3249
3250 2003-10-23  André Pönitz  <poenitz@gmx.net>
3251
3252         * RowList_fwd.h: change list<> to vector<> to gain speed
3253         after suggestion from Alfredo
3254
3255 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3256
3257         * lyxtext.h: move the bidi stuff from here...
3258         * text.C: and here
3259         * text2.C: and here
3260         * Bidi.[Ch]: ... to here
3261
3262 2003-10-23  André Pönitz  <poenitz@gmx.net>
3263
3264         * lyxtext.h:
3265         * text.C (isLastRow, isFirstRow): new functions
3266
3267         * paragraph.h: new width cache member
3268
3269         * rowpainter.C: replace RowList::iterator with Row & where possible
3270
3271         * lyxfunc.C: replace several view()->text with a single call
3272
3273         * toc.C: fix 'unused' warning
3274
3275 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3278         when woring with stream::pos_type
3279         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3280
3281 2003-10-22  André Pönitz  <poenitz@gmx.net>
3282
3283         * lyxtext.h:
3284         * text.C: use Row & instead of RowList::iterator
3285
3286         * lyxrow.h: rename end() to endpos()
3287
3288         * rowpainter.C:
3289         * text.C:
3290         * text2.C: adjust
3291
3292 2003-10-22  Angus Leeming  <leeming@lyx.org>
3293
3294         * buffer.[Ch] (fully_loaded): new member function, returning true
3295         only when the file has been loaded fully.
3296         Used to prevent the premature generation of previews and by the
3297         citation inset to prevent computation of the natbib-style label.
3298
3299         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3300         templates are all set up.
3301
3302         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3303
3304 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3305
3306         * text.C: fixed an "oops" in the "is a bit silly"
3307         bug fix
3308
3309 2003-10-21  André Pönitz  <poenitz@gmx.net>
3310
3311         * FuncStatus.[Ch]: small stuff, whitespace
3312
3313         * lyxfont.[Ch]: operator<<() for debug reasons
3314
3315         * lyxfunc.C:
3316         * lyxrow_funcs.C:
3317         * lyxtext.h: whitespace, spelling
3318
3319         * paragraph.C: naming of variables
3320
3321         * text.C:
3322         * text2.C: small stuff
3323
3324
3325 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3326
3327         * text.C: (1) finish off the inset display() work;
3328         (2) fix the "is a bit silly" bug (accessing char
3329         past end of par).
3330
3331 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3332
3333         * text.C: re-introduce display() for insets, fixing the
3334         various bugs (stretch of line above, math inset
3335         positioning, ...)
3336
3337 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3338
3339         * text.C (rightMargin): remove spurious semicolon
3340
3341         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3342         1415)
3343
3344 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3345
3346         * text3.C: fix one crash due to wrong cursor def
3347
3348 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * vc-backend.C (scanMaster): make the regex static
3351
3352         * LaTeX.C (scanAuxFile): make the regexs static
3353
3354         * text3.C (doInsertInset, dispatch, dispatch):
3355         * text2.C (cursorUp, cursorDown):
3356         * text.C (selectNextWordToSpellcheck):
3357         * BufferView_pimpl.C (dispatch):
3358         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3359
3360 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3361
3362         * lyxsocket.C: include <cerrno>
3363
3364 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * lyxfunc.C (dispatch): remove textcache stuff
3367
3368         * bufferlist.C (release): remove textcache stuff
3369         (closeAll): ditto
3370
3371         * TextCache.C: delete file
3372         * TextCache.h: delete file
3373
3374         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3375
3376         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3377         delete of the bv_->text.
3378         (resizeCurrentBuffer): remove texcache stuff
3379         (workAreaResize): ditto
3380
3381 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3384         action.
3385
3386 2003-10-16  André Pönitz  <poenitz@gmx.net>
3387
3388         * lyxrow.[Ch]:
3389         * paragraph.h:
3390         * rowpainter.C:
3391         * text.C:
3392         * text2.C:
3393         * text3.C: speed up by storing y positions per paragraph plus per-row
3394         offset instead of having a 'full' y position in the row.
3395
3396 2003-10-15  André Pönitz  <poenitz@gmx.net>
3397
3398         * iterators.[Ch]:
3399         * iterators.[Ch]:
3400         * undo.[Ch]: make undo aware of inner insets
3401
3402 2003-10-14  Angus Leeming  <leeming@lyx.org>
3403
3404         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3405         static member functions LyX::ref() and LyX::cref.
3406         (lastfiles): new accessor functions for the new lastfiles_ member var.
3407         (addLyXView, views_): add a new LyXView to the list of views_.
3408         (updateInset): loop over all LyXViews to call their own updateInset
3409         member function, returning a pointer to the Buffer owning the inset.
3410
3411         * BufferView_pimpl.C (loadLyXFile):
3412         * MenuBackend.C (expandLastfiles):
3413         * bufferlist.C (MenuWrite, QuitLyX):
3414         lastfiles is no longer a global variable.
3415         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3416
3417         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3418         static function. Access through LyX::cref().emergencyCleanup().
3419
3420 2003-10-14  André Pönitz  <poenitz@gmx.net>
3421
3422         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3423
3424         * undo.[Ch]: restoring part of 'undo in insets'
3425
3426         * Makefile.am:
3427         * undo_funcs.[Ch]: merge with undo.[Ch]
3428
3429         * tabular.C: small cleansing stuff
3430
3431 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3432
3433         * paragraph_funcs.C (readParToken): report unknown insets as error
3434         boxes. Use the outer paragraph as location (also for unknown
3435         tokens).
3436
3437         * factory.C (readInset): do not abort on reading an unknown inset.
3438         Eat it and return 0.
3439
3440 2003-10-13  Angus Leeming  <leeming@lyx.org>
3441
3442         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3443
3444         * lyxrc.C: displayTranslator is now a function,
3445         declared in GraphicsTypes.h.
3446
3447 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3448
3449         * format.C: new placeholder $$a to pass the socket address.
3450
3451         * bufferlist.[Ch]: new function getBufferFromTmp.
3452
3453         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3454           files in the temporary dir.
3455
3456 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3457
3458         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3459
3460         * Makefile.am: add lyxsocket.[Ch].
3461
3462         * lyx_main.C (error_handler): handle SIGPIPE.
3463
3464 2003-10-13  André Pönitz  <poenitz@gmx.net>
3465
3466         * BufferView_pimpl.C:
3467         * lyxtext.h:
3468         * text.C:
3469         * text2.C:
3470         * text3.C:
3471         * undo_funcs.[Ch]: use paroffset_type instead of
3472           ParagraphList::iterators to prevent multiple conversion
3473           (and get a more robust interface)
3474
3475 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3476
3477         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3478         * lyxtext.h: ditto
3479         * text3.C (dispatch): ditto
3480
3481 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3484         move the onlyfile, use onlyfile instead of foundfile in a couple
3485         of places.
3486
3487         * DepTable.C (update): flush the error stream a bit more
3488
3489 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * lyxserver.C (callback): adjust
3492
3493         * lyxfunc.C (getStatus): add a missing brace in commented code
3494         (ensureBufferClean): reindent
3495         (dispatch): delete version taking a string
3496
3497 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3498
3499         * LaTeX.C (deplog): move found file handlig from here...
3500         (handleFoundFile): .. to new function here.
3501         (deplog): make sure to discover several files mentioned on the
3502         same log line.
3503
3504 2003-10-10  André Pönitz  <poenitz@gmx.net>
3505
3506         * lyxfunc.C:
3507         * lyxtext.h:
3508         * tabular.C:
3509         * text.C:
3510         * text2.C:
3511         * text3.C: fix some of the tabular crashes
3512
3513 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3514
3515         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3516
3517         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3518
3519 2003-10-09  André Pönitz  <poenitz@gmx.net>
3520
3521         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3522
3523         * BufferView.C:
3524         * BufferView_pimpl.C:
3525         * bufferview_funcs.C:
3526         * lyx_cb.C:
3527         * lyxcursor.C:
3528         * lyxfind.C:
3529         * lyxfunc.C:
3530         * lyxtext.h:
3531         * text.C:
3532         * text2.C:
3533         * text3.C:
3534         * text_funcs.[Ch]:
3535         * textcursor.[Ch]:
3536         * undo_funcs.C: adjust
3537
3538 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3539
3540         * text2.C (incrementItemDepth): new function, use a backtracking
3541         algorithm to discover the correct item depth.
3542         (resetEnumCounterIfNeeded): new function, use a backtracking
3543         algorithm to discover if counter reset is needed.
3544         (setCounter): use them. Simplify a bit. Add different labels for
3545         different item depths for itemize.
3546
3547         * paragraph.C (Paragraph): remove initialization of enumdepth
3548         (operator=): ditto
3549
3550         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3551         enumerate and itemize. Change the type of itemdepth to signed char.
3552
3553 2003-10-08  André Pönitz  <poenitz@gmx.net>
3554
3555         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3556           thing assignable.
3557         * text.C:
3558         * text2.C: adjust
3559
3560         * tabular.[Ch]: fix crash after 'row-insert'
3561
3562 2003-10-08  Angus Leeming  <leeming@lyx.org>
3563
3564         Fix doxygen warnings.
3565
3566         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3567         Remove CutAndPaste:: prefix from header file declaration.
3568
3569         * LColor.h (fill): remove LColor:: prefix from declaration.
3570
3571         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3572         use lyx::depth_type rather than Paragraph::depth_type so that
3573         header file and .C file match.
3574
3575         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3576
3577         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3578         * aspell.C: \file aspell_local.C -> \file aspell.C
3579         * gettext.C: \file gettext.C -> \file src/gettext.C
3580         * gettext.h: \file gettext.h -> \file src/gettext.h
3581         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3582         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3583         * text.C: \file text.C -> \file src/text.C
3584
3585         * toc.C: move comment so that doxygen is not confused.
3586
3587 2003-10-07  Angus Leeming  <leeming@lyx.org>
3588
3589         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3590
3591 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3592
3593         * aspell.C:
3594         * aspell_local.h: add forgotten std::string's.
3595
3596 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3597
3598         * LaTeXFeatures.C:
3599         * LyXAction.C:
3600         * factory.C:
3601         * lfuns.h:
3602         * lyxfunc.C:
3603         * text3.C: The Box patch. Fancybox support, minipage, parbox
3604
3605 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3606
3607         * CutAndPaste.h:
3608         * DepTable.h:
3609         * FloatList.h:
3610         * LaTeXFeatures.h:
3611         * ParagraphParameters.h:
3612         * TextCache.h:
3613         * Thesaurus.h:
3614         * bufferlist.h:
3615         * exporter.h:
3616         * importer.h:
3617         * lastfiles.h:
3618         * lyxfind.h:
3619         * lyxfont.h:
3620         * lyxlex.h:
3621         * lyxtextclasslist.h:
3622         * messages.h:
3623         * paragraph.h:
3624         * paragraph_pimpl.C:
3625         * textcursor.h: add <string> and other small fixes to make Lars'
3626         std::string patch compile with STLport.
3627
3628 2003-10-06  Angus Leeming  <leeming@lyx.org>
3629
3630         * LColor.h: Add missing #include <string>.
3631
3632 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3633
3634         * All most all file in all subdirs: Make <string> be the prefered
3635         way of getting to std::string, add using declarations.
3636
3637 2003-10-06  André Pönitz  <poenitz@gmx.net>
3638
3639         * metricsinfo.C: initialize LyXFont before changing attribute.
3640         (fixes the 'math in \emph is upright' bug)
3641
3642 2003-10-06  André Pönitz  <poenitz@gmx.net>
3643
3644         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3645
3646 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3647
3648         * graph.C:
3649         * paragraph_pimpl.C: Small fixes to build using STLport
3650
3651 2003-10-02  André Pönitz  <poenitz@gmx.net>
3652
3653         * lyxfunc.C:
3654         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3655
3656 2003-10-01  André Pönitz  <poenitz@gmx.net>
3657
3658         * factory.C: assert early
3659
3660 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3661
3662         * lyx_main.C: remove the global debug object
3663
3664         * debug.h: adjust for new debugstream
3665
3666         * debug.C: adjust for new debugstream and keep the global debug
3667         object here.
3668
3669 2003-09-22  Angus Leeming  <leeming@lyx.org>
3670
3671         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3672         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3673         an incomplete class LyXFont.
3674
3675 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3676
3677         * factory.C: bug fix in branches
3678
3679 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * lyxfunc.C (processKeySym): adjust
3682         (dispatch): adjust
3683         (dispatch): change arg name from ev to func, adjust
3684         (sendDispatchMessage): ditto
3685
3686         * lyx_main.C (defaultKeyBindings): adjust keybindings
3687         (deadKeyBindings): ditto
3688
3689         * kbsequence.C (addkey): return a FuncRequest
3690
3691         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3692
3693         * kbmap.C (bind): take a FuncRequest as arg, adjust
3694         (read): adjust
3695         (lookup): adjust
3696         (defkey): change to take a FuncRequest as arg, adjust
3697         (findbinding): take a FuncRequest as arg, adjust.
3698
3699         * funcrequest.h (operator=): added
3700
3701         * funcrequest.C (FuncRequest): default kb_action changed from
3702         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3703
3704         * buffer.C (dispatch): simplify
3705         (dispatch): adjust to take a FuncRequest as arg, adjust
3706
3707         * boost.C (assertion_failed): change assertion message slightly
3708
3709         * ToolbarBackend.C (read): simplify
3710
3711         * MenuBackend.C (binding): adjust call to findbinding, add a
3712         message if no binding is found.
3713         (read): simplify
3714         (expandToc): correct by adding a empty FuncRequest
3715
3716         * LyXAction.C: include <boost/assert.hpp>
3717         (isPseudoAction): delete function
3718         (LookupFunc): change name to...
3719         (lookupFunc): this. change return type to FuncRequest.
3720         (getActionName): take kb_action as arg, simplify
3721         (funcHasFlag): add an assert, simplify.
3722
3723 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * toc.C (action): return a FuncRequest, simplify
3726
3727         * lyxfunc.C (processKeySym): adjust
3728         (getStatus): delete version that takes an int.
3729         (getStatus): adjust
3730         (dispatch): delete version that takes action as int
3731         (dispatch): adjust
3732         (sendDispatchMessage): simplify and adjust
3733
3734         * funcrequest.C (getArg): take unsigned int as arg
3735
3736         * ToolbarBackend.C (read): adjust
3737         (add): delete version that takes func as a string.
3738         (getIton): take a FuncRequest as arg
3739
3740         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3741         action.
3742
3743         * MenuBackend.C (MenuItem): add a new construct that only takes a
3744         Kind, simplify the constructor use for submenus.
3745         (add): adjust
3746         (expandLastfiles): adjust
3747         (expandDocuments): adjust
3748         (expandFormats): adjust
3749         (expandFloatListInsert): adjust
3750         (expandFloatInsert): adjust
3751         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3752
3753         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3754         Remove class variables lyx_pseudo_map and lyx_arg_map
3755
3756         * LyXAction.C (searchActionArg): delete function
3757         (getPseudoAction): delete function
3758         (retrieveActionArg): delete function
3759         (LookupFunc): make it return kb_action, simplify.
3760         (getActionName): simplify
3761
3762         * factory.C (createInset): fix new bug
3763
3764 2003-09-19  Angus Leeming  <leeming@lyx.org>
3765
3766         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3767         masterFilename_ parameter in the include inset.
3768
3769         * factory.C (createInset): changes due to the changes to InsetInclude.
3770
3771 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3772
3773         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3774
3775 2003-09-18  Angus Leeming  <leeming@lyx.org>
3776
3777         * buffer.C:
3778         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3779         Inset::fillWithBibKeys.
3780         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3781
3782 2003-09-18  Angus Leeming  <leeming@lyx.org>
3783
3784         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3785         variables.
3786         (ctor): pass and store a 'Buffer const &'
3787         (buffer): new member function.
3788
3789         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3790         '*this' to the LaTeXFeatures ctor.
3791
3792 2003-09-18  Angus Leeming  <leeming@lyx.org>
3793
3794         * LColor.h:
3795         * lyxfont.C:
3796         * lyxfont.h:
3797         * lyxtext.h:
3798         * text.C: rename EnumLColor as LColor_color.
3799
3800 2003-09-18  Angus Leeming  <leeming@lyx.org>
3801
3802         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3803         remove #include "insets/insetbase.h" from cursor.h.
3804
3805 2003-09-18  Angus Leeming  <leeming@lyx.org>
3806
3807         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3808         InsetOld_code to remove #include "inset.h".
3809
3810         * iterators.C: add #include "insets/inset.h"
3811
3812 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3813
3814         * BufferView.C: remove more locking stuff that apparently doesn't
3815         do anything sensible.
3816
3817 2003-09-16  André Pönitz  <poenitz@gmx.net>
3818
3819         * paragraph.[Ch]:
3820         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3821           performance boost.
3822
3823 2003-09-16  Angus Leeming  <leeming@lyx.org>
3824
3825         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3826
3827         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3828         arg/return type.
3829
3830         * paragraph.h: remove #include "lyxfont.h". Forward declare
3831         LyXFont_size.
3832
3833 2003-09-16  Angus Leeming  <leeming@lyx.org>
3834
3835         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3836         of support/textutils.h.
3837         (isWord): move the contents of support/textutils.h's IsWordChar here.
3838
3839         * buffer.C:
3840         * lyxfind.C:
3841         * rowpainter.C:
3842         * text.C:
3843         * text2.C: add #include "paragraph.h".
3844
3845         * rowpainter.C:
3846         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3847
3848 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * main.C:
3851         * lyx_main.C:
3852         * lyx_cb.C:
3853         * buffer.C:
3854         * LaTeX.C: use namespace alias for lyx::support::os
3855
3856 2003-09-16  Angus Leeming  <leeming@lyx.org>
3857
3858         * bufferparams.C:
3859         * bufferview_funcs.C:
3860         * factory.C:
3861         * lyxfunc.C:
3862         * paragraph_pimpl.C:
3863         * rowpainter.C:
3864         * text.C: add #include "LColor.h".
3865
3866 2003-09-16  Angus Leeming  <leeming@lyx.org>
3867
3868         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3869         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3870         return LyXFont &.
3871         Store the FontBits::color variable as an int rather than as an
3872         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3873         file.
3874
3875         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3876         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3877         string calls together.
3878
3879         * lyxrc.C: add #include "LColor.h".
3880
3881 2003-09-15  Angus Leeming  <leeming@lyx.org>
3882
3883         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3884         a cow_ptr.
3885
3886 2003-09-15  Angus Leeming  <leeming@lyx.org>
3887
3888         * LColor.h: add an EnumLColor wrapper for LColor::color.
3889
3890         * lyxfont.[Ch] (color, setColor, realColor):
3891         * lyxtext.h, text.C (backgroundColor):
3892         pass EnumLColor args to/from the functions, rather than LColor::color
3893         ones.
3894
3895         * lyxfont.h:
3896         * lyxtext.h: forward declare EnumLColor.
3897
3898         * lyx_main.C: add #include "LColor.h".
3899
3900 2003-09-15  Angus Leeming  <leeming@lyx.org>
3901
3902         * .cvsignore: add lyx-gtk.
3903
3904 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3905
3906         * Chktex.C
3907         * LaTeX.C
3908         * LaTeXFeatures.C
3909         * ParagraphParameters.C
3910         * Spacing.C
3911         * buffer.C
3912         * bufferparams.C
3913         * bufferview_funcs.C
3914         * chset.C
3915         * counters.C
3916         * funcrequest.C
3917         * lyxfont.C
3918         * lyxgluelength.C
3919         * lyxlength.C
3920         * paragraph.C
3921         * paragraph_funcs.C
3922         * text3.C
3923         * vc-backend.C: remove usage of STRCONV
3924
3925 2003-09-15  Angus Leeming  <leeming@lyx.org>
3926
3927         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3928         explicitly define the color passed to the painter.
3929
3930 2003-09-15  Angus Leeming  <leeming@lyx.org>
3931
3932         * bufferparams.C (BufferParams): reorder member initializers to avoid
3933         compiler warning.
3934
3935 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3936
3937         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3938         * text.C (updateRowPositions): remove an unusual nop
3939
3940 2003-09-12  André Pönitz  <poenitz@gmx.net>
3941
3942         * BufferView_pimpl.C:
3943         * Bullet.C:
3944         * layout.h:
3945         * lyxfunc.C:
3946         * lyxlayout.[Ch]:
3947         * lyxtextclass.C:
3948         * rowpainter.C:
3949         * text.C:
3950         * text2.C:
3951         * Counters.[Ch]: finish the 'automatic counters' job
3952
3953 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3954
3955         * aspell.C: include <boost/assert.cpp> (compile fix)
3956
3957 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3958
3959         * boost.C (assertion_failed): use lyx::support::abort instead of
3960         assert.
3961
3962 2003-09-10  Angus Leeming  <leeming@lyx.org>
3963
3964         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3965         with their _fwd progeny.
3966
3967 2003-09-09  Angus Leeming  <leeming@lyx.org>
3968
3969         134 files throughtout the source tree: replace 'using namespace abc;'
3970         directives with the appropriate 'using abc::xyz;' declarations.
3971
3972 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3973
3974         * boost.C (emergencyCleanup): moved here from LAssert.c
3975         (assertion_failed): new function, called by BOOST_ASSERT
3976
3977         * several files: change Assert to BOOST_ASSERT
3978
3979 2003-09-09  Angus Leeming  <leeming@lyx.org>
3980
3981         * buffer.[Ch]: Add an Impl class and move Buffer's member
3982         variables into it. As a result move several header files out of
3983         buffer.h.
3984
3985         Add header files to lots of .C files all over the tree as a result.
3986
3987 2003-09-09  Angus Leeming  <leeming@lyx.org>
3988
3989         * buffer.[Ch]: make Buffer's member variables private. Add
3990         accessor functions.
3991
3992         Lots of changes all over the tree as a result.
3993
3994 2003-09-08  Angus Leeming  <leeming@lyx.org>
3995
3996         * graph.C: #include <config.h>.
3997
3998 2003-09-08  Angus Leeming  <leeming@lyx.org>
3999
4000         * BranchList.C:
4001         * BufferView.C:
4002         * BufferView_pimpl.C:
4003         * CutAndPaste.C:
4004         * DepTable.C:
4005         * LaTeX.C:
4006         * LaTeXFeatures.C:
4007         * LyXAction.C:
4008         * MenuBackend.C:
4009         * TextCache.C:
4010         * aspell.C:
4011         * buffer.C:
4012         * bufferlist.C:
4013         * changes.C:
4014         * chset.C:
4015         * converter.C:
4016         * counters.C:
4017         * debug.C:
4018         * graph.C:
4019         * ispell.C:
4020         * lyx_cb.C:
4021         * lyxfind.C:
4022         * lyxfunc.C:
4023         * lyxlex_pimpl.C:
4024         * lyxrc.C:
4025         * lyxrow.C:
4026         * paragraph.C:
4027         * rowpainter.C:
4028         * texrow.C:
4029         * text.C:
4030         * text2.C:
4031         * toc.C: remove redundant using directives.
4032
4033 2003-09-07  Angus Leeming  <leeming@lyx.org>
4034
4035         * LaTeXFeatures.h: remove #include "support/types.h".
4036         * ToolbarBackend.h: remove #include <algorithm>.
4037         * changes.h: remove #include <ctime>.
4038         * debug.h: remove #include <iosfwd>.
4039         * graph.h: remove #include "support/std_string.h".
4040         * lyx_main.h: remove #include <csignal>.
4041         * lyxlex_pimpl.h: remove #include <fstream>.
4042         * sgml.h: remove #include <algorithm>, <utility>.
4043         * toc.h: remove #include "support/std_ostream.h".
4044         Add #include <iosfwd>.
4045
4046 2003-09-07  Angus Leeming  <leeming@lyx.org>
4047
4048         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4049
4050         * converter.h: forward declare LatexRunParams.
4051         * encoding.h: remove #include "lyxrc.h".
4052         * lyxtext.h: remove #include "LColor.h".
4053         * lyxtextclass.h: remove #include "support/types.h".
4054         * trans.h: remove #include "tex-accent.h".
4055         * trans_mgr.h: remove #include "tex-accent.h".
4056         * insets/inset.h: remove #include "support/types.h", <vector>.
4057         * insets/insetcollapsable.h: remove #include "LColor.h".
4058         * insets/insetinclude.h: remove #include "dimension.h".
4059         * insets/insetlatexaccent.h: remove #include "dimension.h".
4060         * insets/insetoptarg.h:: remove #include "insettext.h".
4061         * insets/insettext.h: remove #include "dimension.h",
4062         <boost/shared_ptr.hpp>
4063
4064         * insets/renderers.h: add #include "dimension.h".
4065         * insets/updatableinset.h: add #include "support/types.h".
4066
4067         * many .C files: Associated changes.
4068
4069 2003-09-06  Angus Leeming  <leeming@lyx.org>
4070
4071         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4072         one, inside testInvariant.
4073
4074         * PrinterParams.C: new file.
4075         * PrinterParams.[Ch]: move the function bodies out of line.
4076
4077 2003-09-06  Angus Leeming  <leeming@lyx.org>
4078
4079         * ParagraphParameters.h: forward declare ParameterStruct rather than
4080         including its header file.
4081         (depth): moved out-of-line.
4082
4083 2003-09-06  Angus Leeming  <leeming@lyx.org>
4084
4085         * BufferView_pimpl.h:
4086         * kbmap.h:
4087         * kbsequence.h:
4088         * lyxfunc.h: forward declare LyXKeySym rather than
4089         #include "frontends/LyXKeySym.h".
4090
4091         * BufferView_pimpl.C:
4092         * kbmap.C:
4093         * kbsequence.C:
4094         * lyxfunc.C: associated changes.
4095
4096 2003-09-06  Angus Leeming  <leeming@lyx.org>
4097
4098         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4099         As a result, can remove the #include "insets/inset.h" from BufferView.h
4100
4101 2003-09-06  Angus Leeming  <leeming@lyx.org>
4102
4103         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4104         As a result, can remove the #include "insets/inset.h" from BufferView.h
4105
4106 2003-09-06  Angus Leeming  <leeming@lyx.org>
4107
4108         * buffer_funcs.C:
4109         * buffer.h:
4110         * bufferlist.C:
4111         * BufferView.C:
4112         * bufferview_funcs.C:
4113         * BufferView_pimpl.C:
4114         * CutAndPaste.C:
4115         * lyx_cb.C:
4116         * lyxfunc.C:
4117         * paragraph.h:
4118         * ParagraphParameters.C:
4119         * tabular.C:
4120         * text3.C:
4121         * toc.C:
4122         * undo_funcs.C:
4123         * frontends/controllers/ControlDocument.C:
4124         * insets/insetcaption.C: rearrange the #includes into some sort of
4125         coherent order.
4126
4127         * buffer.h: remove #includes ErrorList.h, undo.h
4128
4129 2003-09-06  Angus Leeming  <leeming@lyx.org>
4130
4131         * support/types.h: add a 'depth_type' typedef, used to store the
4132         nesting depth of a paragraph.
4133
4134         * paragraph.h:
4135         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4136         defining explicitly.
4137
4138         * buffer.h:
4139         * paragraph_funcs.h:
4140         * ParagraphParameters.h:
4141         * sgml.h: use lyx::depth_type rather than Paragraph or
4142         ParameterStruct's depth_type.
4143
4144         * buffer.h
4145         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4146
4147         * BufferView.C:
4148         * BufferView_pimpl.C:
4149         * CutAndPaste.C:
4150         * ParagraphParameters.C:
4151         * buffer_funcs.C:
4152         * bufferlist.C:
4153         * bufferview_funcs.C:
4154         * lyx_cb.C:
4155         * lyxfunc.C:
4156         * tabular.C:
4157         * text3.C:
4158         * toc.C:
4159         * undo_funcs.C:
4160         * frontends/LyXView.C:
4161         * frontends/controllers/ControlDocument.C:
4162         * frontends/controllers/ControlErrorList.C:
4163         * insets/insetbibitem.C:
4164         * insets/insetbranch.C:
4165         * insets/insetcaption.C:
4166         * insets/insetcollapsable.C:
4167         * insets/insetenv.C:
4168         * insets/insetert.C:
4169         * insets/insetfloat.C:
4170         * insets/insetfoot.C:
4171         * insets/insetfootlike.C:
4172         * insets/insetnewline.C:
4173         * insets/insetquotes.C:
4174         * insets/insettabular.C:
4175         * insets/insettext.C:
4176         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4177
4178         * frontends/controllers/ControlChanges.C: #include "changes.h".
4179
4180 2003-09-06  Angus Leeming  <leeming@lyx.org>
4181
4182         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4183         than #including paragraph.h.
4184
4185         * ParagraphList.h:
4186         * RowList.h: deleted. Superfluous.
4187
4188         * CutAndPaste.h:
4189         * iterators.h:
4190         * lyxcursor.h:
4191         * lyxtext.h:
4192         * text_funcs.h:
4193         * undo.h:
4194         * undo_funcs.h:
4195         * insets/inset.h:
4196         * insets/insettext.h: use ParagraphList_fwd.h rather than
4197         ParagraphList.h.
4198
4199         * paragraph.h: don't forward declare ParagraphList.
4200
4201         * buffer.h:
4202         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4203         rather than ParagraphList.h. paragraph.h is still needed for the
4204         Paragraph::depth_type parameters.
4205
4206         * textcursor.h: enable it to compile stand-alone in light of the
4207         above changes.
4208
4209         * bufferview_funcs.C:
4210         * iterators.C:
4211         * lyxfunc.C:
4212         * lyxrow_funcs.C:
4213         * paragraph.C:
4214         * rowpainter.C:
4215         * text.C:
4216         * text2.C:
4217         * text3.C:
4218         * text_funcs.C:
4219         * textcursor.C:
4220         * undo.C:
4221         * frontends/controllers/ControlParagraph.C:
4222         * frontends/controllers/ControlTabular.C:
4223         * insets/insetmarginal.C:
4224         * insets/insetminipage.C:
4225         * insets/insetnote.C:
4226         * insets/insetoptarg.C: add header files needed to compile again.
4227
4228 2003-09-06  Angus Leeming  <leeming@lyx.org>
4229
4230         * RowList_fwd.h: new file, forward-declaring Row rather than
4231         #including lyxrow.h.
4232
4233         * lyxrow_funcs.h:
4234         * lyxtext.h:
4235         * paragraph.h:
4236         * insets/insettext.h: use it instead of RowList.h
4237
4238         * bufferview_funcs.C:
4239         * lyxfunc.C:
4240         * lyxrow_funcs.C:
4241         * paragraph.C:
4242         * rowpainter.C:
4243         * text.C:
4244         * text2.C:
4245         * text3.C: #include "RowList.h".
4246
4247 2003-09-05  Angus Leeming  <leeming@lyx.org>
4248
4249         * factory.C (createInset):
4250         * vspace.C (c-tor): replace sscanf call with an istringstream.
4251         * ispell.C: re-add missing HP/UX headers.
4252         * lyxserver.C: re-add missing  os2 headers.
4253
4254 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * BranchList.C:
4257         * graph.C:
4258         * ispell.C:
4259         * lastfiles.C:
4260         * lyx_cb.C:
4261         * lyxserver.C:
4262         * texrow.C:
4263         * text3.C: re-add missing system headers, needed for 2.95.2.
4264
4265 2003-09-05  Angus Leeming  <leeming@lyx.org>
4266
4267         Changes most place everywhere due to the removal of using directives
4268         from support/std_sstream.h.
4269
4270 2003-09-05  Angus Leeming  <leeming@lyx.org>
4271
4272         Replace LString.h with support/std_string.h,
4273         Lsstream.h with support/std_sstream.h,
4274         support/LIstream.h with support/std_istream.h,
4275         support/LOstream.h with support/std_ostream.h.
4276
4277         Changes resulting throughout the tree.
4278
4279 2003-09-05  Angus Leeming  <leeming@lyx.org>
4280
4281         * sgml.h: ensure that the header file can be compiled stand-alone.
4282         * *.C: strip out redundant #includes. (320 in total.)
4283
4284 2003-09-04  Angus Leeming  <leeming@lyx.org>
4285
4286         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4287         here (from getPackages).
4288
4289         * debug.[Ch]: add a new EXTERNAL tag.
4290
4291 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4292
4293         * text2.C (cursorEnd): simplify
4294         (setCursor): adjust
4295         (getColumnNearX): adjust
4296
4297         * text.C (computeBidiTables): adjust
4298         (fill): adjust
4299
4300         * rowpainter.C (paintChars): adjust
4301         (paintSelection): adjust
4302         (paintChangeBar): adjust
4303         (paintText): adjust
4304
4305         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4306         lastPos instead.
4307         (numberOfSeparators): adjust
4308
4309 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4310
4311         * LyXAction.C:
4312         * box.[Ch]:
4313         * lfuns.h:
4314         * lyxfunc.C:
4315         * text3.C: Restricts the mouse click functionality
4316         of insets like bibtex, include, toc and floatlist to the visible
4317         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4318         up the dialogs. Cursor has to be in front of the inset (i.e.
4319         start of row) for this to function.
4320
4321 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4322
4323         * bufferview_funcs.C (currentState): output row information
4324
4325 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4326
4327         * bufferview_funcs.C (currentState): output paragraph position
4328
4329 2003-09-04  Angus Leeming  <leeming@lyx.org>
4330
4331         * FloatList.h: move out #include "Floating.h".
4332         * LaTeX.h: move out #include "DepTable.h".
4333         * LyXAction.h: move out #include "funcrequest.h".
4334         * buffer.h: move out #include "author.h", "iterators.h".
4335         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4336         * lyx_main.h: move out #include "errorlist.h".
4337         * lyxfunc.h: move out #include "FuncStatus.h".
4338         * lyxtext: move out #include "lyxcursor.h".
4339         * paragraph_pimpl.h: move out #include "counters.h".
4340
4341 2003-09-03  Angus Leeming  <leeming@lyx.org>
4342
4343         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4344         preamble_snippets list, enabling us to add snippets to the preamble
4345         only if the snippet was not there already.
4346
4347 2003-09-04  Angus Leeming  <leeming@lyx.org>
4348
4349         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4350
4351 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4354         update
4355
4356 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4357
4358         * BranchList.C: point fix, earlier forgotten
4359
4360 2003-09-02  Angus Leeming  <leeming@lyx.org>
4361
4362         * box.C (contains): renamed from 'contained' after a fantastic
4363         amount of hot air.
4364
4365 2003-09-02  John Levon  <levon@movementarian.org>
4366
4367         * BufferView.C:
4368         * lyxcursor.h:
4369         * lyxcursor.C:
4370         * lyxfunc.C:
4371         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4372
4373 2003-09-02  John Levon  <levon@movementarian.org>
4374
4375         * text2.C: simplification of cursorEnd(), including partial
4376         fix for bug 1376
4377
4378 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4379
4380         * buffer.C (readFile): add a space
4381
4382 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4383
4384         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4385
4386 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * buffer.C (readFile): new function, take a filename and a
4389         ParagraphList::iterator
4390         (readFile): adjust
4391         (readFile): adjust, make it private. don't use setStream, make
4392         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4393         always contain the filename.
4394
4395         * BufferView.C (insertLyXFile): simplify and make it work for
4396         gzipped files.
4397
4398 2003-08-30  John Levon  <levon@movementarian.org>
4399
4400         * Makefile.am: fix dist (from Kayvan)
4401
4402 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4403
4404         * most files: change to use const Buffer refs
4405
4406 2003-08-27  André Pönitz  <poenitz@gmx.net>
4407
4408         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4409         on top of ownerPar().
4410
4411 2003-08-27  John Levon  <levon@movementarian.org>
4412
4413         * funcrequest.C: properly initialise POD members
4414
4415 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4416
4417         * lyxtext.h (top_y): move top_y from here
4418         * text.C:
4419         * text2.C:
4420         * text3.C:
4421         * BufferView.[Ch]:
4422         * BufferView_pimpl.[Ch]: to here
4423         * frontends/screen.C:
4424         * insets/insettabular.C:
4425         * insets/insettext.C: adjust
4426         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4427
4428 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4429
4430         * BufferView.[Ch]:
4431         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4432
4433 2003-08-26  André Pönitz  <poenitz@gmx.net>
4434
4435         * paragraph_func.[Ch] (outerPar): new function
4436
4437         * paragraph.C:
4438         * paragraph_funcs.C:
4439         * paragraph_funcs.h:
4440         * paragraph_pimpl.C:
4441         * text2.C: remove Inset::par_owner
4442
4443 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4444
4445         * lyxrow_funcs.C:
4446         * lyxtext.h:
4447         * text.C:
4448         * text2.C: eliminates the needFullRow/display() stuff
4449         altogether, putting the logic in metrics/draw in the insets.
4450
4451 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * text2.C (redoParagraphInternal, redoParagraphs):
4454         * text.C (redoParagraph): add a call to updateRowPositions at the
4455         end of each 'metrics-like' call. Remove all others.
4456         (getRow): remove the 'y-computing' version.
4457         (getRowNearY): do not compute nor return the real y. Solve the
4458         'y < 0' problem and simplify.
4459
4460 2003-08-22  Angus Leeming  <leeming@lyx.org>
4461
4462         * *.[Ch]: clean-up of licence and author blurbs.
4463         Also move config.h out of a few .h files and into a few .C files.
4464
4465 2003-08-22  André Pönitz  <poenitz@gmx.net>
4466
4467         * lyxrow.[Ch]: add x_ and *fill_ members
4468
4469         * lyxtext.h:
4470         * text.C:
4471         * rowpainter.C:
4472         * text2.C: adjust/remove prepareToPrint() calls
4473
4474 2003-08-22  André Pönitz  <poenitz@gmx.net>
4475
4476         * lyxrow.[Ch]: add  end_ member
4477
4478         * lyxrow_funcs.C: use LyXRow::end_
4479
4480         * lyxtext.h (singleWidth): add LyXFont parameter
4481
4482         * rowpainter.C:
4483         * text2.C: adjust LyXText::singleWidth() calls
4484
4485         * text.C (redoParagraph): simplify row breaking logic
4486
4487
4488 2003-08-19  André Pönitz  <poenitz@gmx.net>
4489
4490         * funcrequest.C: initialize button_ member
4491
4492         * text3.C:
4493         * rowpainter.[Ch]: interface consolidation
4494
4495 2003-08-18  André Pönitz  <poenitz@gmx.net>
4496
4497         * BufferView.C:
4498         * BufferView_pimpl.C:
4499         * lyxfind.C:
4500         * paragraph_funcs.C:
4501         * rowpainter.C:
4502         * text3.C: remove LyXScreen::draw() and fitCursor calls
4503
4504         * BranchList.h: remove spurious semicolons
4505
4506         * MenuBackend.C: fix branchlist related crash
4507
4508 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4509
4510         * BranchList.[Ch]:
4511         * InsetList.[Ch]:
4512         * LColor.[Ch]:
4513         * LyXAction.C:
4514         * Makefile.am:
4515         * MenuBackend.[Ch]:
4516         * bufferparams.[Ch]:
4517         * factory.C:
4518         * lfuns.h:
4519         * lyxfunc.C:
4520         * text3.C: implements the 'branch inset'
4521         idea. This allows the output of various versions of a document
4522         from a single source version, selectively outputing or suppressing
4523         output of parts of the text.
4524         This implementation contains a 'branch list editor' in a separate
4525         tab of the document settings dialog. Branches are user definable
4526         and have a "display colour" to distinguish them on-screen.
4527
4528         ColorHandler was somewhat cleaned up.
4529         (1) make possible a dynamically growing LColor list by allowing
4530         the graphic context cache to grow along (vector);
4531         (2) eliminate an IMHO unnecessary step in colour allocation.
4532
4533 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4534
4535         * BufferView_pimpl.C: compile fix
4536
4537 2003-08-15  André Pönitz  <poenitz@gmx.net>
4538
4539         * rowpainter.C: remove extra metrics calls
4540
4541         * lyxtext.h: merge the two constructors into a single one,
4542           pass reference to owner's par list
4543
4544         * BufferView_pimpl.C:
4545         * text.C:
4546         * text2.C: adjust
4547
4548 2003-08-15  André Pönitz  <poenitz@gmx.net>
4549
4550         * lyxrow_funcs.[Ch]:
4551         * lyxtext.h:
4552         * paragraph.h:
4553         * paragraph_funcs.C:
4554         * rowpainter.C:
4555         * text.C:
4556         * text2.C:
4557         * text3.C:
4558         * text_funcs.C: split LyXText::rowlist_ into individual
4559         Paragraph::rows_ chunks
4560
4561         * BufferView.[Ch]:
4562         * BufferView_pimpl.[Ch]:
4563         * lyxfind.C:
4564         * lyxtext.h:
4565         * text3.C: remove toggleSelection()
4566
4567 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4568
4569         * bufferlist.C: beautify two alerts (shorter text of buttons)
4570         * buffer.C: Remove redundant ' ' from message
4571         * tabular.h:
4572         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4573         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4574         rename VALIGN_CENTER to VALIGN_MIDDLE
4575
4576 2003-08-11  André Pönitz  <poenitz@gmx.net>
4577
4578         * lyxtext.h (getPar):
4579         * text.C: new function
4580
4581 2003-08-11  André Pönitz  <poenitz@gmx.net>
4582
4583         * Makefile.am:
4584         * tracer.[Ch]: remove unneeded files
4585
4586         * InsetList.[Ch]: remove resizeInsetsLyXText()
4587
4588         * lyxtext.h:
4589         * text.C:
4590         * text2.C:
4591         * text3.C: merge insertParagraphs() and appendParagraph()
4592         remove breakAgain(), update()
4593
4594         * BufferView_pimpl.[Ch]:
4595         * bufferview_funcs.[Ch]:
4596         * lyxfunc.C:
4597         * paragraph.[Ch]:
4598         * rowpainter.C:
4599         * tabular.C: adjust after text & InsetList changes.
4600
4601 2003-08-08  André Pönitz  <poenitz@gmx.net>
4602
4603         * text.C (insertChar, backspace): replace rowlist fiddling
4604         with rebreak of full par
4605
4606         * lyxtext.h:
4607         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4608         checkParagraph, updateInset): removed
4609
4610 2003-08-07  André Pönitz  <poenitz@gmx.net>
4611
4612         * paragraph.C:
4613         * text3.C: merge some LFUN handlers, remove dead code
4614
4615 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4616
4617         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4618
4619 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4620
4621         * text2.C (DEPM): fix part of bug 1255 and 1256
4622
4623 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4624
4625         * BufferView_pimpl.C (workAreaDispatch): change to use
4626         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4627         that are no mouse related.
4628
4629 2003-08-05  André Pönitz  <poenitz@gmx.net>
4630
4631         * BufferView.[Ch]:
4632         * BufferView_pimpl.[Ch]:
4633         * bufferview_funcs.C:
4634         * text2.C:
4635         * text3.C: rip out "deep update"
4636
4637         * textcursor.[Ch] (last_sel_cursor): remove unused member
4638
4639 2003-08-04  André Pönitz  <poenitz@gmx.net>
4640
4641         * BufferView.[Ch]:
4642         * BufferView_pimpl.[Ch]:
4643         * ParagraphParameters.C:
4644         * bufferview_funcs.C:
4645         * lyx_cb.C:
4646         * lyxfind.C:
4647         * lyxfunc.C:
4648         * text.C:
4649         * text2.C:
4650         * text3.C: replace "complicated" BufferView::update(...) calls with
4651         simpler ones.
4652
4653         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4654
4655 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4656
4657         * Makefile.am (lyx_SOURCES): add paper.h
4658
4659 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4660
4661         * Makefile.am: move things around so that both lyx-qt and
4662         lyx-xforms can be built (according to --with-frontend). Then lyx
4663         is a symbolic link to lyx-[firstfrontend]
4664
4665 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4666
4667         * Always use std::endl with lyxerr
4668
4669 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4670
4671         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4672
4673 2003-08-01  André Pönitz  <poenitz@gmx.net>
4674
4675         * BufferView.[Ch]:
4676         * BufferView_pimpl.[Ch]:
4677         * lyxfunc.C:
4678         * text3.C: merge BufferView::repaint() and BufferView::update()
4679
4680 2003-08-01  José Matos  <jamatos@lyx.org>
4681
4682         * buffer.[Ch]: file_format is no longer a buffer data element.
4683
4684 2003-08-01  André Pönitz  <poenitz@gmx.net>
4685
4686         * BufferView.C:
4687         * lyxtext.h:
4688         * text.C:
4689         * text2.C: make redoParagraph more independent of current cursor
4690
4691         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4692         * text.C:
4693         * text2.C: remove unneeded members
4694
4695 2003-07-30  André Pönitz  <poenitz@gmx.net>
4696
4697         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4698
4699         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4700           create a single function...
4701
4702         * paragraph_funcs.C (moveItem): ... here.
4703
4704         * text.C:
4705           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4706
4707 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4708
4709         * LColor.[Ch]: Add comment and greyedout logical colors.
4710
4711 2003-07-30  André Pönitz  <poenitz@gmx.net>
4712
4713         * tabular.C: don't use Assert too heavily. This crashes where it
4714           shouldn't
4715
4716 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4717
4718         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4719         is disabled (bug 1232)
4720
4721 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4722
4723         * factory.C: limited 'arg' scope
4724
4725 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4726
4727         * factory.C: fixed Note submenu issues
4728
4729 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4730
4731         * factory.C: submenu for Note/Comment/Greyedout
4732
4733 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4734
4735         * lyx_main.C (LyX):
4736         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4737
4738 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4739
4740         * LaTeXFeatures.C:
4741         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4742         greyedout. Patch provided by Jürgen Spitzmüller.
4743
4744 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4745
4746         * kbmap.C (read): fix error message when reading bind files
4747
4748 2003-07-29  Angus Leeming  <leeming@lyx.org>
4749
4750         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4751         certainly does not do what it purports to do. I am doing it, and
4752         us, a favour by killing it.
4753
4754 2003-07-28  José Matos  <jamatos@lyx.org>
4755
4756         * buffer.C (readBody, do_writeFile):
4757         * paragraph.C(readParagraph): \end_document replaces \the_end.
4758
4759 2003-07-29  André Pönitz  <poenitz@gmx.net>
4760
4761         * BufferView.[Ch]:
4762         * BufferView_pimpl.[Ch]:
4763         * lyxfunc.C:
4764         * text2.C:
4765         * text3.C:
4766         * textcursor.[Ch]: remove toggleToggle & Co
4767
4768 2003-07-28  José Matos  <jamatos@fep.up.pt>
4769
4770         * buffer.C (readParagraph):
4771         * params_func (readParToken, readParagraph):
4772         * paragraph.C (write): \layout -> \begin_layout.
4773
4774 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4775
4776         * lyxlex_pimpl.C (setFile): clean up slightly.
4777
4778         * bufferparams.h: add compressed var
4779
4780         * buffer_funcs.C (readFile): adjust for LyXLex change
4781         (newFile): ditto + simplify
4782
4783         * buffer.C (writeFile): handle writing of compressed files
4784
4785         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4786         Check if the file is compressed and set a bufferparm if so.
4787
4788         * Makefile.am (lyx_LDADD): remove explicit -lz
4789
4790 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4791
4792         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4793         makeDocBookFile): put the real LyX version in the first line of
4794         the file
4795
4796         * version.h:
4797         * version.C.in: remove lyx_docversion
4798
4799         * tabular.C (write_attribute): add a template-based version to
4800         write enums properly
4801
4802 2003-07-28  André Pönitz  <poenitz@gmx.net>
4803
4804         * lyxtext.h:
4805         * text.C:
4806         * text2.C:
4807         * text3.C: use doubles again for x-coordinates. They are needed.
4808
4809 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4810
4811         * messages.C (getLocaleDir): use lyx_localedir()
4812
4813         * lyxlex_pimpl.C (setFile): compress stuff
4814
4815         * buffer.C (writeFile): add some compression stuff
4816         (do_writeFile): new func, dont call expliti close... will this
4817         breake anything?
4818
4819         * Makefile.am (lyx_LDADD): add -lz
4820
4821 2003-07-28  José Matos  <jamatos@fep.up.pt>
4822
4823         * buffer.C: increment file format.
4824         * paragraph_funcs (readParagraph, readParToken):
4825         * paragraph.C (readParagraph): add \end_layout.
4826
4827 2003-07-27  Angus Leeming  <leeming@lyx.org>
4828
4829         * Makefile.am: remove special casing for configure-time setting of
4830         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4831
4832         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4833         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4834
4835 2003-07-26  André Pönitz  <poenitz@gmx.net>
4836
4837         * paragraph_func.[Ch]:
4838         * paragraph.C (realizeFont): inline it whereever it is used
4839
4840         * rowpainter.C:
4841         * text.C:
4842         * text2.C:
4843         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4844
4845
4846 2003-07-26  André Pönitz  <poenitz@gmx.net>
4847
4848         *       lyxtext.h:
4849         * text.C:
4850         * text2.C: get rid of LyXText::need_break_row
4851
4852 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4853
4854         * toc.[Ch]: put namespace toc inside namespace lyx
4855
4856         * MenuBackend.C (expandToc2): adjust for lyx::toc
4857         (expandToc): ditto
4858
4859         * lyxfunc.C (dispatch): adjust for lyx::find
4860
4861         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4862         lyx::find instead. Reorganize a bit.
4863         (LyXReplace): rename to replace
4864         (LyXFind): rename to find
4865
4866         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4867         (dispatch): ditto
4868
4869 2003-07-26  André Pönitz  <poenitz@gmx.net>
4870
4871         * text.C (setHeightOfRow): restrict scope of temporary variable
4872
4873         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4874           code (never has been used?)
4875
4876 2003-07-27  Asger Alstrup  <alstrup@local>
4877
4878         * text.C (fill): Optimise algorithm to exploit that we can reuse
4879         the LyXFont for many characters.
4880         (setHeightOfRow): Same thing.
4881         (rowBreakPoint): Same thing.
4882
4883 2003-07-26  Asger Alstrup  <alstrup@local>
4884
4885         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4886
4887         * text.C (singleWidth): Spurious font copying in hot-spot
4888         singleWidth avoided. Reorder tests for arabic for efficiency.
4889
4890         * text.C (fill): handle empty paragraphs better.
4891
4892 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4893
4894         * ispell.C:
4895         * encoding.h: add includes
4896
4897         * lyxrc.C: remove reading of bind files
4898
4899         * lyx_main.C (init): setup bindings and menus only if we have a
4900         gui.
4901
4902         * kbmap.C (read): new method. Do the actual reading of bind
4903         files.
4904
4905         * converter.C (dvipdfm_options):
4906         * bufferparams.C:
4907         * lyxrc.C (read):
4908         (output): adapt PAPER_* enums.
4909
4910         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4911
4912         * bufferparams.h: remove paper-related enums from there
4913
4914         * paper.h: New file. A trivial header file to hold paper-related
4915         enums. It should later expand to contain many paper-related
4916         horrors access.
4917
4918         * lyxrc.C: declare extern displayTranslator
4919
4920 2003-07-27  José Matos  <jamatos@fep.up.pt>
4921
4922         * tabular.[Ch] (linuxdoc): add support for tables and figures
4923         (linuxdoc).
4924
4925 2003-07-27  José Matos  <jamatos@fep.up.pt>
4926
4927         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4928         consistency in both functions.
4929         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4930
4931 2003-07-26  Asger Alstrup  <alstrup@local>
4932
4933         * rowpainter.C (paintRows): Change algorithm to work directly on
4934         the insets rather than asking every character in the document
4935         whether its an inset.
4936
4937 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4938
4939         * buffer.C (openFileWrite): factorize some code
4940
4941 2003-07-26  Angus Leeming  <leeming@lyx.org>
4942
4943         * lyx_cb.C:
4944         * lyx_main.[Ch]: replace occurances of system_tempdir with
4945         os::getTmpDir().
4946
4947 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * rename Inset to InsetOld
4950
4951 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4952
4953         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4954         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4955         which I think is a bit clearer. EDIT is gone, since it was
4956         premature optimisation, and broken for mathed anyway.
4957         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4958         with cursor positioning in insets as well (math insets still do not
4959         work, but that's a different story anyway.) It mysteriously
4960         crashes sometimes with undo in the first paragraph, but I'm fairly
4961         confident that this is a compiler bug.
4962
4963 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * paragraph.C (Paragraph): adjust for new clone return type
4966         (operator==): ditto
4967         (copyIntoMinibuffer): ditto
4968
4969 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4970
4971         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4972         by not having a special case, and always doing a full rebreak of
4973         the document after undo.
4974
4975 2003-07-23  Angus Leeming  <leeming@lyx.org>
4976
4977         * factory.C (createInset): InsetExternal::setParams now takes a
4978         Buffer const * arg.
4979
4980 2003-07-23  Angus Leeming  <leeming@lyx.org>
4981
4982         * factory.C (createInset): changed interface to the external and
4983         graphics mailers' string2params functions.
4984
4985 2003-07-23  Angus Leeming  <leeming@lyx.org>
4986
4987         * factory.C (createInset): pass a
4988         Buffer const * parameter to InsetExternalMailer's string2params.
4989
4990 2003-07-22  John Levon  <levon@movementarian.org>
4991
4992         * Thesaurus.h: include the right aiksaurus header
4993
4994 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4995
4996         * MenuBackend.C (expand): check menu shortcuts unconditionally
4997
4998 2003-07-21  Angus Leeming  <leeming@lyx.org>
4999
5000         * factory.C (createInset): pass a
5001         buffer_path parameter to InsetGraphicsMailer's string2params.
5002
5003 2003-07-21  Angus Leeming  <leeming@lyx.org>
5004
5005         * BufferView_pimpl.C (buffer):
5006         * buffer.C (d-tor):
5007         * lyx_main.C (LyX):
5008         * lyxfunc.C (dispatch):
5009         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5010         rather than the grfx shortcut.
5011
5012 2003-07-21  André Pönitz  <poenitz@gmx.net>
5013
5014         * rowpainter.C: remove unused variables
5015
5016         * tabular_funcs.C:
5017         * tabular_funcs.h: move to tabular.C
5018         * Makefile.am: adjust
5019
5020         * tabular.[Ch]: basic optical cleaning
5021
5022         * author.h: pass references, not values
5023
5024 2003-07-18  André Pönitz  <poenitz@gmx.net>
5025
5026         * lyxtext.h:
5027         * metricsinfo.C:
5028         * metricsinfo.h:
5029         * rowpainter.C:
5030         * text.C:
5031         * text2.C:
5032         * text3.C: two-phase drawing for InsetText and InsetTabular
5033         some float -> int changes.
5034
5035 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5036
5037         * lyx_main.C: fix the fix
5038
5039 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5040
5041         * lyx_main.C: fix a crash in batch mode if no files specified
5042         * converter.C: ws
5043
5044 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5045
5046         * format.[Ch] (papersize): moved to BufferParams
5047         * converter.[Ch] (dvips_options): moved to BufferParams
5048         (dvipdfm_options): moved to anon namespace
5049         * bufferparams.[Ch]: added above functions.
5050
5051 2003-07-17  André Pönitz  <poenitz@gmx.net>
5052
5053         * lyxtext.h:
5054         * rowpainter.C:
5055         * text2.C: don't call inset->update() anymore
5056
5057         * metricsinfo.[Ch]: add convenience constructor
5058
5059 2003-07-16  André Pönitz  <poenitz@gmx.net>
5060
5061         * lyxcursor.[Ch]:
5062         * lyxfunc.[Ch]:
5063         * text.C:
5064         * text2.C: replace the LyXCursor::irow_ member with
5065          on-demand computation of the value
5066
5067 2003-07-16  John Levon  <levon@movementarian.org>
5068
5069         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5070
5071 2003-07-15  André Pönitz  <poenitz@gmx.net>
5072
5073         * text.C:
5074         * text2.C: remove no more needed refresh_row
5075
5076 2003-07-15  André Pönitz  <poenitz@gmx.net>
5077
5078         * lyxtext.h:
5079         * rowpainter.C:
5080         * text2.C:
5081         * text3.C: refresh_status tristate -> need_update bool
5082
5083 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * lyxtext.h (init): remove reinit argument (act as if always true)
5086         * text2.C: adjust to that
5087
5088 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5089
5090         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5091         * text3.C: use it to delete selections in some cases
5092         (bugs 441, 673, 702, 954).
5093
5094 2003-07-14  André Pönitz  <poenitz@gmx.net>
5095
5096         * rowpainter.[Ch]: reduce interface
5097
5098 2003-07-14  André Pönitz  <poenitz@gmx.net>
5099
5100         * BufferView_pimpl.C:
5101         * text2.C: adjust after removing unused BufferView * argument
5102
5103 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5104
5105         * text2.C (init): fix a crash fired on resize
5106
5107 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5108
5109         * buffer.[Ch]: added new closing signal
5110         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5111         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5112         BufferView::Pimpl via the closing the signal
5113
5114 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5115
5116         * buffer.[Ch]: take out all bv-related from buffer
5117         * BufferView.C:
5118         * BufferView_pimpl.[Ch]: connect to new signals
5119         * CutAndPaste.C: removed useless asserts
5120         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5121         * lyxvc.[Ch]:
5122         * vc-backend.[Ch]:
5123         * lyxfunc.C: moved view-related funciontality from vc here
5124         * paragraph.C: removed outdated comments
5125         * text.C: ws
5126
5127 2003-07-10  André Pönitz  <poenitz@gmx.net>
5128
5129         * BufferView_pimpl.C:
5130         * tabular.h:
5131         * tabular_funcs.C:
5132         * text.C:
5133         * text2.C: remove InsetText::InnerCache, clean up consequences
5134
5135 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5136
5137         * ispell.C: fix two typos in error messages
5138
5139 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5140
5141         * Extend Note inset to other forms of annotation like Comment
5142         and Greyedout. Right button click gives dialog.
5143
5144         Files modified or added (+):
5145
5146         * insetnote.[Ch]
5147         * FormNote.[Ch]      +
5148         * ControlNote.[Ch]   +
5149         * form_note.fd       +
5150         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5151         frontends/controllers
5152         * xforms/Dialogs.C
5153         * factory.C
5154
5155 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5156
5157         * aspell.C: add missing namespace lyx::support
5158
5159 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * BufferView.[Ch] (newFile): Add
5162         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5163         * LaTeX.[Ch] (message): added this signal and use it
5164         * buffer.[Ch] (busy, message): added these signals and use them
5165         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5166         * converter.C:
5167         * exporter.C:
5168         * format.C:
5169         * importer.C: use buffer signals instead of direct bv calling
5170         * lyx_cb.[Ch] (ShowMessage): removed
5171         * lyx_main.C:
5172         * lyxfunc.C:
5173         * paragraph_funcs.C:
5174         * text2.C: use buffer signals
5175
5176 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5177
5178         * introduce namespace lyx::graphics
5179
5180 2003-07-02  André Pönitz  <poenitz@gmx.net>
5181
5182         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5183
5184 2003-07-01  André Pönitz  <poenitz@gmx.net>
5185
5186         * text.C:
5187         * text2.C:
5188         * text3.C:
5189         * text_funcs.[Ch]:
5190         * textcursor.h:
5191         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5192           text*.C to text_func.C
5193
5194 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5195
5196         * introduce namespace lyx::support
5197
5198 2003-06-30  André Pönitz  <poenitz@gmx.net>
5199
5200         * Chktex.C:
5201         * funcrequest.C:
5202         * lyxtext.h:
5203         * text.C: re-enable --with-included-string
5204
5205 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * textcursor.C: add <config.h>
5208
5209         * text.C (getWord): remove const from word_location arg
5210
5211         * lyxvc.C (getLogFile): fix const type order
5212
5213         * lyxtext.h: remove const from word_location arg, add arg name
5214
5215         * lyxlayout.h: currect type on labeltype.
5216
5217         * importer.C: correct \file
5218
5219         * converter.C (intToFormat): use std:: on ret val, ws changes
5220
5221         * bufferlist.h: correct \file
5222
5223         * buffer.C (makeLinuxDocFile): fix const type order
5224         (makeDocBookFile): ditto
5225         (fillWithBibKeys): use std:: on stdlib args.
5226
5227         * CutAndPaste.C: fix authors.
5228         (availableSelections): use std:: on return vector
5229
5230 2003-06-27  André Pönitz  <poenitz@gmx.net>
5231
5232         * BufferView_pimpl.C:
5233         * bufferview_funcs.C:
5234         * lyxcursor.C:
5235         * lyxcursor.h:
5236         * lyxfunc.C:
5237         * lyxtext.h:
5238         * rowpainter.C:
5239         * text.C:
5240         * text2.C:
5241         * text3.C: remove LyXCursor::row_ member
5242
5243         * lyxtext.h:
5244         * text.C: rename fullRebreak() to partialRebreak() and implement
5245           a fullRebreak() that really bereks fully
5246
5247         * textcursor.h: new struct for cursor-related data
5248
5249 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5250
5251         * lyx_main.C (LyX): get full path of document loaded on the
5252         command line
5253
5254 2003-06-26  André Pönitz  <poenitz@gmx.net>
5255
5256         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5257           remove unused/broken operator>,<,>=.
5258
5259         *       text.C: remove only use of broken operator<= in an Assert().
5260
5261 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5262
5263         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5264         moved errorlist_.clear to showErrorList
5265
5266 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5267
5268         * converter.C (scanLog, runLaTeX):
5269         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5270         move the bv->showErrorList call to the callers
5271         * lyxfunc.C: i.e. here...
5272         * text2.C: and here
5273         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5274         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5275         namespace, the second to...
5276         * buffer_funcs (BufferFormat, parseErrors): added
5277         * errorlist.C (ErrorList(TeXErrors const &)): removed
5278
5279 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5280
5281         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5282
5283 2003-06-24  "Garst R. Reese" <reese@isn.net>
5284
5285         * debug.C: fix typo
5286
5287 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5288
5289         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5290
5291         * version.C.in: change docversion to 1.4
5292
5293 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5294
5295         * buffer.C: fix a bug just introduced
5296
5297 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * buffer.[Ch]: added the parseError signal and use it, removed
5300         sgmlError
5301         * BufferView.[Ch] (addError): moved to ...
5302         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5303         to the Buffer::parseError signal to catch (guess what) parse errors
5304         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5305
5306 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5307
5308         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5309         ability to create a buffer and to return an existing one from
5310         the list. Moved these functions to...
5311         * buffer_funcs.[Ch]: added
5312         * BufferView.[Ch] (loadLyXFile): added
5313         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5314         job removed from bufferlist::loadLyXFile.
5315         * buffer.C (setReadOnly): make it work without view
5316         (i.e added an if (users))
5317
5318 2003-06-19  Angus Leeming  <leeming@lyx.org>
5319
5320         * lfuns.h:
5321         * LyXAction.C (init):
5322         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5323         with LFUN_DIALOG_SHOW <name> <data>.
5324
5325 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5326
5327         * CutAndPaste.C (availableSelections): small compilation fix for
5328         ancient (gcc 2.9x) compilers
5329
5330 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5331
5332         * text3.C (cursorNext): add tmp var
5333
5334         * text2.C (updateCounters): for function calling out of for clause
5335         (replaceSelectionWithString): ditto
5336         (insertStringAsParagraphs): ditto
5337         (getColumnNearX): add tmp var
5338         (setCursorFromCoordinates): add tmp var
5339         (cursorDownParagraph): add tmp var
5340         (deleteEmptyParagraphMechanism): add tmp var
5341
5342         * text.C (insertChar): add tmp var
5343
5344         * rowpainter.C (paintDepthBar): add tmp var
5345
5346         * CutAndPaste.C (availableSelections): potentially check all
5347         paragraphs in a cut to fill the shown strings.
5348
5349 2003-06-18  André Pönitz  <poenitz@gmx.net>
5350
5351         * kbmap.[Ch]: use vector<> instead of list<>
5352
5353 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5354
5355         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5356         pasteSelection with index
5357
5358         * text2.C (pasteSelection): modify, call pasteSelection with index
5359
5360         * paragraph.C (asString): reimplement version with no interval to
5361         call the one with interval.
5362
5363         * lyxtext.h: add index arg to pasteSelection
5364
5365         * MenuBackend.C (MenuItem): handle PasteRecent
5366         (Menu::read::Menutags): add md_pasterecent
5367         (read): handle it
5368         (expandPasteRecent): new function
5369         (expand): use it
5370
5371         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5372
5373         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5374         the limited stack
5375         (availableSelections): new function
5376
5377 2003-06-17  Angus Leeming  <leeming@lyx.org>
5378
5379         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5380
5381 2003-06-17  Angus Leeming  <leeming@lyx.org>
5382
5383         * lfuns.h:
5384         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5385
5386         * lyxfunc.C (dispatch): invoke it.
5387
5388 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5389
5390         * iterators.C (operator++, ParPosition): reintroduce some
5391         const_cast for the benefit of older compilers.
5392
5393 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5394
5395         * text3.C (dispatch): do not modify clipboard when doing
5396         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5397         LFUN_DELETE_SKIP on a selection selection
5398
5399 2003-06-16  André Pönitz  <poenitz@gmx.net>
5400
5401         * BufferView.C:
5402         * buffer.C:
5403         * buffer.h:
5404         * paragraph.C:
5405         * tabular.[Ch]: IU of clone() and getLabelList();
5406
5407 2003-06-13  André Pönitz  <poenitz@gmx.net>
5408
5409         * tabular.h: compactification
5410
5411 2003-06-12  André Pönitz  <poenitz@gmx.net>
5412
5413         * tabular.C:
5414         * tabular.h:
5415         * tabular_funcs.h: some renaming plus whitespace
5416
5417 2003-06-12  André Pönitz  <poenitz@gmx.net>
5418
5419         * BufferView.C:
5420         * BufferView_pimpl.C:
5421         * CutAndPaste.C:
5422         * buffer.C:
5423         * iterators.[Ch]:
5424         * lyxfunc.C:
5425         * text.C:
5426         * toc.C: Return a Paragraph & for ParIterator::operator*()
5427
5428 2003-06-11  John Levon  <levon@movementarian.org>
5429
5430         * lyx_main.C:
5431         * ToolbarBackend.h:
5432         * ToolbarBackend.C: add "Toolbars" section and
5433         put the flags there
5434
5435 2003-06-10  Angus Leeming  <leeming@lyx.org>
5436
5437         * lfuns.h:
5438         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5439
5440         * lyxfunc.C (dispatch): invoke it.
5441
5442 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5443
5444         * main.C: protect <ios> with HAVE_IOS
5445         (main): protect sync_with_stdio with HAVE_IOS
5446
5447 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5448
5449         * text2.C (cutSelection): adjust
5450         (pasteSelection): adjust
5451
5452         * messages.C: handle get of empty string
5453
5454         * main.C (main): use sync_with_stdio(false)
5455
5456         * lyxfunc.C (dispatch): adjust
5457
5458         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5459         (WriteAs): remove unneeded BufferView arg.
5460
5461         * bufferparams.h: use correct types on papersize, papersize2 and
5462         paperpackage.
5463
5464         * bufferparams.C (readToken): adjust for type
5465         (writeLaTeX): add missing cases to switch.
5466
5467         * bufferlist.C (quitWriteBuffer): adjust
5468         (close): adjust
5469
5470         * buffer.C (asciiParagraph): remove some commented code.
5471
5472         * CutAndPaste.C: remove current_view extern variable.
5473         (cutSelection): add BufferParams arg.
5474         (eraseSelection): add BufferParams arg.
5475         (pasteSelection): add Buffer const & arg
5476
5477 2003-06-07  John Levon  <levon@movementarian.org>
5478
5479         * buffer.C:
5480         * paragraph_funcs.C:
5481         * paragraph_pimpl.C:
5482         * text.C:
5483         * text2.C:
5484         * paragraph.h:
5485         * paragraph.C: allow InsetERT to freely space lines,
5486         and some consolidation of code
5487
5488 2003-06-06  José Matos  <jamatos@fep.up.pt>
5489
5490         * buffer.C (makeDocBookFile): fix bug #821
5491
5492 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5493
5494         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5495
5496 2003-06-04  Angus Leeming  <leeming@lyx.org>
5497
5498         * buffer.C: bump format to 224.
5499
5500 2003-06-05  André Pönitz  <poenitz@gmx.net>
5501
5502         * text2.C (redoParagraphs): remove two const_cast<>
5503
5504 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5505
5506         * ParagraphList.h: remove last remnants of NO_STD_LIST
5507
5508 2003-06-03  Angus Leeming  <leeming@lyx.org>
5509
5510         * factory.C (createInset): small change to the way InsetExternal's params
5511         are set.
5512
5513 2003-06-04  André Pönitz  <poenitz@gmx.net>
5514
5515         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5516
5517         * paragraph_pimpl.h:
5518         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5519
5520         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5521
5522         * undo_funcs.C: make some simple cases of undo work again
5523
5524 2003-06-03  John Levon  <levon@movementarian.org>
5525
5526         * ispell.C: HPUX doesn't have sys/select.h
5527         (from Albert Chin)
5528
5529 2003-06-03  John Levon  <levon@movementarian.org>
5530
5531         * CutAndPaste.C: update tabular and include inset
5532         buffer references
5533
5534         * buffer.h:
5535         * paragraph.h:
5536         * paragraph.C: remove owningBuffer(), don't pass Buffer
5537         to clone()
5538
5539         * factory.C: insetGraphicsParams changed
5540
5541 2003-06-02  John Levon  <levon@movementarian.org>
5542
5543         * LyXAction.C:
5544         * factory.C:
5545         * lfuns.h:
5546         * lyxfunc.C:
5547         * text3.C: remove insetparent
5548
5549 2003-06-02  John Levon  <levon@movementarian.org>
5550
5551         * buffer.h:
5552         * buffer.C: fix inset_iterator.end(), move out of line
5553         (bug 1149)
5554
5555 2003-06-01  John Levon  <levon@movementarian.org>
5556
5557         * text3.C: use a proper cut/paste when doing inset
5558         insert (from Jürgen Spitzmüller)
5559
5560 2003-06-01  John Levon  <levon@movementarian.org>
5561
5562         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5563
5564 2003-05-30  André Pönitz  <poenitz@gmx.net>
5565
5566         * rowpainter.C: unify second drawing phase
5567
5568 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * trans_mgr.C: remove one case of current_view
5571
5572         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5573
5574         * paragraph_funcs.h: remove paragraph.h include
5575
5576         * paragraph.h: delete NO_STD_LIST stuff
5577
5578         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5579
5580         * buffer.h: remove paragraph.h include
5581
5582         * ParagraphList.C: delete file
5583
5584         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5585
5586         * toc.C (getTocList): adjust
5587
5588         * paragraph_pimpl.C (validate): adjust
5589
5590         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5591
5592         * paragraph.C (Paragraph): adjust
5593         (getPositionOfInset): use const_iterator, adjust
5594         (bibitem): use const_iterator, adjust
5595         (setInsetOwner): adjust
5596
5597         * iterators.C (operator++): adjust
5598
5599         * InsetList.[Ch]: Replace selfmade iterator with standard
5600         vector::iterator also introduce const_iterator. Remove getPos,
5601         getInset and setInset from InsetTable. Adjust accordingly.
5602
5603         * BufferView.C (lockInset): adjust
5604         (ChangeInsets): adjust
5605
5606         * tabular.[Ch]: delete commented same_id functions
5607
5608 2003-05-28  John Levon  <levon@movementarian.org>
5609
5610         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5611
5612 2003-05-28  André Pönitz  <poenitz@gmx.net>
5613
5614         * metricsinfo.[Ch]: remove 'fullredraw' member
5615
5616 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5617
5618         * lyxtextclass.C (operator): remove caching.
5619
5620 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5621
5622         * text3.C: adjust
5623
5624         * text2.C (cursorBottom): adjust
5625         (setCounter): use ParagraphList::find, adjust
5626
5627         * text.C (workWidth): use ParagraphList::find, adjust
5628
5629         * lyxcursor.C (LyXCursor): adjust
5630
5631         * buffer.C (inset_iterator): adjust
5632
5633         * ParagraphList.h: make iterator(value_type) private, make
5634         ParagraphList a friend of iterator.
5635
5636         * ParagraphList.C (find): new function
5637
5638         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5639
5640 2003-05-27  André Pönitz  <poenitz@gmx.net>
5641
5642         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5643
5644 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5645
5646         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5647
5648 2003-05-26  John Levon  <levon@movementarian.org>
5649
5650         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5651
5652 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5653
5654         * remove same_id from function signatures, adjust.
5655
5656 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5659
5660         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5661
5662         * paragraph.C (Paragraph): get rid of same_ids parameter
5663
5664         * ParagraphList.C (insert): adjust
5665         (push_back): adjust
5666
5667 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5668
5669         * paragraph_funcs.C (breakParagraph): adjust
5670         (breakParagraphConservative): adjust
5671
5672         * buffer.C (readParagraph): adjust
5673
5674         * ParagraphList.C (insert): take a reference instead of a pointer
5675         (insert): adjust
5676
5677         * paragraph.[Ch] (id): new function
5678
5679         * bufferlist.C (newFile): adjust
5680
5681         * ParagraphList.C (ParagraphList): adjust
5682         (assign): adjust
5683         (push_back): take a reference instead of a pointer.
5684
5685         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5686
5687         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5688         instead.
5689
5690         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5691         set else use old code.
5692
5693         * ParagraphList.C: remove all NO_NEXT code and only compile this
5694         code of NO_STD_LIST is set.
5695
5696 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * BufferView_pimpl.C:
5699         * TextCache.C:
5700         * TextCache.h:
5701         * bufferlist.C:
5702         * errorlist.h:
5703         * format.C:
5704         * format.h:
5705         * graph.C:
5706         * lyxfunc.C:
5707         * lyxrc.C:
5708         * graphics/GraphicsConverter.C:
5709         * graphics/PreviewLoader.C: header adjustment
5710
5711 2003-05-23  Angus Leeming  <leeming@lyx.org>
5712
5713         * LaTeXFeatures.[Ch] (useBabel): new method.
5714         * bufferparams.C (writeLaTeX): use it.
5715
5716 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * ParagraphList.h (set): remove unused function.
5719
5720 2003-05-23  André Pönitz  <poenitz@gmx.net>
5721
5722         * BufferView.C:
5723         * BufferView_pimpl.C:
5724         * buffer.C:
5725         * buffer.h:
5726         * lyxfunc.C:
5727         * undo_funcs.C: setUndo reworked
5728
5729         * iterators.[Ch]: add access to topmost ParagraphList
5730
5731         * lyxtext.[Ch] (workWidth): add a const
5732
5733 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5734
5735         * texrow.[Ch] (increasePos): remove function
5736         * exporter.C (export): removed unused var and outdated comment
5737
5738 2003-05-23  Angus Leeming  <leeming@lyx.org>
5739
5740         * latexrunparams.h: rename fragile as moving_arg.
5741         * paragraph.C (simpleTeXOnePar): ditto.
5742         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5743
5744 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5747         (createUndo): ditto
5748         (textUndoOrRedo): comment out a currently unused var.
5749
5750         * paragraph.h (NO_NEXT): enable NO_NEXT
5751
5752         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5753
5754         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5755
5756         * exporter.C (Export): adjust for removeAutoInsets removal.
5757
5758         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5759
5760         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5761
5762         * BufferView.[Ch] (removeAutoInsets): delete function
5763
5764 2003-05-22  Angus Leeming  <leeming@lyx.org>
5765
5766         * latexrunparams.h: add a free_spacing variable.
5767
5768         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5769         to pass moving_arg, as the data is stored in runparams.fragile.
5770
5771         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5772         to Inset::latexOptional or to simpleTeXOnePar.
5773
5774         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5775         free_spacing arg to Inset::latexOptional.
5776
5777         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5778         free_spacing arg.
5779
5780 2003-05-22  Angus Leeming  <leeming@lyx.org>
5781
5782         * latexrunparams.h: add fragile and use_babel variables.
5783
5784         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5785         * buffer.C (makeLaTeXFile): store this returned value in
5786         runparams.use_babel, thus passing it to the inset::latex methods.
5787
5788         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5789         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5790
5791         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5792         longer has a fragile arg, as it is stored in runparams.fragile.
5793
5794         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5795         moving_arg parameter as the data is stored in runparams.fragile.
5796
5797         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5798         a fragile parameter as the data is stored in runparams.fragile.
5799
5800 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5803
5804 2003-05-22  Angus Leeming  <leeming@lyx.org>
5805
5806         * latexrunparams.h: add a 'bool nice' which defaults to false.
5807
5808         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5809         now encapsulated within runparams.
5810
5811         * bufferlist.C (updateIncludedTeXfiles):
5812         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5813
5814 2003-05-22  Angus Leeming  <leeming@lyx.org>
5815
5816         * latexrunparams.h: new file containing struct LatexRunParams.
5817         * Makefile.am: add new file.
5818
5819         * LaTeX.[Ch] (c-tor, run):
5820         * buffer.[Ch] (makeLaTeXFile):
5821         * bufferlist.[Ch] (updateIncludedTeXfiles):
5822         * converter.C (convert, scanLog):
5823         * converter.[Ch] (runLaTeX):
5824         * exporter.C (Export):
5825         * paragraph.[Ch] (simpleTeXOnePar):
5826         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5827         * paragraph_funcs.[Ch] (latexParagraphs):
5828         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5829         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5830         pass around a LatexRunParams parameter.
5831
5832 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * paragraph.[Ch]: remove unused constructor
5835
5836         * ParagraphList.C (erase): new function, taking two iterators
5837
5838 2003-05-22  André Pönitz  <poenitz@gmx.net>
5839
5840         * undo_funcs.C: remove duplicated code
5841
5842         * iterator.[Ch]: operator=
5843
5844 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * tabular.C (SetMultiColumn): ws changes
5847
5848         * rowpainter.C (paintFirst): get rid of a ->previous
5849
5850         * lyx_cb.C (getPossibleLabel): parlist simplification
5851
5852         * BufferView.C (ChangeInsets): simplify slightly.
5853
5854 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5855
5856         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5857         * lfuns.h: new LFUN_SPACE
5858         * lyxfunc.C: protected space has a new lfun
5859         * paragraph_funcs.C: read new space insets
5860         * text3.C:
5861         * factory.C: handle new space insets
5862
5863 2003-05-22  André Pönitz  <poenitz@gmx.net>
5864
5865         * BufferView.C:
5866         * BufferView_pimpl.C:
5867         * buffer.[Ch]:
5868         * lyxfunc.C:
5869         * undo_funcs.C: return a ParIterator from getParFromID.
5870
5871         * iterators.[Ch]: add two const's
5872
5873 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5874
5875         * toc.C (getTocList): adjust
5876
5877         * iterators.[Ch]: rework for parlist
5878
5879         * buffer.C (par_iterator_begin): adjust
5880         (par_iterator_end): adjust
5881
5882         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5883
5884         * BufferView.C (removeAutoInsets): adjust
5885         (ChangeInsets): adjust
5886
5887 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5888
5889         * text.C (top_y): fix bug 1110
5890
5891 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5892
5893         * errorlist.[Ch]: added
5894         * buffer.C:
5895         * BufferView.[Ch]:
5896         * BufferView_pimpl.C:
5897         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5898         instead
5899
5900 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * Makefile.am: ensure that lyx is relinked upon changes to the
5903         various "convenience" libs.
5904
5905 2003-05-20  Angus Leeming  <leeming@lyx.org>
5906
5907         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5908         files are compiled in alphabetical order again.
5909
5910         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5911
5912 2003-05-19  Angus Leeming  <leeming@lyx.org>
5913
5914         * gettext.[Ch]: remove "char const * _(char const *)".
5915
5916 2003-05-19  André Pönitz  <poenitz@gmx.net>
5917
5918         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5919
5920         * Makefile.am:
5921         * BufferView.C:
5922         * DepTable.h:
5923         * LaTeXFeatures.C:
5924         * buffer.C:
5925         * lyxfont.C:
5926         * lyxlex.h:
5927         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5928
5929 2003-05-19  André Pönitz  <poenitz@gmx.net>
5930
5931         * buffer.C:
5932         * lyxlayout.[Ch]:
5933         * lyxtextclass.[Ch]:
5934         * paragraph.C:
5935         * paragraph_funcs.[Ch]:
5936         * text2.C:
5937         * text3.C: more insetenv work
5938
5939 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * ParagraphParameters.C (params2string): small bug fixed
5942
5943 2003-05-16  André Pönitz  <poenitz@gmx.net>
5944
5945         * debug.C:
5946         * bufferview_funcs.C: patch from Kornel Benko to prevent
5947           crash when _(...) is called twice in a statement
5948
5949 2003-05-16  André Pönitz  <poenitz@gmx.net>
5950
5951         * BufferView.C:
5952         * lyxfunc.C:
5953         * text.C:
5954         * text2.C:
5955         * text3.C:
5956         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5957
5958 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5959
5960         * lyx_main.C (init): remove spurious static_cast
5961
5962 2003-05-14  André Pönitz  <poenitz@gmx.net>
5963
5964         * BufferView.C: fix format string
5965
5966 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5967
5968         * BufferView.[Ch] (insertErrors): removed
5969         * BufferView.[Ch] (showErrorList): added
5970         * buffer.C (runChkTeX):
5971         * converter.C (scanLog): call showErrorList instead of inserterrors
5972
5973 2003-05-13  André Pönitz  <poenitz@gmx.net>
5974
5975         * BufferView_pimpl.C:
5976         * buffer.C:
5977         * bufferview_func.C:
5978         * MenuBackend.C:
5979         * lyxfunc.C:
5980         * lyxrc.C:
5981         * tex-accent.C:
5982         * text3.C:
5983         * toc.C:
5984         * tabular_funcs.h: tostr() from its own header
5985
5986         * ParagraphParameters.C:
5987         * ToolbarBackend.C:
5988         * bufferparams.C:
5989         * format.C:
5990         * lyxlex_pimpl.C:
5991         * text3.C: STRCONV()
5992
5993 2003-05-12  André Pönitz  <poenitz@gmx.net>
5994
5995         * BufferView.C:
5996         * BufferView_pimpl.C:
5997         * CutAndPaste.C:
5998         * LaTeX.C:
5999         * LaTeXFeatures.C:
6000         * ParagraphParameters.C:
6001         * buffer.C:
6002         * bufferlist.C:
6003         * bufferparams.C:
6004         * bufferview_funcs.C:
6005         * converter.C:
6006         * counters.C:
6007         * debug.C:
6008         * exporter.C:
6009         * format.C:
6010         * importer.C:
6011         * lyx_cb.C:
6012         * lyx_main.C:
6013         * lyxfont.C:
6014         * lyxfunc.C:
6015         * lyxvc.C:
6016         * paragraph.C:
6017         * paragraph_funcs.C:
6018         * tabular.C:
6019         * tabular_funcs.C:
6020         * text2.C:
6021         * text3.C:  boost::format -> bformat  all over the place
6022
6023
6024 2003-05-09  André Pönitz  <poenitz@gmx.net>
6025
6026         * LColor.[Ch]: Pimpl the #include <map> away
6027
6028 2003-05-09  John Levon  <levon@movementarian.org>
6029
6030         * bufferlist.C: never remove emergency saves
6031
6032 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * Makefile.am: better lib building
6035
6036 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6037
6038         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6039         instead.
6040         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6041         (simpleTeXSpecialChars): adjust
6042         (simpleTeXSpecialChars): adjust
6043         * paragraph.C (simpleTeXOnePar): adjust
6044         * buffer.C (makeLaTeXFile): adjust
6045
6046         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6047
6048         * text2.C (changeDepth): parlist cleanup
6049         (getColumnNearX): ditto
6050
6051         * rowpainter.C (getLabelFont): parlist cleanup
6052
6053         * bufferlist.C (newFile): parlist cleanup
6054
6055         * CutAndPaste.C (eraseSelection): parlist cleanup
6056
6057         * BufferView_pimpl.C (trackChanges): parlist cleanup
6058         (dispatch): ditto
6059
6060         * BufferView.C (lockInset): parlist cleanup.
6061         (ChangeInsets): ditto
6062
6063 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6064
6065         * CutAndPaste.h: Update file header.
6066
6067         * CutAndPaste.C: Update file header.
6068         Store the parts cut out of the Document in a limited_stack.
6069         (copySelection): adjust
6070         (pasteSelection): new function, takes the index in the limited stack.
6071         (nrOfParagraphs): adjust
6072         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6073         simplify error inset insertion.
6074         (checkPastePossible): adjust
6075
6076 2003-05-06  John Levon  <levon@movementarian.org>
6077
6078         * text2.C: don't cast wrap inset to float
6079
6080 2003-05-05  André Pönitz  <poenitz@gmx.net>
6081
6082         * iterator.C:
6083         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6084
6085         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6086           few naked Paragraph *.
6087
6088 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6089
6090         * bufferparams.C: Output warning if a document with missing
6091         TeX document class is loaded
6092         * exporter.C: Disable TeX exports if the document class is missing
6093         * lyxtextclass.C:
6094         * lyxtextclass.h:
6095         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6096         isTeXClassAvailable()
6097
6098 2003-05-03  John Levon  <levon@movementarian.org>
6099
6100         * BufferView.h:
6101         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6102         explicit cursor show/hide
6103
6104         * BufferView_pimpl.h:
6105         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6106         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6107
6108         * lyxfunc.C: hide cursor before dispatching.
6109
6110         * lyx_cb.C:
6111         * lyxfind.C:
6112         * text.C:
6113         * text3.C: remove explicit cursor hides
6114
6115 2003-05-02  André Pönitz  <poenitz@gmx.net>
6116
6117         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6118
6119         * undo_funcs.C:
6120         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6121           linked lists
6122
6123         * text2.C: tiny whitespace
6124
6125 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6126
6127         * undo_funcs.C: almost only ws changes.
6128
6129         * ParagraphList.C (splice): just return if pl is empty.
6130
6131 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6132
6133         * ParagraphList.C (splice): new function.
6134
6135         * CutAndPaste.C (pasteSelection): use it
6136
6137 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * CutAndPaste.C (pasteSelection): remove the last next and
6140         previous from this file.
6141
6142 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6143
6144         * CutAndPaste.C (pasteSelection): more clean up, user proper
6145         ParagraphList functions for pasteing.
6146
6147         * ParagraphList.C (insert): new function, three arg insert
6148
6149 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6150
6151         * ParagraphList.C (insert): new function, three arg insert
6152
6153         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6154         not on paragraphs.
6155
6156 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6159
6160 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6163
6164 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6167         (copySelection): clean up a bit.
6168         (pasteSelection): use make_pair
6169
6170         * ParagraphList.C (ParagraphList): implement copy constructor
6171         (operator=): implement, base on copy constructor.
6172         (assign): new func
6173
6174         * paragraph.C (erase): return a bool
6175
6176         * paragraph_pimpl.C (erasePos): remove function, move contents...
6177         (erase): ... here. Return a bool.
6178         (erase): call erase instead of erasePos.
6179
6180 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6181
6182         * ParagraphList.h: define PitPosPair
6183         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6184         ParagraphList, fix a bug on pasting multiple pars
6185         * text2.C: change interface to C&P
6186
6187 2003-04-30  André Pönitz  <poenitz@gmx.net>
6188
6189         * undo_func.C: revert part of yesterday's patch 2
6190
6191 2003-04-30  John Levon  <levon@movementarian.org>
6192
6193         * LColor.C: s/tabular/table/
6194
6195 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * text3.C (dispatch): do not convert iterator -> pointer
6198         * undo_funcs.C (setCursorParUndo): ditto
6199         * text_funcs.C (transposeChars): ditto
6200
6201         * text2.C (setLayout): ws changes only
6202
6203         * text.C (breakParagraph): do not convert iterator -> pointer
6204         (insertChar): ditto
6205         (acceptChange): ditto
6206         (rejectChange): ditto
6207         (changeCase): ditto
6208         (Delete): ditto
6209         (backspace): ditto
6210
6211         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6212         pointer
6213
6214 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6215
6216         * text3.C (gotoInset): YABG (yet another bad getChar)
6217
6218 2003-04-29  André Pönitz  <poenitz@gmx.net>
6219
6220         * paragraph.h: make operator= private unimplemented as long as
6221           it is unusable
6222
6223         * ParagraphList.C: whitespace
6224
6225         * paragraph.[Ch]:
6226         * paragraph_pimpl.[Ch]:
6227         * paragraph_funcs.C:
6228         * CutAndPaste.C:
6229         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6230
6231         * text2.C:
6232           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6233
6234 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6235
6236         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6237         * paragraph.[Ch] (erase):
6238         * paragraph_pimpl.[Ch] (erase): change return type and value
6239         * text2.C (cutSelection): some rework
6240
6241 2003-04-28  John Levon  <levon@movementarian.org>
6242
6243         * bufferlist.C: changes for unsaved changes dialog
6244
6245 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6246
6247         * bufferlist.C (newFile): set language (messages_) for new
6248         documents also.
6249
6250         * buffer.C (readFile): ws changes only.
6251
6252 2003-04-28  André Pönitz  <poenitz@gmx.net>
6253
6254         * undo_funcs.C:
6255         * lyxfunc.C:
6256         * buffer.[Ch]:
6257         * BufferView_pimpl.C:
6258         * BufferView.C: getParFromID related ParagraphList::iterator changes
6259
6260 2003-04-28  André Pönitz  <poenitz@gmx.net>
6261
6262         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6263           Changes
6264
6265 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * messages.C: remove one more localedir class variable.
6268
6269 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6270
6271         * messages.C (getLocaleDir): singleton generation function
6272         (Pimpl): use it.
6273         (Messages): add a default constructor.
6274
6275         * main.C (main): do not setup localedir here, do not call
6276         gettext_init.
6277
6278         * gettext.C (_): use it.
6279         (gettext_init): delete funciton
6280
6281 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * gettext.C (getLyXMessages): new singleton generating function.
6284
6285         * buffer.C (updateDocLang): adjust
6286
6287         * Makefile.am (messages.o): add target
6288         (main.o): remove target
6289
6290 2003-04-27  John Levon  <levon@movementarian.org>
6291
6292         * bufferlist.C:
6293         * lyx_cb.C:
6294         * lyxfunc.C:
6295         * lyxvc.C: specify cancel button in Alert::prompt
6296
6297 2003-04-26  John Levon  <levon@movementarian.org>
6298
6299         * text3.C:
6300         * lyxfunc.C:
6301         * lfuns.h:
6302         * LyXAction.C: add LFUN_INSET_SETTINGS
6303
6304         * lyxfunc.C: don't enable tabular-feature when there's
6305         just any locking inset
6306
6307 2003-04-26  John Levon  <levon@movementarian.org>
6308
6309         * bufferlist.C: re-add Cancel to buffer close question
6310
6311         * lyxfunc.C: fix import UI a bit
6312
6313 2003-04-25  John Levon  <levon@movementarian.org>
6314
6315         * gettext.C: remove the broken asserts for now
6316
6317 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * messages.C: make case where setlocale cannot comply work better.
6320
6321         * buffer.C (updateDocLang): new function
6322         (changeLanguage): use it
6323         (readFile): use it
6324
6325         * text2.C (setCounter): use B_ a bit.
6326
6327         * lyxlayout.C (Read): be sure to trim the label strings.
6328
6329         * messages.C (Messages): fix typo in comment
6330
6331         * buffer.C (readFile): set message_ after file is loaded.
6332         (makeDocBookFile): remove double return
6333         (changeLanguage): reset message_ upon language change.
6334         (B_): new func, use this to get translated buffer strings.
6335
6336         * main.C: add myself and Jean Marc as authors.
6337
6338 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6339
6340         * messages.[hC]: pimplify Messages, and three different pimpls to be
6341         used in different circumstances.
6342
6343         * gettext.[Ch]: change for use with new message code.
6344
6345 2003-04-24 André Pönitz <poenitz@gmx.net>
6346
6347         * factory.C: support for eqref
6348
6349 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6350
6351         * messages.[Ch]: add missing char
6352
6353         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6354
6355         * messages.[Ch]: New files
6356
6357 2003-04-18  John Levon  <levon@movementarian.org>
6358
6359         * BufferView.h:
6360         * BufferView.C:
6361         * BufferView_pimpl.C:
6362         * lfuns.h:
6363         * LyXAction.C:
6364         * lyxtext.h:
6365         * text2.C: remove layout-copy/paste (bug 778)
6366
6367 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6368
6369         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6370
6371 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6372
6373         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6374         if they succeed. Act accordingly.
6375
6376 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * text2.C (setCharFont): adjust
6379         (setCounter): adjust
6380         (insertStringAsLines): adjust
6381
6382         * text.C (leftMargin): adjust
6383         (setHeightOfRow): adjust
6384
6385         * rowpainter.C (paintFirst): adjust
6386         (paintLast): adjust
6387
6388         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6389         (outerHook): ditto
6390         (isFirstInSequence): ditto
6391         (getEndLabel): ditto
6392         (outerFont): adjust
6393
6394         * paragraph.C (getParLanguage): comment out some hard stuff.
6395
6396         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6397         (sgmlError): ditto
6398         (simpleDocBookOnePar): ditto
6399         (makeDocBookFile): use ParagraphList::iterator
6400
6401         * CutAndPaste.C (pasteSelection): adjust
6402
6403 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * text2.C (getFont): adjust
6406         (getLayoutFont): adjust
6407         (getLabelFont): adjust
6408
6409         * paragraph_funcs.C (TeXOnePar): adjust
6410
6411         * buffer.C (simpleLinuxDocOnePar): adjust
6412         (simpleDocBookOnePar): adjust
6413
6414         * CutAndPaste.C (pasteSelection): adjust
6415
6416         * BufferView.C (getEncoding): adjust
6417
6418         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6419
6420 2003-04-16  John Levon  <levon@movementarian.org>
6421
6422         * lyxfind.C: use parlist stuff for search/changes
6423
6424 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6427
6428         * text2.C (deleteEmptyParagraphMechanism): adjust
6429
6430         * text2.[Ch] (ownerParagraph): delete func (both of them
6431
6432 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6435
6436 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * ParagraphList.C: prepare for NO_NEXT
6439
6440 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * text2.C (getFont): adjust
6443         (getLayoutFont): adjust
6444         (getLabelFont): adjust
6445
6446         * paragraph.C (getFont): adjust
6447         (getLabelFont): adjust
6448         (getLayoutFont): adjust
6449
6450         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6451
6452 2003-04-15  John Levon  <levon@movementarian.org>
6453
6454         From Angus Leeming
6455
6456         * lyx_main.C: handle Include in .ui files
6457
6458 2003-04-15  John Levon  <levon@movementarian.org>
6459
6460         * MenuBackend.C: make the doc files length shorter
6461
6462         * ToolbarBackend.h:
6463         * ToolbarBackend.C: handle toolbar placement flags,
6464         Minibuffer
6465
6466 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6467
6468         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6469         adjust
6470
6471         * paragraph_funcs.C (TeXOnePar): adjust
6472
6473         * paragraph.C (getLabelFont): add outerfont arg, adjust
6474         (getLayoutFont): ditto
6475         (simpleTeXOnePar): adjust
6476
6477         * paragraph_pimpl.C (realizeFont): delete func
6478
6479 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6480
6481         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6482         row argument, constify cur argument.
6483
6484 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * text2.C (getFont): adjust
6487         (getLayoutFont): adjust
6488         (getLabelFont): adjust
6489
6490         * paragraph_funcs.C (TeXOnePar): adjust
6491         (outerFont): new func...
6492         (realizeFont): ...moved out from here, changed this to facilitate
6493         transition
6494
6495         * paragraph.C (getFont): take outerfont as arg, adjust
6496         (simpleTeXOnePar): add outerfont arg, adjust
6497
6498         * buffer.C (simpleLinuxDocOnePar): adjust
6499         (simpleDocBookOnePar): adjust
6500
6501         * CutAndPaste.C (pasteSelection): adjust
6502
6503         * BufferView.C (getEncoding): adjust
6504
6505 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6506
6507         * text2.C (setCharFont): adjust
6508         (setCounter): adjust
6509
6510         * text.C (leftMargin): adjust
6511         (setHeightOfRow): adjust
6512
6513         * rowpainter.C (paintFirst): adjust
6514         (paintLast): adjust
6515
6516         * paragraph_pimpl.C (realizeFont): adjust
6517
6518         * paragraph.C (isFirstInSequence): move from here...
6519         * paragraph_funcs.C (isFirstInSequence): ...to here
6520
6521         * paragraph.C (outerHook): move from here...
6522         * paragraph_funcs.C (outerHook): ...to here
6523
6524         * paragraph.C (depthHook): move from here...
6525         * paragraph_funcs.C (depthHook): ...to here
6526
6527         * paragraph.C (getEndLabel): move from here...
6528         * paragraph_funcs.C (getEndLabel): ...to here
6529
6530         * text2.C (realizeFont): move from here...
6531         * paragraph_funcs.C (realizeFont): ...to here
6532
6533 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6534
6535         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6536
6537 2003-04-14  Angus Leeming  <leeming@lyx.org>
6538
6539         * LColor.[Ch]: scrap LColor mathcursor.
6540
6541 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * lyxlex.[Ch] (text): delete function
6544         * trans.C (Load): adjust
6545         * paragraph_funcs.C (readParToken): adjust
6546
6547 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6550         vector<char> instead of a char[].
6551
6552         * lyxlex_pimpl.C (getString): adjust
6553         (next): adjust
6554         (lex): use getString
6555         (eatLine): adjust
6556         (nextToken): adjust
6557
6558         * lyxlex.C (text): use pimpl_->getString()
6559         (getBool): ditto
6560         (findToken): ditto
6561
6562 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6563
6564         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6565         (makeFontEntriesLayoutSpecific): temp var for par.size()
6566         (setLayout): temp var for ownerParagraphs().end()
6567         (fullRebreak): temp var for rows().end()
6568         (selectionAsString): temp var for boost::next(startpit), realize
6569         that the while really is a regular for loop.
6570         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6571         setCursor in one place.
6572         (setParagraph): temp vr for ownerParagraphs().end()
6573         (updateCounters): make the while loop a for loop
6574         (cutSelection): temp var for ownerParagraphs().end()
6575         (updateInset): make the do {} while() a regular for loop
6576         (getCursorX): use temp vars
6577         (setCurrentFont): use temp vars
6578         (getColumnNearX): use temp vars
6579
6580 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6581
6582         * text.C (transformChar): use temp var for getChar
6583         (computeBidiTables): use temp var for row->par()
6584         (fill): move temp vars for row->par() and pit->layout() earlier in
6585         the function.
6586         (labelFill): use temp var for row->par()
6587         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6588         asc and desc, realize that pit never changes and that firstpit is
6589         just a duplicate and not needed. Exchange rit->par() with pit in a
6590         lot of places.
6591         (breakAgain): use a temp var for boost::next(rit)
6592         (breakAgainOneRow): ditto
6593         (breakParagraph): use a temp var for rows().begin()
6594         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6595         (cursorRightOneWord): use temp var for cursor.par() and
6596         cursor.pos(), remove usage of tmpcursor.
6597         (cursorLeftOneWord): use temp var for cursor.par() and
6598         cursor.pos() only set cur at end of function.
6599
6600 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6601
6602         * text.C, text2.C: exchange all usage of Paragraph::next with
6603         boost::next(ParagraphList::iterator)
6604
6605         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6606
6607         * text2.C (cursorTop): simplify implementation
6608         (cursorBottom): ditto
6609         (setParagraph): use ParagraphList::iterator
6610         (setCurrentFont): adjust
6611         (getColumnNearX): adjust
6612         (cursorRight): adjust
6613         (cursorLeft): remove usage of Paragraph::previous
6614         (cursorUpParagraph): ditto
6615         (deleteEmptyParagraphMechanism): slight cleanup
6616
6617         * text.C (isBoundary): take a Paragraph const & instead of a
6618         pointer as arg.
6619         (addressBreakPoint): ditto
6620         (leftMargin): remove usage of Paragraph::previous.
6621         (setHeightOfRow): ditto
6622         (cursorLeftOneWord): ditto
6623         (selectNextWordToSpellcheck): ditto
6624         (Delete): ditto
6625         (backspace): ditto
6626         (breakParagraph): remove one usage of Paragraph::next
6627         (redoParagraph): ditto
6628         (acceptChange): ditto
6629         (insertChar): adjust
6630         (rowBreakPoint): adjust
6631
6632         * bufferview_funcs.C (toggleAndShow): adjust
6633
6634 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6635
6636         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6637         methods to access it.
6638         * lyxtext.h:
6639         * text.C: Added updateRowPositions to compute all row positions.
6640         Make top_y and getRowNearY() to use the cached y position
6641
6642 2003-04-11  John Levon  <levon@movementarian.org>
6643
6644         * text.C (rowBreakPoint): reintroduce the labelEnd
6645         checks, code copied from the row fill stuff. Deep voodoo.
6646
6647         * text.C (fill): add a comment and debugging for the
6648         next poor soul.
6649
6650 2003-04-11  John Levon  <levon@movementarian.org>
6651
6652         * text.C: make sure fullrow insets get wrapped to the next line,
6653         even when they're in a manual label
6654
6655 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6656
6657         * text2.C (insertParagraph): make it take ParagraphList::iterator
6658         as arg.
6659         (setLayout): make it return ParagraphList::iterator
6660         (redoParagraphs): ditto
6661         (setCounter): ditto
6662         (checkParagraph): ditto
6663
6664         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6665
6666         * text2.C: adjust several funcs.
6667         (realizeFont): take a ParagraphList::iterator as arg.
6668         (getLayoutFont): ditto
6669         (getLabelFont): ditto
6670         (setCharFont): ditto
6671
6672         * text.C: adjust several funcs.
6673
6674 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * text.C (selectNextWordToSpellcheck): don't accidentally
6677         skip insets
6678
6679 2003-04-10  John Levon  <levon@movementarian.org>
6680
6681         * ToolbarBackend.C (getIcon): special handling for
6682         LFUN_MATH_DELIM
6683
6684 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6685
6686         * text2.C (cursorRight): a getChar assert fixed
6687
6688 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6689
6690         * text2.C (getFont): change to take a ParagraphList::iterator
6691         instead of Paragraph*
6692         Adjust several functions.
6693
6694         * text.C (transformChar): change to take a ParagraphList::iterator
6695         instead of Paragraph*
6696         (singleWidth): ditto
6697         Adjust several functions.
6698
6699         * rowpainter.C: adjust several functions
6700         * rowpainter.h:store a ParagraphList::iterator and not a
6701         Paragraph&.
6702
6703
6704 2003-04-09  John Levon  <levon@movementarian.org>
6705
6706         * lyxfunc.C:
6707         * lfuns.h:
6708         * LyXAction.h:
6709         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6710         and the "help" bits as well
6711
6712 2003-04-09  John Levon  <levon@movementarian.org>
6713
6714         * ToolbarBackend.h:
6715         * ToolbarBackend.C: allow multiple toolbars
6716
6717 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6718
6719         * undo_funcs.C (setCursorParUndo): adjust
6720
6721         * text_funcs.C (transposeChars): adjust
6722
6723         * text3.C (gotoNextInset): adjust
6724         (dispatch): adjust
6725
6726         * text2.C (setLayout): adjust
6727         (changeDepth): adjust
6728         (setFont): adjust
6729         (redoParagraphs): adjust
6730         (selectionAsString): adjust
6731         (setParagraph): adjust
6732         (insertInset): adjust
6733         (cutSelection): adjust
6734         (copySelection): adjust
6735         (pasteSelection): adjust
6736         (insertStringAsLines): adjust
6737         (updateInset): adjust
6738         (setCursor): change to take a ParagraphList::iterator parameter
6739         (setCursorIntern): change to take a ParagraphList::iterator parameter
6740         (setCurrentFont): adjust
6741         (cursorLeft): adjust
6742         (cursorRight): adjust
6743         (deleteEmptyParagraphMechanism): adjust
6744
6745         * text.C (breakParagraph): adjust
6746         (insertChar): adjust
6747         (acceptChange): adjust
6748         (rejectChange): adjust
6749         (selectNextWordToSpellcheck): adjust
6750         (changeCase): adjust
6751         (Delete): adjust
6752         (backspace): adjust
6753
6754         * lyxfind.C (SearchForward): adjust
6755         (SearchBackward): adjust
6756         (nextChange): adjust
6757
6758         * lyxcursor.C (par): adjust
6759
6760         * lyxcursor.h: store a ParagraphList::iterator instead of a
6761         Paragraph*
6762
6763         * lyx_cb.C (getPossibleLabel): adjust
6764
6765         * bufferview_funcs.C (toggleAndShow): adjust
6766
6767         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6768         (dispatch): adjust
6769
6770         * BufferView.C (removeAutoInsets): adjust
6771         (lockedInsetStoreUndo): adjust
6772
6773 2003-04-09  John Levon  <levon@movementarian.org>
6774
6775         * ToolbarBackend.C: try icon without argument
6776         if with argument fails
6777
6778 2003-04-08  John Levon  <levon@movementarian.org>
6779
6780         * ToolbarBackend.h:
6781         * ToolbarBackend.C: add getIcon(), handle tooltip,
6782         and change from "Icon" to "Item".
6783
6784 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6785
6786         * BufferView.C (lockInset): another bad getchar crunched
6787
6788 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6789
6790         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6791         again)
6792
6793 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6794
6795         * lyxfind.C (searchForward, searchBackwards): bug 782
6796
6797 2003-04-07  John Levon  <levon@movementarian.org>
6798
6799         * paragraph.C: remove dead comment
6800
6801         * text.C: remove troublesome depth-fiddling code
6802         in leftMargin() and rightMargin() (bug 1017)
6803
6804         * text.C: fix breaking of rows in nested lists
6805         (bug 1004)
6806
6807         * text2.C (updateCounters): fix up depth values
6808         (bug 1013)
6809
6810 2003-04-07  John Levon  <levon@movementarian.org>
6811
6812         * BufferView_pimpl.C: clear message when doc finishes resizing,
6813         and after a mouse event
6814
6815         * lyxfunc.C: clear message after exiting inset
6816
6817 2003-04-07  John Levon  <levon@movementarian.org>
6818
6819         * bufferview_funcs.C: show math status not outside
6820         status in the statusbar
6821
6822 2003-04-07  John Levon  <levon@movementarian.org>
6823
6824         * lyxfunc.C: note status changed after a depth change
6825
6826 2003-04-04  Angus Leeming  <leeming@lyx.org>
6827
6828         * LaTeX.h: move AuxInfo operator==, != out of line.
6829         Remove LaTeX virtual destructor; nothing derives from it.
6830         Move operator()() out of public area and rename it startscript().
6831         Change protected for private.
6832
6833 2003-04-04  Angus Leeming  <leeming@lyx.org>
6834
6835         * lyxfunc.C:
6836         * text2.C: remove unneeded #includes.
6837
6838 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6839
6840         * text2.C (dEPM): fix the heigth of the next row
6841
6842 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6843
6844         * text.C: squashed an invalid getChar requester + some ws changes
6845
6846 2003-04-03  John Levon  <levon@movementarian.org>
6847
6848         * bufferview_funcs.h:
6849         * bufferview_funcs.C:
6850         * lyxfunc.C:
6851         * lyxtext.h:
6852         * text2.C: make getStatus work for the env depth lfuns
6853
6854 2003-04-03  John Levon  <levon@movementarian.org>
6855
6856         * bufferview_funcs.h:
6857         * bufferview_funcs.C:
6858         * lyxfunc.C:
6859         * lyxtext.h:
6860         * text2.C: parlistize decDepth(), by merging it with incDepth()
6861
6862 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6863
6864         * lyxrow.h: store a ParagraphList::iterator instead of a
6865         Paragraph* and adjust other class functions to suit.
6866
6867         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6868         above.
6869
6870 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6871
6872         * text2.C (setCursor): do not anchor to cursor row for the time being
6873
6874 2003-04-02  John Levon  <levon@movementarian.org>
6875
6876         * LyXAction.C:
6877         * lfuns.h:
6878         * lyx_main.C:
6879         * lyxtext.h:
6880         * text.C:
6881         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6882
6883 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * paragraph.h: make ParagraphList and ParagraphList::iterator
6886         friends of Paragraph.
6887
6888         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6889
6890         * ParagraphList.C: Use the private next_ and previous_ from
6891         Paragraph.
6892
6893 2003-04-01  John Levon  <levon@movementarian.org>
6894
6895         * ToolbarBackend.h:
6896         * ToolbarBackend.C:
6897         * Makefile.am: rename, remove defaults gunk
6898
6899         * MenuBackend.h:
6900         * MenuBackend.C: remove defaults gunk
6901
6902         * Languages.h:
6903         * Languages.C: remove defaults gunk
6904
6905         * lyx_main.h:
6906         * lyx_main.C: error out if files couldn't be found.
6907
6908 2003-04-02  John Levon  <levon@movementarian.org>
6909
6910         * text2.C: make incDepth() use parlist
6911
6912 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * undo_funcs.C (firstUndoParagraph): adjust
6915
6916         * text3.C (gotoInset): adjust
6917         (dispatch): adjust, and rewrite loop.
6918
6919         * text2.C (init): adjust, and rewrite loop.
6920         (redoParagraphs): adjust
6921         (updateInset): adjust, and rewrite loop.
6922         (deleteEmptyParagraphMechanism): adjust
6923
6924         * tabular.C (LyXTabular): adjust
6925         (SetMultiColumn): adjust
6926         (TeXRow): adjust
6927
6928         * lyxtext.[Ch] (ownerParagraph): delete function
6929         (ownerParagraphs): new function returns a ParagraphList.
6930
6931         * BufferView.C (removeAutoInsets): adjust
6932         (insertErrors): adjust
6933         (setCursorFromRow): adjust
6934
6935 2003-04-01  Angus Leeming  <leeming@lyx.org>
6936
6937         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6938         in the frontends.
6939
6940 2003-04-02  John Levon  <levon@movementarian.org>
6941
6942         * lyxtext.h:
6943         * text.C:
6944         * Makefile.am:
6945         * text_funcs.h:
6946         * text_funcs.C: make transposeChars a free function
6947
6948         * lyxrow_funcs.C: remove wrong comment
6949
6950 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6951
6952         * lyxtext.h: adjust
6953         * rowpainter.C: adjust
6954         * text.C: adjust
6955         * text2.C: adjust
6956         * text3.C: adjust
6957
6958         * lyxrow_funcs. [Ch]: new files
6959
6960         * lyxrow.[Ch]: remove next and previous pointers
6961         (next,previous): remove accessor functions
6962         (isParEnd): move to lyxrow_funcs
6963         (lastPos): move to lyxrow_funcs
6964         (nextRowIsAllInset): move to lyxrow_funcs
6965         (lastPrintablePos): move to lyxrow_funcs
6966         (numberOfSeparators): move to lyxrow_funcs
6967         (numberOfHfills): move to lyxrow_funcs
6968         (numberOfLabelHfills): move to lyxrow_funcs
6969         (hfillExpansion): move to lyxrow_funcs
6970
6971         * lyxfunc.C: adjust
6972
6973         * bufferview_funcs.C (toggleAndShow): adjust
6974
6975         * RowList.h: Remove class RowList from file leave just a
6976         std::list<Row>.
6977
6978         * RowList.C: delete file
6979
6980         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6981         and lyxrow_funcs.h
6982
6983 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6984
6985         * text3.C (cursorPrevious): adjust
6986         (cursorNext): adjust
6987         (dispatch): adjust
6988
6989         * text2.C (redoHeightOfParagraph): adjust
6990         (redoDrawingOfParagraph): adjust
6991         (setCursor): adjust
6992
6993         * text.C (breakParagraph): adjust
6994         (insertChar): adjust
6995         (backspace): adjust
6996
6997         * rowpainter.C (RowPainter): adjust
6998         (leftMargin): simplify and adjust
6999         (most rowpainter functions): adjust.
7000
7001         * rowpainter.h: store the row as RowList::iterator not as Row*
7002
7003         * lyxcursor.C (row): taka RowList::iterator as arg
7004         (irow): ditto
7005
7006         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7007         of Row*.
7008
7009 2003-04-01  Angus Leeming  <leeming@lyx.org>
7010
7011         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7012         stuff like bool Bool.
7013
7014 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7015
7016         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7017         rewrite a loop
7018
7019 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7022         RowList::iterator.
7023
7024         * lyxtext.h (rows): drop one version and leve a const variant that
7025         returns a RowList::iterator.
7026
7027 2003-03-31  Angus Leeming  <leeming@lyx.org>
7028
7029         * text.C (fill): ensure that the signature is the same as that in the
7030         header file.
7031
7032 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7033
7034         * text2.C (redoParagraphs): adjust
7035         (updateCounters): adjust
7036         (checkParagraph): adjust
7037         (getColumnNearX): adjust and reformat a bit.
7038
7039         * text.C (top_y): adjust
7040         (workWidth): adjust
7041         (leftMargin): adjust
7042         (prepareToPrint): adjust
7043         (getRow): adjust
7044         (getRowNearY): adjust
7045
7046         * lyxtext.h: make rowlist_ mutable.
7047
7048         * RowList.h: add const_iterator
7049         * RowList.C: adjust for RowList::const_iterator.
7050
7051         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7052         adjust.
7053
7054 2003-03-31  John Levon  <levon@movementarian.org>
7055
7056         * lyxrc.h:
7057         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7058
7059         * lyx_main.C: set default fonts from using lyx_gui funcs
7060
7061         * exporter.C: pdf_mode moved from lyxrc
7062
7063         * lyx_cb.C:
7064         * lyxfunc.C: changes from above
7065
7066 2003-03-31  John Levon  <levon@movementarian.org>
7067
7068         * lyx_main.C: fix to the last fix
7069
7070 2003-03-31  John Levon  <levon@movementarian.org>
7071
7072         * bufferlist.C: "Load original" -> "Load Original"
7073
7074         * converter.C:
7075         * exporter.C:
7076         * importer.C:
7077         * lyx_main.C:
7078         * format.C: more Alert cleanups
7079
7080 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7081
7082         * text2.C (removeParagraph): make it take a RowList::iterator as
7083         arg, adjust.
7084         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7085         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7086
7087         * text.C (anchor_row): make it take a RowList::iterator as arg,
7088         adjust.
7089         (computeBidiTables): make it take a const reference to Row instead
7090         of Row pointer, adjust.
7091         (leftMargin): make it take a RowList::iterator as arg, adjust.
7092         (rowBreakPoint): adjust
7093         (breakAgainOneRow): make it take a RowList::iterator as arg,
7094         adjust.
7095         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7096
7097         * bufferview_funcs.C (toggleAndShow): adjust
7098
7099 2003-03-30  John Levon  <levon@movementarian.org>
7100
7101         * Makefile.am:
7102         * BoostFormat.h:
7103         * boost-inst.C: moved to support
7104
7105         * several files: changes as a result
7106
7107 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7108
7109         * text2.C (LyXText): adjust.
7110         (init): adjust
7111         (removeRow): make it take a RowList::iterator as arg, adjust.
7112         (fullRebreak): adjust
7113         (deleteEmptyParagraphMechanism): adjust
7114         (clearPaint): adjust
7115         (postPaint): adjust
7116
7117         * text.C (top_y): adjust
7118         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7119         (breakAgain): make it take a RowList::iterator as arg, adjust.
7120         (breakParagraph): adjust
7121         (insertChar): adjust
7122         (backspace): adjust
7123
7124         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7125         need_break_row, and refresh_row.
7126
7127         * text3.C (dispatch): adjust
7128
7129         * text2.C (checkParagraph): adjust
7130         (setCursor): adjust
7131         (setCursorFromCoordinates): adjust
7132
7133         * text.C (top_y): adjust
7134         (workWidth): adjust
7135         (getRow): make it return a RowList::iterator, adjust
7136         (getRowNearY): make it return a RowList::iterator, adjust
7137
7138         * text2.C (init): adjust
7139         (insertRow): remove function
7140         (insertParagraph): adjust
7141         (redoParagraphs): adjust
7142         (fullRebreak): adjust
7143         (updateCounters): adjust
7144
7145         * text.C (top_y): rewrite to use RowList iterators.
7146         (top_y): adjust
7147         (setHeightOfRow): rewrite to sue RowList iterators.
7148         (appendParagraph): adjust
7149         (breakAgain): adjust
7150         (breakAgainOneRow): adjust
7151         (breakParagraph): adjust
7152         (getRow): adjust
7153         (getRowNearY): adjust, and remove commented code.
7154
7155         * lyxtext.h (firstRow): delete function
7156         (lastRow): delete function
7157         (rows): new function (const and non-const versions.)
7158         (insertRow): delete function
7159
7160         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7161
7162 2003-03-29  John Levon  <levon@movementarian.org>
7163
7164         * BufferView_pimpl.C: always update scrollbar top
7165         because pasting text when we're anchored could mean we
7166         miss an update altogether
7167
7168 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7169
7170         * text2.C (init): use rowlist_.end() and not 0.
7171         (insertRow): change to take a RowList::iterator as arg, adjust
7172         for this.
7173         (insertParagraph): change to take a RowList::iterator as arg,
7174         adjust for this.
7175         (redoParagraphs): remove some debug msgs.
7176
7177         * text.C (appendParagraph): change to take a RowList::iterator
7178         arg, adjust for this.
7179         (breakAgain): add an assert
7180         (breakAgainOneRow): ditto
7181
7182 2003-03-29  John Levon  <levon@movementarian.org>
7183
7184         * text2.C: do not clear selection after inc/decDepth
7185         (bug 550)
7186
7187 2003-03-29  John Levon  <levon@movementarian.org>
7188
7189         * BufferView.C:
7190         * buffer.C: fix broken strerrors according to Lars
7191
7192 2003-03-29  John Levon  <levon@movementarian.org>
7193
7194         * converters.C: more Alert cleanups
7195
7196 2003-03-29  John Levon  <levon@movementarian.org>
7197
7198         * bufferview_funcs.C: remove pointless Alert
7199
7200         * buffer.C: fix confusing error message when
7201         a template is chmoded 000
7202
7203 2003-03-29  John Levon  <levon@movementarian.org>
7204
7205         * BufferView.C:
7206         * BufferView.h:
7207         * BufferView_pimpl.C: Alert fixes
7208
7209         * Makefile.am:
7210         * tabular.C:
7211         * tabular-old.C: remove unused table compat reading
7212
7213 2003-03-29  John Levon  <levon@movementarian.org>
7214
7215         * BufferView.C:
7216         * buffer.C:
7217         * lyx_cb.h:
7218         * lyx_cb.C: more Alert cleanups
7219
7220         * lyxfunc.C: don't allow chktex if not latex document
7221
7222 2003-03-29  John Levon  <levon@movementarian.org>
7223
7224         * lyx_cb.C:
7225         * BufferView.C:
7226         * buffer.C: warnings pushed down from support/,
7227         kill err_alert
7228
7229 2003-03-29  John Levon  <levon@movementarian.org>
7230
7231         * lyxfunc.C: safety check for C-r (revert)
7232
7233 2003-03-29  John Levon  <levon@movementarian.org>
7234
7235         * bufferlist.h:
7236         * bufferlist.C: several UI fixes using Alert::prompt.
7237         Fix the pointless looping quit code. Fix stupid revert
7238         behaviour (bug 938)
7239
7240         * lyxvc.h:
7241         * lyxvc.C:
7242         * lyx_cb.C: use Alert::prompt
7243
7244         * lyx_main.C: remove a silly question
7245
7246         * lyxfunc.C: remove a couple of silly questions,
7247         use Alert::prompt
7248
7249 2003-03-28  John Levon  <levon@movementarian.org>
7250
7251         * text2.C: fix bug 974 (End on empty par)
7252
7253 2003-03-28  John Levon  <levon@movementarian.org>
7254
7255         * BufferView_pimpl.C:
7256         * LyXAction.C:
7257         * lfuns.h: remove do-nothing math greek lfuns
7258
7259 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7260
7261         * lyxgluelength.h (isValidGlueLength): add default arg on
7262         parameter 2. Remove default arg from friend in class.
7263
7264         * lyxlength.h (isValidLength): add default arg on parameter 2.
7265         Remove default arg from friend in class.
7266
7267         * text2.C (LyXText): adjust, initialize refresh_row.
7268         (init): adjust
7269         (removeRow): adjust
7270         (insertRow): adjust
7271         (insertParagraph): adjst
7272         (redoParagraphs): adjust
7273         (fullRebreak): adjust
7274         (updateCounters): adjust
7275         (deleteEmptyParagraphMechanism): first attempt at fixing a
7276         crashing bug.
7277
7278         * text.C (top_y): adjust
7279         (setHeightOfRow): adjust
7280         (getRow): adjust
7281         (getRowNearY): adjust
7282
7283         * lyxtext.h: include RowList.h
7284         (~LyXText): not needed anymore, deleted.
7285         (firstRow): modify for RowList
7286         (lastRow): new function
7287         Delete firstrow and lastrow class variables, add a Rowlist
7288         rowlist_ class variable.
7289
7290         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7291         paragraph is empty.
7292
7293         * RowList.C (insert): fix case where it == begin().
7294
7295 2003-03-26  Angus Leeming  <leeming@lyx.org>
7296
7297         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7298         the thesaurus dialog.
7299
7300 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7303
7304         * RowList.[Ch]: new files
7305
7306         * ParagraphList.C (erase): handle the case where it == begin
7307         correctly.
7308
7309 2003-03-25  John Levon  <levon@movementarian.org>
7310
7311         * Makefile.am:
7312         * aspell_local.h:
7313         * aspell.C: add new aspell support
7314
7315         * lyxrc.h:
7316         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7317         have it accessible.
7318
7319 2003-03-25  Angus Leeming  <leeming@lyx.org>
7320
7321         * lfuns.h:
7322         * LyXAction.C (init): new LFUN_INSET_INSERT.
7323
7324         * BufferView_pimpl.C (dispatch): split out part of the
7325         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7326
7327         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7328         LFUN_INSET_APPLY.
7329
7330 2003-03-25  Angus Leeming  <leeming@lyx.org>
7331
7332         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7333
7334 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7335
7336         * text2.C:
7337         * text3.C: remove useless row->height(0)
7338
7339 2003-03-25  John Levon  <levon@movementarian.org>
7340
7341         * lyxtext.h:
7342         * text2.C:
7343         * text3.C: rename the refreshing stuff to better names
7344
7345 2003-03-24  John Levon  <levon@movementarian.org>
7346
7347         * BufferView_pimpl.h:
7348         * BufferView_pimpl.C: update layout choice on a mouse
7349         press/release
7350
7351 2003-03-23  John Levon  <levon@movementarian.org>
7352
7353         * Makefile.am: fix commandtags.h reference
7354
7355 2003-03-22  John Levon  <levon@movementarian.org>
7356
7357         * BufferView_pimpl.C:
7358         * lyxtext.h:
7359         * rowpainter.C:
7360         * rowpainter.h:
7361         * text.C:
7362         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7363
7364 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7365
7366         * lyxtext.h:
7367         * text.C: take the rtl methods out of line
7368
7369 2003-03-21 André Pönitz <poenitz@gmx.net>
7370
7371         * metricsinfo.[Ch]: new files containing structures to be passed around
7372         during the two-phase-drawing...
7373
7374 2003-03-21 André Pönitz <poenitz@gmx.net>
7375
7376         * lyxtextclass.C: read 'environment' tag.
7377
7378 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7379
7380         * text2.C (removeRow): fix bug 964
7381
7382 2003-03-20  John Levon  <levon@movementarian.org>
7383
7384         * rowpainter.C:
7385         * text.C:
7386         * text2.C: paint cleanups. Inset::update() dropped font
7387         parameter
7388
7389 2003-03-19  John Levon  <levon@movementarian.org>
7390
7391         * lyxfunc.C: only fitcursor/markDirty if available()
7392
7393 2003-03-19  John Levon  <levon@movementarian.org>
7394
7395         * commandtags.h: rename to ...
7396
7397         * lfuns.h: ... this, and renumber / cleanup
7398
7399 2003-03-19  John Levon  <levon@movementarian.org>
7400
7401         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7402         fit the cursor after an lfun
7403
7404         * BufferView.h:
7405         * BufferView.C:
7406         * BufferView_pimpl.h:
7407         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7408
7409         * LyXAction.C: layout-character should have ReadOnly
7410
7411         * ParagraphParameters.C:
7412         * buffer.C:
7413         * bufferview_funcs.C:
7414         * lyx_cb.C:
7415         * lyxfind.C:
7416         * lyxtext.h:
7417         * text.C:
7418         * text2.C:
7419         * text3.C:
7420         * undo_funcs.C: changes from above
7421
7422 2003-03-18  John Levon  <levon@movementarian.org>
7423
7424         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7425         remove it from update()
7426
7427         * lyxfunc.C: update layout choice after an lfun
7428
7429         * text3.C: remove extra updateLayoutChoice()s
7430
7431 2003-03-18  John Levon  <levon@movementarian.org>
7432
7433         * text.C: top_y change means full repaint, fix
7434         a drawing bug with cursor movement
7435
7436 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7437
7438         * lyxtext.h:
7439         * text.C:
7440         * text2.C: anchor row on setCursor
7441
7442 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7443
7444         * lyxtext.h: remove almost all mutable keywords
7445         * text.C:
7446         * text2.C:
7447         * text3.C: remove const keywords accordingly
7448
7449 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7452         anon namespace
7453         (TeXEnvironment): ditto
7454         (TeXOnePar): ditto
7455
7456 2003-03-17  John Levon  <levon@movementarian.org>
7457
7458         * text.C (rowBreakPoint): remove attempt to fix displayed
7459         math insets inside a manual label
7460
7461 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * lyxtext.h: remove BufferView* as first arg from almost all class
7464         functions.
7465         * other files: adjust.
7466
7467 2003-03-17  John Levon  <levon@movementarian.org>
7468
7469         * lyxtext.h:
7470         * undo_funcs.C:
7471         * text2.C: more paint cleanups
7472
7473         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7474
7475         * rowpainter.h:
7476         * rowpainter.C: remove "smart" background painting code
7477
7478 2003-03-16  John Levon  <levon@movementarian.org>
7479
7480         * lyxtext.h:
7481         * text.C:
7482         * text2.C:
7483         * text3.C: add helper functions for setting refresh_row/y
7484
7485 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7486
7487         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7488         newline inset which *can* get inserted in the pass_thru layouts.
7489         This is primarily for literate documents.
7490
7491 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7492
7493         * buffer.C: increment LYX_FORMAT to 223
7494
7495 2003-03-14 André Pönitz <poenitz@gmx.net>
7496
7497         * textclass.h: prepare for environment handling, ws changes
7498         * lyxlayout.C: read latexheader and latexfooter tags
7499
7500 2003-03-14  John Levon  <levon@movementarian.org>
7501
7502         * text2.C: rewrite ::status() a bit
7503
7504 2003-03-13  John Levon  <levon@movementarian.org>
7505
7506         * lyxtext.h: add some docs
7507
7508 2003-03-13  John Levon  <levon@movementarian.org>
7509
7510         * lyxtext.h:
7511         * text.C:
7512         * text2.C:
7513         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7514
7515 2003-03-13  John Levon  <levon@movementarian.org>
7516
7517         * text3.C: fix appendix redrawing
7518
7519 2003-03-13  John Levon  <levon@movementarian.org>
7520
7521         * text.C (setHeightOfRow):
7522         * rowpainter.h:
7523         * rowpainter.C: make appendix mark have the text
7524           "Appendix" so the user knows what it is
7525
7526         * LColor.h:
7527         * LColor.C: s/appendixline/appendix/ from above
7528
7529 2003-03-13  John Levon  <levon@movementarian.org>
7530
7531         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7532
7533         * text.C: fix a getChar(pos) bug properly
7534
7535 2003-03-13  Angus Leeming  <leeming@lyx.org>
7536
7537         * commandtags.h:
7538         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7539         Probably only temporary. Let's see how things pan out.
7540
7541         * BufferView.C (unlockInset):
7542         * BufferView_pimpl.C (fitCursor):
7543         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7544
7545         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7546         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7547
7548         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7549         new functions that convert ParagraphParameters to and from a string.
7550
7551         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7552         BufferView::Pimpl's dispatch.
7553         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7554
7555 2003-03-13 André Pönitz <poenitz@gmx.net>
7556
7557         * lyxfunc.C:
7558         * text3.C:
7559         * factory.C: make it aware of InsetEnv
7560
7561 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * text2.C (setCursor): never ask for one past last
7564         (setCursor): add some debugging messages.
7565
7566         * text.C (singleWidth): never ask for one past last
7567         (singleWidth): ditto
7568         (leftMargin): ditto
7569         (rightMargin): ditto
7570         (rowBreakPoint): ditto
7571         (setHeightOfRow): ditto
7572         (prepareToPrint): ditto
7573
7574         * rowpainter.C (paintBackground): never ask for one past last
7575         (paintText): never ask for one past last
7576
7577         * paragraph_pimpl.C (getChar): make the assert stricter, never
7578         allow the one past last pos to be taken
7579
7580         * paragraph.C (getChar): ws changes only
7581
7582         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7583         (numberOfSeparators): ditto
7584         (numberOfHfills): ditto
7585
7586 2003-03-12  John Levon  <levon@movementarian.org>
7587
7588         * author.h:
7589         * author.C:
7590         * bufferparams.h:
7591         * bufferparams.C:
7592         * paragraph_funcs.C: fix per-buffer authorlists
7593
7594 2003-03-12  John Levon  <levon@movementarian.org>
7595
7596         * text.C: fix newline in right address
7597
7598 2003-03-12  Angus Leeming  <leeming@lyx.org>
7599
7600         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7601         duplicate those in LyXFunc::dispatch.
7602
7603         * commandtags.h:
7604         * LyXAction.C:
7605         * ToolbarDefaults.C:
7606         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7607         Add LFUN_FONTFREE_UPDATE.
7608
7609         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7610         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7611
7612         * bufferview_func.[Ch]: several new functions to facilliate
7613         transfer of data to and from the character dialog.
7614
7615 2003-03-12  John Levon  <levon@movementarian.org>
7616
7617         * buffer.C:
7618         * paragraph.h:
7619         * paragraph.C:
7620         * paragraph_funcs.C:
7621         * paragraph_pimpl.C:
7622         * sgml.C:
7623         * tabular.C:
7624         * text.C:
7625         * text3.C: remove META_NEWLINE in favour of an inset
7626
7627         * rowpainter.h:
7628         * rowpainter.C: remove paintNewline (done by inset)
7629
7630 2003-03-12  John Levon  <levon@movementarian.org>
7631
7632         * paragraph_pimpl.C: complain about bad getChar()s
7633         for a while at least
7634
7635 2003-03-12  John Levon  <levon@movementarian.org>
7636
7637         * buffer.h:
7638         * buffer.C: move paragraph read into a separate function,
7639         a little renaming to reflect that.
7640
7641         * bufferparams.h:
7642         * bufferparams.C: remove the author_ids map, not necessary now
7643
7644         * factory.h:
7645         * factory.C: moved Buffer::readInset to here
7646
7647         * paragraph_funcs.h:
7648         * paragraph_funcs.C: readParagraph free function moved from
7649         buffer.C
7650
7651         * tabular.C: name change
7652
7653 2003-03-12  John Levon  <levon@movementarian.org>
7654
7655         * buffer.C:
7656         * ParagraphParameters.C: move par params input to
7657         a read() method
7658
7659         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7660         behave like a normal read from the stream wrt reading
7661         a line vs. a \\token
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * paragraph.C:
7666         * ParagraphParameters.h:
7667         * ParagraphParameters.C: move output code to a
7668         ::write() method
7669
7670 2003-03-12  John Levon  <levon@movementarian.org>
7671
7672         * BufferView.C (insertLyXFile):
7673         * buffer.h:
7674         * buffer.C:
7675         * tabular.C: use a parlist iterator for creating the
7676           document.
7677
7678 2003-03-12  John Levon  <levon@movementarian.org>
7679
7680         * buffer.C: make current_change static local not
7681           static file-scope
7682
7683 2003-03-12  John Levon  <levon@movementarian.org>
7684
7685         * buffer.C: fix insertStringAsLines for change tracking
7686
7687 2003-03-12  John Levon  <levon@movementarian.org>
7688
7689         * BufferView.C:
7690         * tabular.C:
7691         * buffer.h:
7692         * buffer.C:
7693         * bufferparams.h:
7694         * bufferparams.C: move author list into params. Rename some
7695           functions. Move the header reading into a separate token
7696           loop. Move the header token reading into BufferParams.
7697
7698 2003-03-12  John Levon  <levon@movementarian.org>
7699
7700         * changes.C: put debug inside lyxerr.debugging() checks
7701
7702 2003-03-11 André Pönitz <poenitz@gmx.net>
7703
7704         * factory.C: make it aware of InsetHFill
7705
7706 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7707
7708         * buffer.C (latexParagraphs): move function from here...
7709         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7710         args.
7711
7712 2003-03-10  Angus Leeming  <leeming@lyx.org>
7713
7714         * LyXAction.C (init): fix bug in poplating array with multiple entries
7715         with the same LFUN (spotted by JMarc).
7716
7717 2003-03-10  John Levon  <levon@movementarian.org>
7718
7719         * text.C:
7720         * text2.C: move getColumnNearX() near its
7721         only call site
7722
7723 2003-03-10  John Levon  <levon@movementarian.org>
7724
7725         * text.C: fix break before a minipage
7726
7727 2003-03-10  John Levon  <levon@movementarian.org>
7728
7729         * text.C: fix the last commit
7730
7731 2003-03-09  John Levon  <levon@movementarian.org>
7732
7733         * lyxtext.h:
7734         * text.C:
7735         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7736         bug 365 (don't break before insets unless needed). Don't
7737         return a value > last under any circumstances.
7738
7739 2003-03-09  Angus Leeming  <leeming@lyx.org>
7740
7741         * BufferView_pimpl.C (trackChanges, dispatch): call
7742         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7743
7744 2003-03-09  Angus Leeming  <leeming@lyx.org>
7745
7746         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7747         than Dialogs::showAboutlyx().
7748
7749 2003-03-09  Angus Leeming  <leeming@lyx.org>
7750
7751         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7752         than Dialogs::showTabularCreate().
7753
7754 2003-03-09  John Levon  <levon@movementarian.org>
7755
7756         * lyxtext.h:
7757         * text.C:
7758         * text2.C: 3rd arg to nextBreakPoint was always the same.
7759           Use references.
7760
7761 2003-03-08  John Levon  <levon@movementarian.org>
7762
7763         * lyxrow.C:
7764         * paragraph.C:
7765         * paragraph.h:
7766         * rowpainter.C:
7767         * text.C:
7768         * text2.C: Remove the "main" bit from the "main body"
7769           notion.
7770
7771 2003-03-08  John Levon  <levon@movementarian.org>
7772
7773         * text.C (leftMargin): The left margin of an empty
7774         manual label paragraph should not include the label width
7775         string length.
7776
7777         * text.C (prepareToPrint): don't attempt to measure hfills
7778         for empty manual label paragraphs - the answer should be 0
7779
7780 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7781
7782         * CutAndPaste.C: remove commented code and reindent.
7783
7784 2003-03-08  John Levon  <levon@movementarian.org>
7785
7786         * lyxfunc.h:
7787         * lyxfunc.C: move reloadBuffer()
7788
7789         * BufferView.h:
7790         * BufferView.C: to here
7791
7792         * lyxvc.C: add comment
7793
7794         * vc-backend.h:
7795         * vc-backend.C: call bv->reload() to avoid
7796           getStatus() check on MENURELOAD
7797
7798 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7799
7800         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7801         to an old format .dep file.
7802
7803 2003-03-07  Angus Leeming  <leeming@lyx.org>
7804
7805         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7806         when the LFUN_MOUSE_RELEASE should have been handled by
7807         inset->localDispatch.
7808
7809 2003-03-07  Angus Leeming  <leeming@lyx.org>
7810
7811         * BufferView_pimpl.C (dispatch):
7812         * LyXAction.C (init):
7813         * ToolbarDefaults.C (init):
7814         * commandtags.h:
7815         * lyxfunc.C (getStatus):
7816         remove LFUN_INSET_GRAPHICS.
7817
7818         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7819
7820 2003-03-07  Angus Leeming  <leeming@lyx.org>
7821
7822         * commandtags.h:
7823         * LyXAction.C (init):
7824         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7825
7826         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7827
7828         * commandtags.h:
7829         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7830
7831         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7832         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7833
7834 2003-03-07  Angus Leeming  <leeming@lyx.org>
7835
7836         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7837         remove "ert".
7838
7839 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7840
7841         * ParagraphList.C (front): new function
7842         (back): implement
7843
7844 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7845
7846         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7847         and top_row_offset_. removed var first_y.
7848         * text.C (top_y):
7849         * text2.C (LyXText, removeRow):
7850         * text3.C:
7851         * BufferView_pimpl.C:
7852         use these methods instead of using first_y
7853
7854 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7855
7856         * text2.C (pasteSelection): adjust for checkPastePossible
7857
7858         * CutAndPaste.C: remove Paragraph * buf and replace with
7859         ParagraphList paragraphs.
7860         (DeleteBuffer): delete
7861         (cutSelection): change the tc type to textclass_type
7862         (copySelection): change the tc type to textclass_type
7863         (copySelection): adjust for ParagraphList
7864         (pasteSelection): change the tc type to textclass_type
7865         (pasteSelection): adjust for Paragraphlist
7866         (nrOfParagraphs): simplify for ParagraphList
7867         (checkPastePossible): simplify for ParagraphList
7868         (checkPastePossible): remove unused arg
7869
7870         * ParagraphList.C (insert): handle the case where there are no
7871         paragraphs yet.
7872
7873         * CutAndPaste.h: make CutAndPaste a namespace.
7874
7875         * text3.C (dispatch): adjust
7876
7877         * text.C (breakParagraph): add a ParagraphList as arg
7878
7879         * paragraph_funcs.C (breakParagraph): change to take a
7880         BufferParams and a ParagraphList as args.
7881         (breakParagraphConservative): ditto
7882         (mergeParagraph): ditto
7883         (TeXDeeper): add a ParagraphList arg
7884         (TeXEnvironment): ditto
7885         (TeXOnePar): ditto
7886
7887         * buffer.C (readLyXformat2): adjust
7888         (insertStringAsLines): adjust
7889         (latexParagraphs): adjust
7890
7891         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7892         (cutSelection): adjust
7893         (pasteSelection): adjust
7894
7895         * BufferView_pimpl.C (insertInset): adjust
7896
7897 2003-03-05  Angus Leeming  <leeming@lyx.org>
7898
7899         * commandtags.h:
7900         * LyXAction.C (init):
7901         * BufferView_pimpl.C (dispatch):
7902         * lyxfunc.C (getStatus):
7903         remove LFUN_CHILD_INSERT.
7904
7905         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7906
7907 2003-03-05  Angus Leeming  <leeming@lyx.org>
7908
7909         * commandtags.h:
7910         * LyXAction.C (init):
7911         * src/factory.C (createInset):
7912         * lyxfunc.C (getStatus):
7913         * text3.C (dispatch):
7914         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7915
7916         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7917
7918 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * ParagraphList.C (insert): handle insert right before end()
7921         (erase): fix cases where it can be first or last paragraph.
7922
7923 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7924
7925         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7926         Paragraph::next and Paragraph::previous
7927         (TeXOnePar): ditto
7928
7929         * text.C (breakParagraph): adjust
7930
7931         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7932         BufferParams& as arg.
7933         (breakParagraph): use ParagraphList::insert
7934         (breakParagraphConservative): take a Buffer* instead of a
7935         BufferParams& as arg.
7936         (breakParagraphConservative): use ParagraphList::insert.
7937
7938         * buffer.C (insertStringAsLines): un-const it
7939         (insertStringAsLines): adjust
7940
7941         * ParagraphList.C (insert): new function
7942
7943         * CutAndPaste.C (pasteSelection): adjust
7944
7945         * text.C (backspace): adjust
7946
7947         * tabular.C (SetMultiColumn): adjust
7948
7949         * CutAndPaste.C (cutSelection): adjust
7950         (pasteSelection): adjust
7951
7952         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7953         Buffer const * as arg
7954
7955         * ParagraphList.C (erase): new function
7956         * paragraph_funcs.C (mergeParagraph): use it
7957         (mergeParagraph): make it take a Buffer* instead of a
7958         BufferParams* as arg
7959
7960         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7961         as arg
7962         (breakParagraphConservative): ditto
7963
7964         * paragraph.h: remove the breakParagraph friend
7965
7966         * paragraph.C (eraseIntern): new function
7967         (setChange): new function
7968
7969         * paragraph_funcs.C (mergeParagraph): make it take a
7970         ParagraphList::iterator instead of a Paragraph *, adjust
7971         accordingly.
7972
7973         * paragraph.h: move an #endif so that the change tracking stuff
7974         also works in the NO_NEXT case.
7975
7976 2003-03-04  Angus Leeming  <leeming@lyx.org>
7977
7978         * commandtags.h:
7979         * LyXAction.C: new LFUN_INSET_MODIFY.
7980
7981         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7982         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7983
7984 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7985
7986         * several files: ws changes only
7987
7988         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7989         (TeXEnvironment): ditto
7990         (TeXDeeper): ditto
7991
7992         * buffer.C (makeLaTeXFile): adjust
7993         (latexParagraphs): make it take ParagraphList::iterator as args
7994
7995 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * buffer.C (latexParagraphs): adjust
7998
7999         * paragraph.C (TeXOnePar): move function...
8000         (optArgInset): move function...
8001         (TeXEnvironment): move function...
8002         * paragraph_pimpl.C (TeXDeeper): move function...
8003         * paragraph_funcs.C: ...here
8004
8005         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8006
8007 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * buffer.C (readInset): remove compability code for old Figure and
8010         InsetInfo insets
8011
8012 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8013
8014         * buffer.C: ws changes
8015         (readInset):
8016
8017         * BufferView_pimpl.C: ditto
8018         * author.C: ditto
8019         * buffer.h: ditto
8020         * bufferlist.h: ditto
8021         * changes.h: ditto
8022         * lyxfunc.C: ditto
8023
8024 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8025
8026         * converter.[Ch]: split into itself +
8027         * graph.[Ch]
8028         * format.[Ch]
8029         * Makefile.am: += graph.[Ch] + format.[Ch]
8030         * MenuBackend.C
8031         * buffer.C
8032         * exporter.C
8033         * importer.C
8034         * lyx_main.C
8035         * lyxfunc.C
8036         * lyxrc.C: added #include "format.h"
8037
8038 2003-02-27  Angus Leeming  <leeming@lyx.org>
8039
8040         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8041           a label.
8042
8043         * factory.C (createInset): add "label" to the factory.
8044
8045         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8046           string and do no more.
8047
8048 2003-02-27  Angus Leeming  <leeming@lyx.org>
8049
8050         * commandtags.h:
8051         * LyXAction.C (init):
8052         * factory.C (createInset):
8053         * BufferView_pimpl.C (dispatch):
8054           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8055
8056         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8057
8058         * lyxfunc.C (dispatch):
8059         * text3.C (dispatch): pass name to params2string.
8060
8061 2003-02-26  Angus Leeming  <leeming@lyx.org>
8062
8063         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8064           blocks together.
8065           Rearrange the ~includes. Strip out the unnecessary ones.
8066
8067         * factory.C (createInset): reformat.
8068           create new insets for the various LFUN_XYZ_APPLY lfuns.
8069
8070 2003-02-26  John Levon  <levon@movementarian.org>
8071
8072         * lyxrow.h:
8073         * lyxrow.C: add isParStart,isParEnd helpers
8074
8075         * paragraph.h: make isInserted/DeletedText take refs
8076
8077         * paragraph_funcs.h:
8078         * paragraph_funcs.C: remove #if 0'd code
8079
8080         * lyxtext.h:
8081         * text3.C:
8082         * text2.C:
8083         * text.C: use lyxrow helpers above.
8084           Move draw and paint routines to RowPainter.
8085           Make several methods use refs not pointers.
8086           Make backgroundColor() const.
8087           Add markChangeInDraw(), isInInset().
8088           Merge changeRegionCase into changeCase.
8089           Make workWidth() shouldn't-happen code into an Assert.
8090
8091         * rowpainter.h:
8092         * rowpainter.C: new class for painting a row.
8093
8094         * vspace.h:
8095         * vspace.C: make inPixels take a ref
8096
8097 2003-02-26  Angus Leeming  <leeming@lyx.org>
8098
8099         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8100         LFUN_REF_APPLY.
8101
8102 2003-02-25  John Levon  <levon@movementarian.org>
8103
8104         * ispell.C: give the forked command a more accurate name
8105
8106 2003-02-22  John Levon  <levon@movementarian.org>
8107
8108         * toc.h:
8109         * toc.C: make TocItem store an id not a Paragraph *
8110           (bug #913)
8111
8112 2003-02-21  Angus Leeming  <leeming@lyx.org>
8113
8114         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8115           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8116           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8117           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8118           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8119           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8120
8121         * BufferView_pimpl.C (dispatch):
8122         * LyXAction.C (init):
8123         * factory.C (createInset):
8124         * lyxfunc.C (getStatus, dispatch):
8125         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8126
8127 2003-02-21  Angus Leeming  <leeming@lyx.org>
8128
8129         * BufferView_pimpl.C (MenuInsertLyXFile):
8130         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8131         * lyxfunc.C (menuNew, open, doImport):
8132           no longer pass a LyXView & to fileDlg.
8133
8134 2003-02-21  Angus Leeming  <leeming@lyx.org>
8135
8136         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8137         * LyXAction.C: change, BIBKEY to BIBITEM.
8138         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8139         Change InsetBibKey to InsetBibitem.
8140         Change BIBKEY_CODE to BIBITEM_CODE.
8141         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8142         * factory.C: replace insetbib.h with insetbibitem.h.
8143         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8144         * paragraph.C: replace insetbib.h with insetbibitem.h.
8145         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8146         Change bibkey() to bibitem().
8147         * text.C: remove insetbib.h.
8148         * text2.C: replace insetbib.h with insetbibitem.h.
8149         change bibkey() to bibitem().
8150         * text3.C: remove insetbib.h.
8151         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8152
8153 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8154
8155         * lyxrc.C (output): enclose user email in quotes (in case there are
8156         several words)
8157
8158 2003-02-18  John Levon  <levon@movementarian.org>
8159
8160         * buffer.h: add std::
8161
8162 2003-02-17  John Levon  <levon@movementarian.org>
8163
8164         * SpellBase.h:
8165         * ispell.h:
8166         * ispell.C:
8167         * pspell.h:
8168         * pspell.C: reworking. Especially in ispell, a large
8169           number of clean ups and bug fixes.
8170
8171         * lyxfunc.C: fix revert to behave sensibly
8172
8173 2003-02-17 André Pönitz <poenitz@gmx.net>
8174
8175         * LyXAction.C:
8176         * commandtags.h: new LFUN_INSERT_BIBKEY
8177
8178         * layout.h:
8179         * lyxlayout.C:
8180         * buffer.C:
8181         * factory.C:
8182         * text.C:
8183         * text2.C:
8184         * text3.C:
8185         * paragraph.[Ch]:
8186         * paragraph_func.C: remove special bibkey handling
8187
8188 2003-02-17  John Levon  <levon@movementarian.org>
8189
8190         * text.C (Delete): fix case where delete at the end of
8191           the very first paragraph would not merge the pars
8192
8193 2003-02-17  John Levon  <levon@movementarian.org>
8194
8195         * lyxrow.C: fix lastPrintablePos()
8196
8197 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8198
8199         * bufferparams.C (writeLaTeX): add a std:here
8200
8201         * buffer.C: and remove a using directive there
8202
8203 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8204
8205         * buffer.C (makeLaTeXFile): move the code that generates the
8206           preamble...
8207
8208         * bufferparams.C (writeLaTeX): ... in this new method
8209
8210         * LaTeXFeatures.C (getEncodingSet): make const
8211           (getLanguages): make const
8212
8213         * MenuBackend.C (binding): returns the binding associated to this
8214           action
8215           (add): sets the status of each item by calling getStatus. Adds
8216           some intelligence.
8217           (read): add support for OptSubMenu
8218           (expand): remove extra separator at the end of expanded menu
8219
8220 2003-02-15  John Levon  <levon@movementarian.org>
8221
8222         * BufferView.C:
8223         * BufferView_pimpl.C:
8224         * bufferlist.h:
8225         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8226           inset code that had no actual effect. Remove unneeded status
8227           code.
8228
8229 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8230
8231         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8232           in preamble
8233
8234 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8235
8236         * text.C (drawLengthMarker): also draw an arrow marker for
8237           symbolic lengths (medskip...)
8238
8239 2003-02-14  John Levon  <levon@movementarian.org>
8240
8241         * tabular.h:
8242         * tabular.C: better method names
8243
8244 2003-02-14  John Levon  <levon@movementarian.org>
8245
8246         * BufferView_pimpl.C:
8247         * bufferlist.C:
8248         * buffer.C:
8249         * converter.C:
8250         * lyx_cb.C:
8251         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8252           it's a more accurate name. Remove some pointless uses.
8253
8254 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8255
8256         * text2.C (LyXText): change order of initilizers to shut off
8257           warnings
8258
8259 2003-02-14  John Levon  <levon@movementarian.org>
8260
8261         * buffer.C: use ParIterator for getParFromID()
8262
8263         * paragraph.h:
8264         * paragraph.C:
8265         * paragraph_pimpl.h:
8266         * paragraph_pimpl.C: remove unused getParFromID()
8267
8268 2003-02-14  John Levon  <levon@movementarian.org>
8269
8270         * buffer.C: remove some very old #if 0'd parse code
8271
8272 2003-02-13  John Levon  <levon@movementarian.org>
8273
8274         * text.h:
8275         * text.C:
8276         * text2.C: move hfillExpansion(), numberOfSeparators(),
8277           rowLast(), rowLastPrintable(), numberofHfills(),
8278           numberOfLabelHfills() ...
8279
8280         * lyxrow.h:
8281         * lyxrow.C: ... to member functions here.
8282
8283         * paragraph.h:
8284         * paragraph.C:
8285         * lyxtext.h:
8286         * text.C: remove LyXText::beginningOfMainBody(), and call
8287           p->beginningOfMainBody() directly. Move the check for
8288           LABEL_MANUAL into the latter.
8289
8290         * text.h:
8291         * text.C:
8292         * text2.C:
8293         * vspace.C:
8294         * BufferView.h:
8295         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8296
8297         * text.h:
8298         * text.C:
8299         * text2.C:
8300         * text3.C:
8301         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8302           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8303
8304 2003-02-13  John Levon  <levon@movementarian.org>
8305
8306         * CutAndPaste.C: remove debug
8307
8308 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8309
8310         * paragraph.C (asString): remove two unused variables
8311
8312         * lyxtextclass.C (readTitleType):
8313           (Read):
8314           (LyXTextClass): handle new members titletype_ and titlename_
8315
8316         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8317
8318 2003-02-09  John Levon  <levon@movementarian.org>
8319
8320         * buffer.h:
8321         * buffer.C: replace hand-coded list with a map for the dep clean
8322
8323 2003-02-08  John Levon  <levon@movementarian.org>
8324
8325         * LaTeX.C: consolidate code into showRunMessage() helper
8326
8327 2003-02-08  John Levon  <levon@movementarian.org>
8328
8329         * lyxfind.C:
8330         * lyxtext.h:
8331         * text2.C:
8332         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8333           and pass the size in explicitly
8334
8335         * BufferView_pimpl.h:
8336         * BufferView_pimpl.C:
8337         * BufferView.h:
8338         * BufferView.C: add getCurrentChange()
8339
8340         * BufferView_pimpl.h:
8341         * BufferView_pimpl.C: handle change lfuns
8342
8343         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8344           for changes. Mark pasted paragraphs as new.
8345
8346         * support/lyxtime.h:
8347         * support/lyxtime.C:
8348         * DepTable.C: abstract time_t as lyx::time_type
8349
8350         * LColor.h:
8351         * LColor.C: add colours for new text, deleted text, changebars
8352
8353         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8354           package use "usenames" option.
8355
8356         * commandtags.h:
8357         * lyxfunc.C:
8358         * LyXAction.C: add change lfuns
8359
8360         * Makefile.am:
8361         * author.h:
8362         * author.C: author handling
8363
8364         * buffer.h:
8365         * buffer.C: add a per-buffer author list, with first entry as
8366           current author. Handle new .lyx tokens for change tracking. Output
8367           author list to .lyx file. Output dvipost stuff to .tex preamble.
8368           Bump lyx format to 222.
8369
8370         * bufferlist.h:
8371         * bufferlist.C: add setCurrentAuthor() to reset current author details
8372           in all buffers.
8373
8374         * bufferparams.h:
8375         * bufferparams.C: add param for tracking
8376
8377         * bufferview_funcs.C: output change info in minibuffer
8378
8379         * Makefile.am:
8380         * changes.h:
8381         * changes.C: add change-tracking structure
8382
8383         * debug.h:
8384         * debug.C: add CHANGES debug flag
8385
8386         * lyxfind.h:
8387         * lyxfind.C: add code for finding the next change piece
8388
8389         * lyxrc.h:
8390         * lyxrc.C: add user_name and user_email
8391
8392         * lyxrow.h:
8393         * lyxrow.C: add a metric for the top of the text line
8394
8395         * lyxtext.h:
8396         * text.C: implement accept/rejectChange()
8397
8398         * lyxtext.h:
8399         * text.C: paint changebars. Paint new/deleted text in the chosen
8400         colours. Strike through deleted text.
8401
8402         * paragraph.h:
8403         * paragraph.C:
8404         * paragraph_pimpl.h:
8405         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8406           in the current change to the insert functions. Rework erase to
8407           mark text as deleted, adding an eraseIntern() and a range-based
8408           erase(). Implement per-paragraph change lookup and
8409           accept/reject.
8410
8411         * paragraph_funcs.C: Fixup paste for change tracking.
8412
8413         * tabular.C: mark added row/columns as new.
8414
8415         * text.C: fix rowLast() to never return -1. Don't allow
8416           spellchecking of deleted text. Track transpose changes. Don't
8417           allow paragraph break or merge where appropriate.
8418
8419         * text2.C: leave cursor at end of selection after a cut.
8420
8421 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8422
8423         * text.C (getLengthMarkerHeight):
8424         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8425         visible on screen too.
8426
8427 2003-02-07  John Levon  <levon@movementarian.org>
8428
8429         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8430
8431 2003-02-05  Angus Leeming  <leeming@lyx.org>
8432
8433         * lyxserver.C (read_ready): revert my patch of 11 September last year
8434         as it sends PC cpu through the roof. Presumably this means that
8435         the lyxserver will no longer run on an Alpha...
8436
8437 2003-01-30  Angus Leeming  <leeming@lyx.org>
8438
8439         * factory.C (createInset): create an InsetCommandParam of type "index"
8440         and use it to 'do the right thing'.
8441
8442         * text2.C (getStringToIndex): ensure that cursor position is always
8443         reset to the reset_cursor position.
8444
8445 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8446
8447         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8448         disabled.
8449
8450 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8451
8452         * bufferview.C:
8453         * lyxcb.C:
8454         * lyxfunc.C: Output messages with identical spelling, punctuation,
8455         and spaces
8456
8457 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8458
8459         * MenuBackend.C (expandFormats): List only viewable export formats
8460         in "View" menu
8461
8462         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8463         message
8464
8465         * lyxfunc.C (getStatus): Make sure that formats other than
8466         "fax" can also be disabled
8467
8468 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8469
8470         * text3.C (dispatch): put the lfuns that insert insets in 3
8471         groups, and call doInsertInset with appropriate arguments.
8472         (doInsertInset): new function, that creates an inset and inserts
8473         it according to some boolean parameters.
8474
8475 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * buffer.C (readFile): remember to pass on 'par' when calling
8478         readFile recursively.
8479
8480 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8481
8482         * MenuBackend.C (expandFormats): add "..." to import formats.
8483
8484 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8485
8486         * paragraph.C (asString): Remove XForms RTL hacks.
8487
8488 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8489         * buffer.C: fix typo
8490
8491 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8492
8493         * Makefile.am (LIBS): delete var
8494         (lyx_LDADD): add @LIBS@ here instead.
8495
8496 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8497
8498         * Clarify the meaning of "wheel mouse jump"
8499
8500 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8501
8502         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8503         tabular in a float
8504
8505 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8506
8507         * importer.C (Loaders): do not preallocate 3 elements in the
8508         vector, since one ends up with 6 elements otherwise
8509
8510 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8511
8512         * DepTable.C (write): write the file name as last element of the
8513         .dep file (because it may contain spaces)
8514         (read): read info in the right order
8515
8516 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8517
8518         * paragraph_pimpl.C (simpleTeXBlanks):
8519         (simpleTeXSpecialChars):
8520         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8521
8522         * tabular.C (latex): add some missing case statements. Reindent.
8523
8524         * MenuBackend.C (expandToc): remove unused variable.
8525
8526 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8527
8528         * LColor.C:
8529         * LaTeX.C:
8530         * LyXAction.C:
8531         * MenuBackend.C:
8532         * buffer.C:
8533         * exporter.C:
8534         * lyxfunc.C:
8535         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8536         and the like.
8537
8538 2003-01-05  John Levon  <levon@movementarian.org>
8539
8540         * BufferView.h:
8541         * BufferView.C: add getEncoding()
8542
8543         * kbsequence.h:
8544         * kbsequence.C: do not store last keypress
8545
8546         * lyxfunc.h:
8547         * lyxfunc.C: store last keypress here instead. Pass encoding
8548           to getISOEncoded()
8549
8550 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8551
8552         * lyx_main.C (init): remove annoying error message when following
8553         symbolic links (bug #780)
8554
8555 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8556
8557         * text.C (insertChar):
8558         * lyxrc.C (getDescription): remove extra spaces
8559
8560 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8561
8562         * lyxrc.C (getDescription): remove extra spaces
8563
8564 2002-12-20  John Levon  <levon@movementarian.org>
8565
8566         * text3.C: hack fix for page up/down across tall rows
8567
8568 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8569
8570         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8571         not been invoked
8572
8573 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8576         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8577         thesaurus is not compiled in
8578
8579 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8580
8581         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8582
8583 2002-12-16  Angus Leeming  <leeming@lyx.org>
8584
8585         * lyxrc.[Ch]:
8586         * lyx_main.C (init): remove override_x_deadkeys stuff.
8587
8588 2002-12-12  John Levon  <levon@movementarian.org>
8589
8590         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8591           insert. Only remove shift modifier under strict
8592           circumstances.
8593
8594 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8595
8596         * MenuBackend.C (expandToc): fix crash.
8597
8598 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8599
8600         * MenuBackend.C (expandToc): gettext on float names.
8601
8602 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8603
8604         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8605         implement bool empty() [bug 490]
8606
8607 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8608
8609         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8610
8611 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8612
8613         * several files: ws changes
8614
8615 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8616
8617         * text2.C (setCounter): clean up a bit, use boost.format.
8618         (updateCounters): initialize par upon declaration.
8619
8620         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8621         if the layout exists. We do not just store the layout any more.
8622         (SwitchLayoutsBetweenClasses): use boost.format
8623
8624 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8625
8626         * converter.C (convert): if from and to files are the same, use a
8627         temporary files as intermediary
8628
8629 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8630
8631         * commandtags.h:
8632         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8633
8634 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8635
8636         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8637
8638 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * tabular.C (asciiPrintCell): use string(size, char) instead of
8641         explicit loop.
8642
8643         * sgml.C (openTag): fix order of arguments to string constructor
8644         (closeTag): ditto
8645
8646         * lyxfunc.C (dispatch): use boost.format
8647
8648         * lots of files: change "c" -> 'c'
8649
8650 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8651
8652         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8653
8654 2002-11-25  Angus Leeming  <leeming@lyx.org>
8655
8656         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8657
8658         * lyx_main.C (init): compile fix.
8659
8660 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8661
8662         * lyx_cb.C (start): boost.formatify
8663         do not include <iostream>
8664
8665         * lengthcommon.C: ws only
8666
8667         * boost-inst.C,BoostFormat.h: add more explict instantations
8668
8669 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8670
8671         * lots of files: handle USE_BOOST_FORMAT
8672
8673 2002-11-21  John Levon  <levon@movementarian.org>
8674
8675         * pspell.C: fix compile
8676
8677 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8678
8679         * lyxfunc.C (dispatch): use boost::format
8680         (open): ditto
8681         (doImport): ditto
8682
8683         * lyxfont.C (stateText): use boost::format
8684
8685         * lyx_main.C (LyX): use boost::format
8686         (init): ditto
8687         (queryUserLyXDir): ditto
8688         (readRcFile): ditto
8689         (parse_dbg): ditto
8690         (typedef boost::function): use the recommened syntax.
8691
8692         * importer.C (Import): use boost::format
8693
8694         * debug.C (showLevel): use boost::format
8695
8696         * converter.C (view): use boost::format
8697         (convert): ditto
8698         (move): ditto
8699         (scanLog): ditto
8700
8701         * bufferview_funcs.C (currentState): use boost::format
8702
8703         * bufferlist.C (emergencyWrite): use boost::format
8704
8705         * buffer.C (readLyXformat2): use boost::format
8706         (parseSingleLyXformat2Token): ditto
8707
8708         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8709
8710         * LaTeX.C (run): use boost::format
8711
8712         * Chktex.C (scanLogFile): use boost::format
8713
8714         * BufferView_pimpl.C (savePosition): use boost::format
8715         (restorePosition): ditto
8716         (MenuInsertLyXFile): ditto
8717
8718         * BoostFormat.h: help file for explicit instation.
8719
8720 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8721
8722         * tabular.C (latex): Support for block alignment in fixed width
8723         columns.
8724
8725 2002-11-17  John Levon  <levon@movementarian.org>
8726
8727         * BufferView_pimpl.C:
8728         * lyx_cb.C:
8729         * lyxfunc.C: split filedialog into open/save
8730
8731 2002-11-08  Juergen Vigna  <jug@sad.it>
8732
8733         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8734         by my last patch (hopefully).
8735
8736 2002-11-08  John Levon  <levon@movementarian.org>
8737
8738         * iterators.h:
8739         * iterators.C:
8740         * buffer.h:
8741         * buffer.C:
8742         * paragraph.h:
8743         * paragraph.C:
8744         * toc.h:
8745         * toc.C: ParConstIterator, and use it (from Lars)
8746
8747 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8748
8749         * lyxtextclass.[Ch]: revise and add doxygen comments
8750
8751 2002-11-07  John Levon  <levon@movementarian.org>
8752
8753         * text.C: fix progress value for spellchecker
8754
8755         * toc.C: fix navigate menu for insetwrap inside minipage
8756
8757         * paragraph_funcs.C: added FIXME for suspect code
8758
8759 2002-11-07  John Levon  <levon@movementarian.org>
8760
8761         * BufferView_pimpl.C: fix redrawing of insets
8762           on buffer switch
8763
8764 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8765
8766         * text2.C (updateCounters): fix bug 668
8767
8768 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8769
8770         * text3.C (dispatch): Do not make the buffer dirty when moving the
8771         cursor.
8772
8773 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8774
8775         * vc-backend.C: STRCONV
8776         (scanMaster): ditto
8777
8778         * text2.C (setCounter): STRCONV
8779
8780         * paragraph.C (asString): STRCONV
8781
8782         * lyxlength.C (asString): STRCONV
8783         (asLatexString): ditto
8784
8785         * lyxgluelength.C (asString): STRCONV
8786         (asLatexString): ditto
8787
8788         * lyxfunc.C (dispatch): STRCONV
8789         (open): ditto
8790
8791         * lyxfont.C (stateText): STRCONV
8792
8793         * importer.C (Import): STRCONV
8794
8795         * counters.C (labelItem): STRCONV
8796         (numberLabel): ditto
8797         (numberLabel): remove unused ostringstream o
8798
8799         * chset.C: STRCONV
8800         (loadFile): ditto
8801
8802         * bufferview_funcs.C (currentState): STRCONV
8803
8804         * buffer.C (readFile): STRCONV
8805         (asciiParagraph): ditto
8806         (makeLaTeXFile): ditto
8807
8808         * Spacing.C (writeEnvirBegin): STRCONV
8809
8810         * LaTeXFeatures.C (getLanguages): STRCONV
8811         (getPackages): ditto
8812         (getMacros): ditto
8813         (getBabelOptions): ditto
8814         (getTClassPreamble): ditto
8815         (getLyXSGMLEntities): ditto
8816         (getIncludedFiles): ditto
8817
8818         * LaTeX.C: STRCONV
8819         (run): ditto
8820         (scanAuxFile): ditto
8821         (deplog): ditto
8822
8823         * LString.h: add the STRCONV macros
8824
8825         * BufferView_pimpl.C (savePosition): STRCONV
8826         (restorePosition): ditto
8827         (MenuInsertLyXFile): ditto
8828
8829         * vc-backend.C (scanMaster): change from submatch[...] to
8830         submatch.str(...)
8831
8832         * funcrequest.C: include config.h
8833
8834         * factory.C: include config.h
8835
8836         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8837
8838         * box.C: include config.h
8839
8840         * LaTeX.C (scanAuxFile): change from submatch[...] to
8841         submatch.str(...)
8842         (deplog): ditto
8843
8844 2002-10-25  Angus Leeming  <leeming@lyx.org>
8845
8846         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8847
8848         * ispell.[Ch] (setError): new method.
8849         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8850         Use setError() insetead of goto END.
8851
8852         * lyx_cb.C (AutoSave): move out child process into new class
8853         AutoSaveBuffer.
8854
8855 2002-10-30  John Levon  <levon@movementarian.org>
8856
8857         * text3.C: make start appendix undoable
8858
8859 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8860
8861         * lyxlength.C (inPixels): Fix returned value.
8862
8863         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8864         environment.
8865
8866 2002-10-24  Angus Leeming  <leeming@lyx.org>
8867
8868         * lyxgluelength.h: no need to forward declare BufferParams
8869         or BufferView, so don't.
8870
8871 2002-10-21  John Levon  <levon@movementarian.org>
8872
8873         * BufferView.C: menuUndo ->undo, redo
8874
8875         * BufferView.h: document, remove dead, make some methods private
8876
8877         * paragraph_funcs.h:
8878         * paragraph_funcs.C:
8879         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8880
8881         * buffer.h:
8882         * buffer.C:
8883         * sgml.h:
8884         * sgml.C: move sgml open/close tag into sgml.C
8885
8886         * bufferview_funcs.h: unused prototype
8887
8888         * lyxfunc.h:
8889         * lyxfunc.C: remove unused
8890
8891         * lyxtext.h:
8892         * text.C: remove unused
8893
8894 2002-10-21  John Levon  <levon@movementarian.org>
8895
8896         * BufferView.h:
8897         * BufferView.C:
8898         * BufferView_pimpl.h:
8899         * BufferView_pimpl.C: fix mouse wheel handling based on
8900           patch from Darren Freeman
8901
8902 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8903
8904         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8905
8906 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8907
8908         * lyxlength.C (inPixels): Fix hanfling of negative length.
8909         Fix LyXLength::MU case.
8910
8911 2002-10-16  John Levon  <levon@movementarian.org>
8912
8913         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8914
8915 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8916
8917         * converter.C (view): add support for $$i (file name) and $$p
8918         (file path) for the viewer command. If $$i is not specified, then
8919         it is appended to the command (for compatibility with old syntax)
8920
8921 2002-10-14  Juergen Vigna  <jug@sad.it>
8922
8923         * undo_funcs.C (textHandleUndo): alter the order in which the
8924         new undopar is added to the LyXText, as we have to set first
8925         the right prev/next and then add it as otherwise the rebuild of
8926         LyXText is not correct. Also reset the cursor to the right paragraph,
8927         with this IMO we could remove the hack in "redoParagraphs()".
8928
8929 2002-10-09  Angus Leeming  <leeming@lyx.org>
8930
8931         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8932         to turn off an optimisation if a new inset is to be inserted.
8933
8934 2002-10-11 André Pönitz <poenitz@gmx.net>
8935
8936         * lyxtext.h: make some functions public to allow access
8937         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8938
8939 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8940
8941         * text3.C (dispatch): when changing layout, avoid an infinite loop
8942         [bug #652]
8943
8944 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8945
8946         * lyxrc.C (read): treat a viewer or converter command of "none" as
8947         if it were empty.
8948
8949         * MenuBackend.C (expandFormats): for an update, also allow the
8950         formats that are not viewable
8951
8952         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8953         script if it is newer than the lyxrc.defaults in user directory
8954
8955 2002-10-07 André Pönitz <poenitz@gmx.net>
8956
8957         * text.C: Vitaly Lipatov's small i18n fix
8958
8959 2002-09-25  Angus Leeming  <leeming@lyx.org>
8960
8961         * ispell.h: doxygen fix.
8962
8963 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8964
8965         * buffer.h (readFile): Add a new argument to the method, to allow
8966         reading of old-format templates.
8967
8968 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8969
8970         * toc.C (getTocList): Get TOC from InsetWrap.
8971
8972 2002-09-16  John Levon  <levon@movementarian.org>
8973
8974         * lyxfunc.C: check tabular for cut/copy too
8975
8976 2002-09-12  John Levon  <levon@movementarian.org>
8977
8978         * LyXAction.C: tidy
8979
8980         * factory.h:
8981         * factory.C: add header
8982
8983         * paragraph_funcs.h:
8984         * paragraph_funcs.C: cleanup
8985
8986 2002-09-11  John Levon  <levon@movementarian.org>
8987
8988         * PrinterParams.h: odd/even default to true
8989
8990 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8991
8992         * PrinterParams.h: update printer parameters for new xforms dialog
8993
8994 2002-09-11  Angus Leeming  <leeming@lyx.org>
8995
8996         * lyxserver.C (read_ready): re-write to make it more transparent
8997         and to make it work in coherent fashion under Tru64 Unix.
8998
8999 2002-09-11  André Pönitz <poenitz@gmx.net>
9000
9001         * commandtags.h:
9002         * LyXAction.C:
9003         * text3.C: implement LFUN_WORDSEL
9004
9005 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9006
9007         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9008         make floatlist_ a boost::shared_ptr<FloatList>
9009
9010         * lyxtextclass.C: include FloatList.h
9011         (LyXTextClass): initialize floatlist_
9012         (TextClassTags): add TC_NOFLOAT
9013         (Read): match "nofloat" to TC_NOFLOAT and use it.
9014         (readFloat): modify call to floatlist_
9015         (floats): ditto
9016         (floats): ditto
9017
9018         * FloatList.[Ch] (FloatList): remove commented out float
9019         initialization.
9020         (erase): new function
9021
9022 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9023
9024         * MenuBackend.C (expandToc): fix crash when there is no document
9025         open
9026
9027 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9028
9029         * many files: Add insetwrap.
9030
9031 2002-09-09  John Levon  <levon@movementarian.org>
9032
9033         * text2.C: remove confusing and awkward depth wraparound
9034
9035 2002-09-09  John Levon  <levon@movementarian.org>
9036
9037         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9038
9039         * buffer.h:
9040         * buffer.C: remove getIncludeonlyList()
9041
9042         * paragraph.C:
9043         * lyxfunc.C: remove headers
9044
9045 2002-09-09  Juergen Vigna  <jug@sad.it>
9046
9047         * text.C (getColumnNearX): fix form Michael this is most
9048         probably a cut&paste bug.
9049
9050 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9051
9052         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9053
9054         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9055         references, ws changes.
9056
9057         * text2.C (init): update counters after init
9058         (insertParagraph): no need to set counter on idividual paragraphs.
9059         (setCounter): access the counters object in the textclass object
9060         on in the buffer object.
9061         (updateCounters): ditto
9062
9063         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9064         shared_ptr<Counters> to avoid loading counters.h in all
9065         compilation units.
9066         (LyXTextClass): initialize ctrs_
9067         (TextClassTags): add TC_COUNTER, and ...
9068         (Read): use it here.
9069         (CounterTags): new tags
9070         (readCounter): new function
9071         (counters): new funtion
9072         (defaultLayoutName): return a const reference
9073
9074         * counters.C (Counters): remove contructor
9075         (newCounter): remove a couple of unneeded statements.
9076         (newCounter): simplify a bit.
9077         (numberLabel): some small formatting changes.
9078
9079         * buffer.[Ch]: remove all traces of counters, move the Counters
9080         object to the LyXTextClass.
9081
9082 2002-09-06  Alain Castera  <castera@in2p3.fr>
9083
9084         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9085         package to set the horizontal alignment on fixed width columns.
9086
9087         * lyx_sty.C:
9088         * lyx_sty.h: added tabularnewline macro def.
9089
9090         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9091
9092 2002-09-06  John Levon  <levon@movementarian.org>
9093
9094         * LyXAction.C: tooltips for sub/superscript
9095
9096         * MenuBackend.C: a bit more verbose
9097
9098         * lyxfunc.C: tiny clean
9099
9100         * undo_funcs.C: document undo_frozen
9101
9102 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9103
9104         * counters.C (Counters): add missing algorithm counter.
9105
9106         * text2.C (setCounter): lookup the counter with layouts latexname
9107         instead of by section number.
9108         (setCounter): use a hackish way to lookup the correct enum
9109         counter.
9110         a float name->type change
9111         reset enum couners with counter name directly instead of depth value.
9112
9113         * counters.C (Counters): remove the push_backs, change to use the
9114         float type not the float name.
9115         (labelItem): remove unused string, float name->type change
9116
9117         * counters.h: don't include vector, loose the enums and sects vectors
9118
9119 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9120
9121         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9122         (Read): add float->TC_FLOAT to textclassTags
9123         (Read): and handle it in the switch
9124         (readFloat): new function
9125
9126         * FloatList.C (FloatList): comment out the hardcoded float
9127         definitions.
9128
9129         * lyxlayout.h: ws change.
9130
9131 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9132
9133         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9134
9135 2002-09-03  Angus Leeming  <leeming@lyx.org>
9136
9137         * BufferView_pimpl.h: qualified name is not allowed in member
9138         declaration: WorkArea & Pimpl::workarea() const;
9139
9140         * factory.C: added using std::endl directive.
9141
9142         * text3.C: added using std::find and std::vector directives.
9143
9144 2002-08-29  André Pönitz <poenitz@gmx.net>
9145
9146         * lyxtext.h:
9147         * text2.C: remove unused member number_of_rows
9148
9149         * Makefile.am:
9150         * BufferView2.C: remove file, move contents to...
9151         * BufferView.C: ... here
9152
9153         * BufferView_pimpl.C:
9154         * factory.C: move more inset creation to factory
9155
9156         * vspace.C: avoid direct usage of LyXText, ws changes
9157
9158         * BufferView.[Ch]:
9159                 don't provide direct access to WorkArea, use two simple
9160                 acessors haveSelction() and workHeight() instead
9161
9162
9163 2002-08-29  John Levon  <levon@movementarian.org>
9164
9165         * BufferView_pimpl.C (dispatch): do not continue when
9166           no buffer
9167
9168 2002-08-28  André Pönitz <poenitz@gmx.net>
9169
9170         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9171
9172         * BufferView.h:
9173         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9174
9175 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9176
9177         * buffer.C: increment LYX_FORMAT to 221
9178
9179         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9180         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9181
9182         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9183
9184         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9185
9186 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9187
9188         * factory.C (createInset): use LyXTextClass::floats
9189
9190         * MenuBackend.C (expandFloatListInsert):
9191         (expandFloatInsert):
9192         (expandToc):
9193
9194         * text2.C (setCounter):
9195
9196         * LaTeXFeatures.C (useFloat):
9197         (getFloatDefinitions):
9198
9199         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9200
9201         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9202         floatlist_, with accessor floats().
9203
9204         * FloatList.h: remove global FloatList
9205
9206 2002-08-26  André Pönitz <poenitz@gmx.net>
9207
9208         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9209
9210         * BufferView.h:
9211         * BufferView2.C:
9212         * BufferView_pimpl.C:
9213         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9214
9215 2002-08-25  John Levon  <levon@movementarian.org>
9216
9217         * LyXAction.C: fix margin note description
9218
9219 2002-08-24  John Levon  <levon@movementarian.org>
9220
9221         * buffer.C:
9222         * bufferlist.C:
9223         * bufferview_funcs.C:
9224         * lyxfont.C:
9225         * undo_funcs.C: cleanups
9226
9227         * lyxfunc.C: disable CUT/COPY when no selection
9228
9229 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9230
9231         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9232         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9233
9234         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9235         Add backward compatibility to "mono", "gray" and "no".
9236
9237 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9238
9239         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9240         (and file_format >= 200).
9241
9242 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9243
9244         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9245
9246 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9249
9250 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9251
9252         * BufferView_pimpl.C:
9253         * LyXAction.C:
9254         * buffer.C:
9255         * commandtags.h:
9256         * lyxfunc.C:
9257         * paragraph.[Ch]:
9258         * text2.C:
9259         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9260         inset and code to make it  work with the paragraph code. The inset
9261         can be anywhere in the paragraph, but will only do the expected
9262         thing in LaTeX if the layout file contains the parameter line
9263                         OptionalArgs    1
9264         (or more generally, a nonzero value) for that layout.
9265
9266 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9267
9268         * paragraph.h: remove the declaration of undefined counters class
9269         function.
9270
9271 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9272
9273         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9274         Dr. Richard Hawkins.
9275
9276 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9277
9278         * paragraph_funcs.h: remove some unneeded includes
9279
9280         * text.C (backspace): pasteParagraph now in global scipe
9281
9282         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9283         (pasteSelection): ditto
9284
9285         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9286         * paragraph_funcs.C (pasteParagraph): ... here
9287
9288 2002-08-20  André Pönitz <poenitz@gmx.net>
9289
9290         * commandtags.h: new LFUNs for swapping/copying table row/colums
9291
9292         * LyXAction.C:
9293         * lyxfunc.C: support for new lfuns
9294
9295 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9296
9297         * tabular.C:
9298         * buffer.[Ch]: remove NO_COMPABILITY stuff
9299
9300 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9301
9302         * boost.C (throw_exception): new file, with helper function for
9303         boost compiled without exceptions.
9304
9305         * paragraph.h:
9306         * lyxlength.C:
9307         * buffer.C:
9308         * ParameterStruct.h:
9309         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9310
9311         * bufferlist.C (emergencyWriteAll): use boost bind
9312
9313         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9314
9315         * text.C: include paragraph_funcs.h
9316         (breakParagraph): breakParagraph is now in global scope
9317
9318         * paragraph_funcs.[Ch]: new files
9319
9320         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9321         global scope
9322
9323         * buffer.C: include paragraph_funcs.h
9324         (insertStringAsLines): breakParagraph is now in global scope
9325
9326         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9327         paragraph_funcs.C
9328
9329         * CutAndPaste.C: include paragraph_funcs.h
9330         (cutSelection): breakParagraphConservative is now in global scope
9331         (pasteSelection): ditto
9332
9333         * buffer.h: declare oprator== and operator!= for
9334         Buffer::inset_iterator
9335
9336         * bufferlist.C (emergencyWrite): don't use fmt(...)
9337
9338         * text3.C: add using std::endl
9339
9340         * BufferView.C (moveCursorUpdate): remove default arg
9341
9342 2002-08-20  André Pönitz <poenitz@gmx.net>
9343
9344         * buffer.[Ch]: move inline functions to .C
9345
9346         * BufferView2.C:
9347         * BufferView_pimpl.C:
9348         * text.C:
9349         * buffer.[Ch]: use improved inset_iterator
9350
9351         * buffer.C:
9352         * paragraph.[Ch]: write one paragraph at a time
9353
9354 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9355
9356         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9357         style if style is not specified.
9358
9359 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9360
9361         * text2.C (setCounter): when searching for right label for a
9362         caption, make sure to recurse to parent insets (so that a caption
9363         in a minipage in a figure float works) (bug #568)
9364
9365 2002-08-20  André Pönitz <poenitz@gmx.net>
9366
9367         * text3.C: new file for LyXText::dispatch() and helpers
9368
9369         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9370
9371         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9372
9373 2002-08-19  André Pönitz <poenitz@gmx.net>
9374
9375         * lyxtext.h:
9376         * text.C: new LyXText::dispatch()
9377
9378         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9379
9380 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9381
9382         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9383
9384         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9385         Hebrew text.
9386
9387 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9388
9389         * Makefile.am: use $(variables) instead of @substitutions@
9390
9391 2002-08-15  André Pönitz <poenitz@gmx.net>
9392
9393         * lyxfunc.C:
9394         * BufferView_pimpl.C: streamlining mathed <-> outer world
9395         interaction
9396
9397         * commandtags.h:
9398         * LyXAction.C: remove unused LFUN_MATH
9399
9400 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9401
9402         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9403
9404 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9405
9406         * paragraph.C (Paragraph): reformat a bit
9407         (cutIntoMinibuffer): use builtin InsetList function instad of
9408         doing it manually.
9409         (getInset): ditto
9410
9411         * buffer.C: include boost/bind.hpp, add using std::for_each
9412         (writeFileAscii): use ParagraphList iterators
9413         (validate): use for_each for validate traversal of paragraphs
9414         (getBibkeyList): use ParagraphList iterators
9415         (resizeInsets): use for_each to resizeInsetsLyXText for all
9416         paragraphs.
9417         (getParFromID): use ParagraphList iterators
9418
9419         * BufferView2.C (lockInset): use paragraph list and iterators
9420
9421 2002-08-14  John Levon  <levon@movementarian.org>
9422
9423         * lyxserver.C: remove spurious xforms include
9424
9425 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9426
9427         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9428
9429 2002-08-13  André Pönitz <poenitz@gmx.net>
9430
9431         * LyXAction.[Ch]:
9432         * lyxfunc.C: further cleaning
9433
9434 2002-08-13  André Pönitz <poenitz@gmx.net>
9435
9436         * funcrequest.h: new constructor
9437
9438         * funcrequest.C: move stuff here from .h
9439
9440         * Makefile.am:
9441         * BufferView_pimpl.C:
9442         * LyXAction.C:
9443         * toc.C:
9444         * lyxfunc.C: subsequent changes
9445
9446         * lyxfunc.h: new view() member function
9447
9448         * lyxfunc.C: subsequent changes
9449
9450 2002-08-13  Angus Leeming  <leeming@lyx.org>
9451
9452         * BufferView2.C:
9453         * BufferView_pimpl.C:
9454         * buffer.C:
9455         * converter.C:
9456         * importer.C:
9457         * lyxfunc.C:
9458         * lyxvc.C:
9459         * toc.C:
9460         * vc-backend.C:
9461         changes due to the changed LyXView interface that now returns references
9462         to member variables not pointers.
9463
9464 2002-08-13  Angus Leeming  <leeming@lyx.org>
9465
9466         * WordLangTuple (word, lang_code): return references to strings,
9467         not strings.
9468
9469         * BufferView.h:
9470         * SpellBase.h:
9471         * lyxtext.h: forward-declare WordLangTuple.
9472
9473         * BufferView2.C:
9474         * ispell.C:
9475         * pspell.C:
9476         * text.C: #include "WordLangTuple.h".
9477
9478         * lyxtext.h:
9479         * text.C: (selectNextWordToSpellcheck): constify return type.
9480
9481 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9482
9483         * buffer.C:
9484         * buffer.h:
9485         * lyxtext.h:
9486         * paragraph.C:
9487         * paragraph_pimpl.h:
9488         * text.C:
9489         * text2.C:
9490         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9491         suggested by Angus.
9492         Made updateCounter always count from start of buffer, and removed
9493         second argument (par).
9494         Reverted floats number display to '#'. Perhaps I'll try again when the
9495         code base is sanitized a bit.
9496
9497 2002-08-12  Angus Leeming  <leeming@lyx.org>
9498
9499         * buffer.[Ch] (getLabelList): constify.
9500
9501 2002-08-07  André Pönitz <poenitz@gmx.net>
9502
9503         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9504
9505         * funcrequest.h: extension to keep mouse (x,y) position
9506
9507 2002-08-12  Juergen Vigna  <jug@sad.it>
9508
9509         * BufferView2.C (insertErrors): forbid undo when inserting error
9510         insets.
9511
9512         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9513
9514 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9515
9516         * ParagraphList.[Ch]: new files
9517
9518         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9519
9520         * BufferView2.C (lockInset): ParagraphList changes
9521         * toc.C: ditto
9522         * text2.C: ditto
9523         * bufferlist.C: ditto
9524         * buffer.h: ditto
9525         * buffer.C: ditto
9526
9527 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9528
9529         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9530         unused class variable counter_,
9531
9532         * paragraph.[Ch] (getFirstCounter): delete unused function
9533
9534         * counters.C: include LAssert.h
9535         (reset): add a new function with no arg, change other version to
9536         not have def. arg and to not allow empty arg.
9537
9538         * text2.C (setCounter): remove empty arg from call to Counters::reset
9539
9540 2002-08-11  John Levon  <levon@movementarian.org>
9541
9542         * Makefile.am: add WordLangTuple.h
9543
9544 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9545
9546         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9547         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9548
9549         * insets/insettext.C: InsetList changes
9550
9551         * graphics/GraphicsSupport.C (operator()): InsetList changes
9552
9553         * toc.C (getTocList): InsetList changes
9554
9555         * paragraph_pimpl.[Ch]: InsetList changes
9556
9557         * paragraph.[Ch]: InsetList changes
9558
9559         * buffer.C (inset_iterator): InsetList changes
9560         (setParagraph): ditto
9561         * buffer.h (inset_iterator): ditto
9562         * iterators.C (operator++): ditto
9563         * iterators.h: ditto
9564
9565         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9566
9567         * InsetList.[Ch]: new files, most InsetList handling moved out of
9568         paragraph.C.
9569
9570         * BufferView2.C (removeAutoInsets): InsetList changes
9571         (lockInset): ditto
9572         (ChangeInsets): ditto
9573
9574 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9575
9576         * paragraph_pimpl.h (empty): new function
9577
9578         * paragraph.[Ch] (empty): new function
9579
9580         * other files: use the new Paragraph::empty function
9581
9582 2002-08-09  John Levon  <levon@movementarian.org>
9583
9584         * lyxtext.h: remove unused refresh_height
9585
9586 2002-08-09  John Levon  <levon@movementarian.org>
9587
9588         * Makefile.am:
9589         * sgml.h:
9590         * sgml.C:
9591         * buffer.C:
9592         * paragraph.h:
9593         * paragraph.C: move sgml char escaping out of paragraph
9594
9595         * paragraph.h:
9596         * paragraph.C: remove id setter
9597
9598         * buffer.C:
9599         * paragraph.C:
9600         * paragraph_pimpl.C: remove dead tex_code_break_column
9601
9602         * bufferview_funcs.C: small cleanup
9603
9604         * lyxfunc.C: remove dead proto
9605
9606         * lyxtext.h: make some stuff private. Remove some dead stuff.
9607
9608         * lyxgluelength.C: make as[LyX]String() readable
9609
9610 2002-08-08  John Levon  <levon@movementarian.org>
9611
9612         * LyXAction.h:
9613         * LyXAction.C:
9614         * MenuBackend.C:
9615         * ToolbarDefaults.C:
9616         * lyxfunc.C:
9617         * lyxrc.C:
9618         * toc.C: lyxaction cleanup
9619
9620 2002-08-08  John Levon  <levon@movementarian.org>
9621
9622         * BufferView2.C: small cleanup
9623
9624         * lyxfind.h:
9625         * lyxfind.C: move unnecessary header into the .C
9626
9627 2002-08-08  John Levon  <levon@movementarian.org>
9628
9629         * funcrequest.h: just tedious nonsense
9630
9631         * lyx_main.h:
9632         * lyx_main.C: cleanups
9633
9634         * buffer.C:
9635         * vspace.C: remove dead header lyx_main.h
9636
9637 2002-08-07  Angus Leeming  <leeming@lyx.org>
9638
9639         * Paragraph.[Ch]:
9640         * paragraph_pimpl.h:
9641         Forward declare class Counters in paragraph.h by moving the ctrs member
9642         variable into Paragraph::Pimpl.
9643         (counters): new method, returning a reference to pimpl_->ctrs.
9644
9645         * text2.C: ensuing changes.
9646
9647 2002-08-07  John Levon  <levon@movementarian.org>
9648
9649         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9650
9651         * BufferView_pimpl.C: announce X selection on double/triple
9652           click
9653
9654         * lyx_main.C: use correct bool in batch dispatch
9655
9656         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9657
9658 2002-08-07  André Pönitz <poenitz@gmx.net>
9659
9660         * funcrequest.h: new class to wrap a kb_action and its argument
9661
9662         * BufferView.[Ch]:
9663         * BufferView_pimpl[Ch]:
9664         * LaTeX.C:
9665         * LyXAction.[Ch]:
9666         * lyxfunc.[Ch]:
9667         * lyxrc.C: subsequent changes
9668
9669
9670 2002-08-07  John Levon  <levon@movementarian.org>
9671
9672         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9673           document options change.
9674
9675 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9676
9677         * counters.[Ch]
9678         * text2.C
9679         * paragraph.[Ch]
9680         * makefile.am: move counters functionality over from
9681         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9682
9683 2002-08-06  John Levon  <levon@movementarian.org>
9684
9685         * WordLangTuple.h: new file for word + language code tuple
9686
9687         * SpellBase.h:
9688         * pspell.h:
9689         * pspell.C:
9690         * ispell.h:
9691         * ispell.C:
9692         * lyxtext.h:
9693         * text.C:
9694         * text2.C:
9695         * BufferView.h:
9696         * BufferView2.C: use WordLangTuple
9697
9698         * layout.h:
9699         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9700
9701 2002-08-06  John Levon  <levon@movementarian.org>
9702
9703         * lyx_main.C: fix cmdline batch handling
9704
9705 2002-08-06  André Pönitz <poenitz@gmx.net>
9706
9707         * lyxrc.C: set default for show_banner to true
9708
9709 2002-08-06  John Levon  <levon@movementarian.org>
9710
9711         * pspell.C: fix a crash, and allow new aspell to work
9712
9713 2002-08-06  John Levon  <levon@movementarian.org>
9714
9715         * lyxfunc.C:
9716         * kbmap.C: small cleanup
9717
9718         * vspace.h:
9719         * vspace.C: add const
9720
9721 2002-08-05  John Levon  <levon@movementarian.org>
9722
9723         * LyXAction.C: back to tabular-insert
9724
9725 2002-08-04  John Levon  <levon@movementarian.org>
9726
9727         * BufferView.h:
9728         * BufferView.C: cosmetic change
9729
9730         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9731
9732         * bufferlist.C:
9733         * buffer.h:
9734         * buffer.C:
9735         * lyxcb.h:
9736         * lyxcb.C:
9737         * lyxserver.C:
9738         * lyxvc.C:
9739         * vc-backend.C:
9740         * BufferView2.C: purge all "Lyx" not "LyX" strings
9741
9742         * lyxcursor.h:
9743         * lyxcursor.C: attempt to add some documentation
9744
9745         * lyxfunc.C:
9746         * commandtags.h:
9747         * LyXAction.C:
9748         * ToolbarDefaults.C:
9749         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9750           merge with LFUN_TABULAR_INSERT
9751
9752         * Makefile.am:
9753         * SpellBase.h:
9754         * ispell.h:
9755         * ispell.C:
9756         * pspell.h:
9757         * pspell.C: split up i/pspell implementations into separate
9758           files, many cleanups
9759
9760         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9761
9762         * text2.C: some cleanup
9763
9764         * lyxfunc.C: don't check for isp_command == "none" any more, it
9765           didn't make any sense
9766
9767 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9768
9769         * counters.[Ch]
9770         * text2.C
9771         * paragraph.[Ch]
9772         * makefile.am: move counters functionality over
9773         from text2.C/paragraph.[Ch] to counters.[Ch], and
9774         make proper C++.
9775 2002-08-02  John Levon  <levon@movementarian.org>
9776
9777         * buffer.C: s/lyxconvert/lyx2lyx/
9778
9779 2002-08-02  Angus Leeming  <leeming@lyx.org>
9780
9781         * lyxlex.C: revert John's change as it breaks reading of the user
9782         preamble.
9783
9784 2002-08-02  Angus Leeming  <leeming@lyx.org>
9785
9786         * importer.C (Import):
9787         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9788         changes due to LyXView::view() now returning a boost::shared_ptr.
9789
9790 2002-08-02  John Levon  <levon@movementarian.org>
9791
9792         * lyxlex.C: small cleanup
9793
9794 2002-08-02  John Levon  <levon@movementarian.org>
9795
9796         * text2.C (status): small cleanup, no logic change
9797
9798 2002-08-01  John Levon  <levon@movementarian.org>
9799
9800         * buffer.h:
9801         * buffer.C (writeFile): don't output alerts, caller
9802           handles this
9803
9804         * bufferlist.C:
9805         * lyx_cb.C: from above
9806
9807         * lyxfunc.C: allow to open non-existent files
9808
9809 2002-07-31  John Levon  <levon@movementarian.org>
9810
9811         * lyxserver.C: don't let incidental errors get
9812           in the way (errno)
9813
9814 2002-07-30  John Levon  <levon@movementarian.org>
9815
9816         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9817
9818 2002-07-30  John Levon  <levon@movementarian.org>
9819
9820         * lyxserver.h:
9821         * lyxserver.C: remove I/O callback too
9822
9823 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9824
9825         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9826         log.
9827
9828 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9829
9830         * many files: strip,frontStrip -> trim,ltrim,rtrim
9831
9832 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9833
9834         * PrinterParams.h: remove extern containsOnly, and include
9835         support/lstrings.h instead.
9836
9837         * LaTeX.C (scanAuxFile): modify because of strip changes
9838         (deplog): ditto
9839         * buffer.C (makeLaTeXFile): ditto
9840         * bufferparams.C (writeFile): ditt
9841         * lyxfont.C (stateText): ditto
9842         * lyxserver.C (read_ready): ditto
9843         * vc-backend.C (scanMaster): ditto
9844
9845         * BufferView_pimpl.h: ws changes
9846
9847         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9848
9849 2002-07-26  André Pönitz <poenitz@gmx.net>
9850
9851         * kb_sequence.C: remove unnedred usings
9852
9853 2002-07-26  Juergen Vigna  <jug@sad.it>
9854
9855         * lyxfind.C (LyXReplace): we have to check better if the returned
9856         text is not of theLockingInset()->getLockingInset().
9857
9858 2002-07-25  Juergen Vigna  <jug@sad.it>
9859
9860         * lyxfind.C (LyXReplace): don't replace if we don't get the
9861         right LyXText.
9862
9863         * undo_funcs.C (createUndo): remove debugging code.
9864
9865 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9866
9867         * buffer.C (parseSingleLyXformat2Token): Use default placement
9868         when reading old floats.
9869
9870         * FloatList.C (FloatList): Change the default placement of figure
9871         and tables to "tbp".
9872
9873 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * MenuBackend.C: using std::max
9876
9877 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9878
9879         * MenuBackend.C (expandToc):
9880         (expandToc2): code moved from xforms menu frontend. It is now
9881         generic and TOCs are transparent to menu frontends.
9882
9883 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9884
9885         * toc.C (getTocList): protect against buf=0
9886
9887         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9888         Menu as first parameter. Now, this calls itself recursively to
9889         expand a whole tree (this will be useful for TOC handling)
9890         (expandFloatInsert): remove 'wide' version of floats
9891
9892         * MenuBackend.h (submenuname): returns the name of the submenu.
9893         (submenu): returns the submenu itself, provided it has been
9894         created by MenuBackend::expand
9895
9896 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9897
9898         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9899         insets which have noFontChange == true. (bug #172)
9900
9901 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9902
9903         * BufferView_pimpl.C: add connection objects and use them...
9904         (Pimpl): here.
9905
9906 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9907
9908         * MenuBackend.C (expandLastfiles):
9909         (expandDocuments):
9910         (expandFormats):
9911         (expandFloatListInsert):
9912         (expandFloatInsert):
9913         (expand): split expand in parts
9914
9915 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9916
9917         * lyx_gui.C: use lyx_gui::exit()
9918
9919 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9920
9921         * LyXAction.C: show the failing pseudo action
9922
9923 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9924
9925         * buffer.C (readFile): Run the lyxconvert script in order to read
9926         old files.
9927
9928 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9929
9930         * LyXAction.C:
9931         * commandtags.h:
9932         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9933
9934 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * LyXAction.C:
9937         * commandtags.h:
9938         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9939
9940 2002-07-22  Herbert Voss  <voss@lyx.org>
9941
9942         * lengthcommon.C:
9943         * lyxlength.[Ch]: add support for the vertical lengths
9944
9945 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9946
9947         * toc.[Ch]: std:: fixes
9948
9949 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9950
9951         * lyxrc.C: do not include lyx_main.h
9952
9953         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9954         for layouts
9955
9956         * lyxrc.C:
9957         * encoding.C:
9958         * bufferlist.C:
9959         * BufferView2.C: include "lyxlex.h"
9960
9961         * tabular.h:
9962         * bufferparams.h: do not #include "lyxlex.h"
9963
9964         * lyxtextclasslist.C (Add): remove method
9965         (classlist): renamed to classlist_
9966
9967         * paragraph_pimpl.C:
9968         * paragraph.C:
9969         * text2.C:
9970         * CutAndPaste.C:
9971         * bufferview_funcs.C:
9972         * bufferlist.C:
9973         * text.C:
9974         * LaTeXFeatures.C:
9975         * buffer.C:
9976         * toc.C (getTocList): use BufferParams::getLyXTextClass
9977
9978         * toc.C (getTocList): use InsetFloat::addToToc
9979
9980         * toc.[Ch]: new files, containing helper functions to handle table
9981         of contents
9982
9983         * lyxfunc.C (dispatch): no need to remove spaces around command
9984         given as a string
9985         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9986         first command of the sequence; it is not very clever, but I do not
9987         have a better idea, actually
9988
9989         * LyXAction.C (LookupFunc): make sure to remove space at the
9990         beginning and end of the command
9991
9992 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9993
9994         * MenuBackend.C (getMenubar): new method: return the menubar of
9995         this menu set
9996         (read): treat differently reading of menu and menubar (in
9997         particular, the menubar has no name now)
9998         (Menu::menubar): remove
9999
10000         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10001         saving is finished
10002
10003 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10006         a bibitem inset in a RTL paragraph.
10007
10008 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * paragraph_pimpl.C: constify
10011
10012         * BufferView_pimpl.C:
10013         * LaTeX.C:
10014         * lyxfunc.C: fix dispatch in a nicer way
10015
10016 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10017
10018         * lyxfunc.C (dispatch):
10019         * BufferView_pimpl.C:
10020         * BufferView_pimpl.h:
10021         * BufferView.C:
10022         * BufferView.h: rename Dispatch() to dispatch()
10023
10024         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10025
10026         * lyxlayout.C (Read): honor DependsOn tag
10027
10028         * lyxlayout.[Ch] (depends_on): new method
10029
10030         * version.C.in: update lyx_docversion
10031
10032         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10033
10034         * paragraph.C (validate): remove from here...
10035         * paragraph_pimpl.C (validate): ... and move here
10036         (isTextAt): make it const
10037
10038         * buffer.C (getLists): ws cleanup
10039
10040 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10041
10042         * language.C (read): Use iso8859-1 encoding in latex_lang
10043         (this prevents LyX from crashing when using iso10646-1 encoding).
10044
10045 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10046
10047         * text2.C (toggleInset): if cursor is inside an inset, close the
10048         inset and leave cursor _after_ it
10049
10050 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * lyxfunc.C: move minibuffer completion handling out of here
10053
10054 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10055
10056         * BufferView_pimpl.C:
10057         * LaTeX.C: fix dispatch calls
10058
10059 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10060
10061         * text.C (drawChars): Fix Arabic text rendering.
10062
10063 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * LyXAction.C:
10066         * commandtags.h:
10067         * lyxfunc.C: remove message-push/pop
10068
10069         * lyxserver.C:
10070         * lyxfunc.h:
10071         * lyxfunc.C: rationalise some code by removing verboseDispatch
10072           in favour of a bool argument to dispatch()
10073
10074 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10075
10076         * lyx_main.C (init): make sure to read symlinks as absolute paths
10077
10078 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * lyxfunc.h:
10081         * lyxfunc.C: no need for commandshortcut to be a member
10082
10083 2002-07-15  André Pönitz <poenitz@gmx.net>
10084
10085         * converter.C: add support for $$s (scripts from lib/scripts dir)
10086         * lyx_main.C: white space
10087
10088 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * bufferlist.C:
10091         * lyxrc.h:
10092         * lyxrc.C: remove second exit confirmation
10093
10094 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * BufferView.h:
10097         * BufferView.C:
10098         * BufferView2.C:
10099         * BufferView_pimpl.h:
10100         * BufferView_pimpl.C:
10101         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10102
10103 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10104
10105         * MenuBackend.C (expand): add numeric shortcuts to document menu
10106
10107         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10108
10109 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10110
10111         * lyxfont.C (setLyXFamily):
10112         (setLyXSeries):
10113         (setLyXShape):
10114         (setLyXSize):
10115         (setLyXMisc):
10116         (lyxRead):
10117         * debug.C (value):
10118         * buffer.C (asciiParagraph): use ascii_lowercase
10119
10120 2002-07-15  Mike Fabian  <mfabian@suse.de>
10121
10122         * lyxlex_pimpl.C (search_kw):
10123         * lyxlex.C (getLongString):
10124         * converter.h (operator<):
10125         * converter.C (operator<):
10126         * buffer.C (parseSingleLyXformat2Token):
10127         (asciiParagraph):
10128         * ToolbarDefaults.C (read):
10129         * MenuBackend.C (checkShortcuts):
10130         (read):
10131         * LColor.C (getFromGUIName):
10132         (getFromLyXName): use the compare_ascii_no_case instead of
10133         compare_no_case, because in turkish, 'i' is not the lowercase
10134         version of 'I', and thus turkish locale breaks parsing of tags.
10135
10136 2002-07-16  Angus Leeming  <leeming@lyx.org>
10137
10138         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10139         now takes a Buffer const & argument.
10140
10141 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10142
10143         * BufferView.C (resize): check there's a buffer to resize
10144
10145 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * lyxfunc.C: remove dead code
10148
10149         * lyxserver.h:
10150         * lyxserver.C: use lyx_guii::set_read_callback
10151
10152 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10153
10154         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10155         an inset in a RTL paragraph.
10156
10157 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10158
10159         * lyxfunc.C: repaint after a font size update
10160
10161 2002-07-15  André Pönitz <poenitz@gmx.net>
10162
10163         * lyxlength.C: inBP should be able to return negative values
10164
10165 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * lyxfunc.C: use lyx_gui::update_fonts()
10168
10169 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * lyxfunc.C: use lyx_gui::update_color()
10172
10173 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10174
10175         * bufferlist.C:
10176         * lyxfunc.h:
10177         * lyxfunc.C:
10178         * lyxrc.h:
10179         * lyxrc.C: remove file->new asks for name option, and let
10180           buffer-new take an argument
10181
10182 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10183
10184         * BufferView_pimpl.C: remove unneeded extra repaint()
10185
10186 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10187
10188         * LyXAction.C: allow command-sequence with NoBuffer
10189
10190         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10191
10192 2002-07-10  Angus Leeming  <leeming@lyx.org>
10193
10194         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10195
10196 2002-07-09  Angus Leeming  <leeming@lyx.org>
10197
10198         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10199
10200 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10201
10202         * lengthcommon.h: whitespace
10203
10204         * lyxfunc.C: update scrollbar after goto paragraph
10205
10206         * lyxtext.h: factor out page break drawing, and fix it so
10207           page break/added space paints as selected nicely
10208
10209 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10210
10211         * BufferView_pimpl.C: add FIXMEs, clean up a little
10212
10213 2002-07-09  André Pönitz <poenitz@gmx.net>
10214
10215         * lyxfont.[Ch]: support for wasy symbols
10216
10217 2002-07-08  André Pönitz <poenitz@gmx.net>
10218
10219         * BufferView_pimpl.C: apply John's patch for #93.
10220
10221 2002-07-05  Angus Leeming  <leeming@lyx.org>
10222
10223         * BufferView_pimpl.C (buffer): generate previews if desired.
10224
10225         * LColor.h: add "preview" to the color enum.
10226
10227         * LColor.C (LColor): add a corresponding entry to the items array.
10228
10229         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10230         with this buffer.
10231
10232 2002-07-05  Angus Leeming  <leeming@lyx.org>
10233
10234         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10235         The body of the code is now in the method that is passed an ostream &
10236         rather than a file name.
10237         Pass an additional only_preamble parameter, useful for the forthcoming
10238         preview stuff.
10239
10240 2002-07-03  André Pönitz <poenitz@gmx.net>
10241
10242         * lyxfunc.C: simplify getStatus() a bit for math stuff
10243
10244 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10245
10246         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10247
10248 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10249
10250         * text.C (changeRegionCase): do not change case of all the
10251         document when region ends at paragraph end (bug #461)
10252
10253 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10254
10255         * paragraph.C (startTeXParParams):
10256         (endTeXParParams): add \protect when necessary
10257
10258 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10259
10260         * BufferView_pimpl.C (workAreaExpose): remove warning
10261
10262 2002-06-27  Angus Leeming  <leeming@lyx.org>
10263
10264         * Makefile.am: add lyxlayout_ptr_fwd.h.
10265
10266 2002-06-26  André Pönitz <poenitz@gmx.net>
10267
10268         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10269
10270 2002-06-25  Angus Leeming  <leeming@lyx.org>
10271
10272         * lyxfunc.C (dispatch): Comment out the call to
10273         grfx::GCache::changeDisplay. The method no longer exists now that the
10274         pixmap generation part of the graphics loader has been moved into
10275         InsetGraphics.
10276
10277 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10278
10279         * text2.C: layout as layout
10280
10281         * text.C: layout as layout
10282
10283         * tabular.C (OldFormatRead): layout as layout
10284
10285         * paragraph_pimpl.C (TeXDeeper): layout as layout
10286         (realizeFont): layout as layout
10287
10288         * paragraph.C (writeFile): layout as layout
10289         (validate): layout as layout
10290         (getFont): layout as layout
10291         (getLabelFont): layout as layout
10292         (getLayoutFont): layout as layout
10293         (breakParagraph): layout as layout
10294         (stripLeadingSpaces): layout as layout
10295         (getEndLabel): layout as layout
10296         (getMaxDepthAfter): layout as layout
10297         (applyLayout): layout as layout
10298         (TeXOnePar): layout as layout
10299         (simpleTeXOnePar): layout as layout
10300         (TeXEnvironment): layout as layout
10301         (layout): layout as layout
10302         (layout): layout as layout
10303
10304         * lyxtextclass.C (compare_name): new functor to work with
10305         shared_ptr, layout as layout
10306         (Read): layout as layout
10307         (hasLayout): layout as layout
10308         (operator): layout as layout
10309         (delete_layout): layout as layout
10310         (defaultLayout): layout as layout
10311
10312         * lyxlayout_ptr_fwd.h: new file
10313
10314         * lyxlayout.C (Read): layout as layout
10315
10316         * lyx_cb.C (MenuInsertLabel): layout as layout
10317
10318         * bufferlist.C (newFile): layout as layout
10319
10320         * buffer.C (readLyXformat2): layout as layout
10321         (parseSingleLyXformat2Token): layout as layout
10322         (insertStringAsLines): layout as layout
10323         (asciiParagraph): layout as layout
10324         (latexParagraphs): layout as layout
10325         (makeLinuxDocFile): layout as layout
10326         (simpleLinuxDocOnePar): layout as layout
10327         (makeDocBookFile): layout as layout
10328         (simpleDocBookOnePar): layout as layout
10329         (getLists): layout as layout
10330
10331         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10332
10333         * CutAndPaste.C (cutSelection): layout as layout
10334         (pasteSelection): layout as layout
10335         (SwitchLayoutsBetweenClasses): layout as layout
10336
10337         * BufferView_pimpl.C (Dispatch): layout as layout
10338         (smartQuote): layout as layout
10339
10340         * BufferView2.C (unlockInset): layout as layout
10341
10342 2002-06-24  André Pönitz <poenitz@gmx.net>
10343
10344         * lyxfunc.C: fix #487
10345
10346 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * lyxrc.h:
10349         * lyxrc.C:
10350         * lyxfunc.C: remove display_shortcuts, show_banner
10351
10352 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10353
10354         * Buffer_pimpl.C: oops, update on resize
10355
10356 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10357
10358         * buffer.C:
10359         * converter.C:
10360         * exporter.C:
10361         * lyxfunc.C:
10362         * BufferView.h:
10363         * BufferView.C: use repaint()
10364
10365         * BufferView_pimpl.h:
10366         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10367           as it's a clearer description. Remove superfluous
10368           redraws.
10369
10370 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10371
10372         * text.C: fix bug 488. Not ideal, but getting
10373           getWord() to work properly for the insets that
10374           matter is more difficult ...
10375
10376 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10377
10378         * BufferView_pimpl.C:
10379         * LyXAction.C:
10380         * commandtags.h:
10381         * lyxfunc.C: remove the six million index lyxfuncs to just
10382           one, and DTRT (bug 458)
10383
10384 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10385
10386         * BufferView.h:
10387         * BufferView.C:
10388         * BufferView_pimpl.h:
10389         * BufferView_pimpl.C: clean up resize() stuff,
10390           and unnecessary updateScreen()s
10391
10392 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * BufferView.h:
10395         * BufferView.C:
10396         * BufferView_pimpl.h:
10397         * BufferView_pimpl.C:
10398         * lyxfind.h:
10399         * lyxfind.C:
10400         * minibuffer.C: remove focus management of workarea,
10401           not needed. Use screen's greyOut()
10402
10403 2002-06-17  Herbert Voss  <voss@lyx.org>
10404
10405         * converter.C: (convert) do not post a message, when converting
10406         fails, let the calling function decide what to do in this case
10407
10408 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * lyxfunc.C: tidy up a little
10411
10412 2002-06-16    <alstrup@diku.dk>
10413
10414         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10415         Got rid of FORMS_H_LOCATION include. Now we are
10416         GUII.
10417
10418 2002-06-15  LyX Development team  <lyx@rilke>
10419
10420         * buffer.[Ch] (sgmlOpenTag):
10421         (sgmlCloseTag): Added support for avoiding pernicious mixed
10422         content. Return number of lines written.
10423
10424         (makeLinuxDocFile):
10425         (makeDocBookFile): Fixed calls to sgml*Tag.
10426         Simple white space clean.
10427
10428         (simpleDocBookOnePar): Simple white space clean.
10429
10430         * tabular.[Ch] (docBook): Renamed to docbook and got another
10431         argument to related with the pernicious mixed content.
10432
10433         (docbookRow): Fixed calls for docbook inset method.
10434
10435 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10436
10437         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10438         so it's X11 independent.
10439
10440         * kb*.[Ch]: ditto.
10441
10442         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10443
10444 2002-06-15  Lyx Development team  <lyx@electronia>
10445
10446         * intl.h: Renamed getTrans to getTransManager.
10447
10448 2002-06-14  Angus Leeming  <leeming@lyx.org>
10449
10450         * Makefile.am: nuke forgotten stl_string_fwd.h.
10451
10452 2002-06-12  Angus Leeming  <leeming@lyx.org>
10453
10454         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10455
10456 2002-06-13  Angus Leeming  <leeming@lyx.org>
10457
10458         * LaTeX.C:
10459         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10460
10461 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10462
10463         * kbmap.C (getiso): add support for cyrillic and greek
10464
10465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView.h:
10468         * BufferView.C:
10469         * BufferView_pimpl.h:
10470         * BufferView_pimpl.C: move bogus scrolling logic
10471           to xforms
10472
10473 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10474
10475         * lyxfunc.C:
10476         * BufferView_pimpl.C: view->resize() change
10477
10478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * BufferView_pimpl.C: topCursorVisible
10481           prototype change
10482
10483 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10484
10485         * Makefile.am:
10486         * lyx_gui.h:
10487         * lyx_gui.C: move to frontends/
10488
10489         * main.C:
10490         * lyx_main.h:
10491         * lyx_main.C: changes from above
10492
10493 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10494
10495         * intl.C:
10496         * intl.h:
10497         * kbmap.C:
10498         * kbsequence.C:
10499         * lyx_cb.C:
10500         * lyx_main.C: minor tidy
10501
10502 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10503
10504         * BufferView_pimpl.h:
10505         * BufferView_pimpl.C:
10506         * BufferView.h:
10507         * BufferView.C: make painter() const,
10508           remove dead code
10509
10510         * BufferView2.C: use screen() accessor
10511
10512         * lyx_main.h:
10513         * lyx_main.C: some minor cleanup
10514
10515 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10516
10517         * BufferView_pimpl.h:
10518         * BufferView_pimpl.C: remove enter/leaveView,
10519           use workHeight()
10520
10521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * BufferView.h:
10524         * BufferView.C:
10525         * BufferView2.C:
10526         * BufferView_pimpl.h:
10527         * BufferView_pimpl.C: only construct screen once,
10528           rename
10529
10530         * lyxrc.C: remove pointless comment
10531
10532 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10533
10534         * BufferView.h:
10535         * BufferView.C: remove active() and belowMouse()
10536
10537         * BufferView_pimpl.h:
10538         * BufferView_pimpl.C: use workarea() not workarea_,
10539           and make it use a scoped_ptr instead
10540
10541 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * lyx_gui.C: add debug message on BadWindow
10544
10545 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10546
10547         * sp_spell.C: fdopen is not part of the C++ standard.
10548
10549         * paragraph.C (InsetIterator): use >= instead of ==
10550
10551 2002-06-07  Angus Leeming  <leeming@lyx.org>
10552
10553         Fixes needed to compile with Compaq cxx 6.5.
10554         * BufferView_pimpl.C:
10555         * DepTable.C:
10556         * buffer.C:
10557         * converter.C:
10558         * encoding.C:
10559         * lyx_gui.C:
10560         * lyx_main.C:
10561         * lyxtextclasslist.C:
10562         * minibuffer.C:
10563         * sp_spell.C:
10564         * tabular_funcs.C:
10565         * vc-backend.C:
10566         all c-library variables have been moved into namespace std. Wrap
10567         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10568
10569         * lyxlength.C:
10570         * tabular-old.C:
10571         * tabular.C:
10572         Add a using std::abs declaration.
10573
10574         * kbmap.h (modifier_pair):
10575         * paragraph.h (InsetTable, InsetList):
10576         * lyxfont.h (FontBits):
10577         type definition made public.
10578
10579         * bufferlist.C (emergencyWriteAll): the compiler complains that
10580         there is more than one possible lyx::class_fun template to choose from.
10581         I re-named the void specialisation as lyx::void_class_fun.
10582
10583         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10584
10585         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10586         the compiler is is unable to find tostr in write_attribute.
10587
10588 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10589
10590         * buffer.C (sgmlError): hide #warning
10591
10592 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10593
10594         * xtl/*: get rid of xtl, which is not in use anyway
10595
10596         * LyXAction.C (init):
10597         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10598         were unimplemented xtl experimentation
10599
10600 2002-06-04  André Pönitz <poenitz@gmx.net>
10601
10602         * lyxfunc.C: disable array operation on simple formulae
10603
10604 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * converter.C: constify a bit
10607
10608 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10609
10610         * lyx_gui.C: check xforms version correctly
10611
10612 2002-04-30  Herbert Voss  <voss@lyx.org>
10613
10614         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10615         "keep" option
10616
10617 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10618
10619         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10620           attempt to register it with a VCS)
10621
10622 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10623
10624         * lyx_main.C (init): honor variables LYX_DIR_13x and
10625         LYX_USERDIR_13x
10626
10627 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * buffer.h:
10630         * buffer.C:
10631         * lyx_main.C: fix a crash on bad command line,
10632           and give a useful exit status on error
10633
10634         * lyxfunc.C (doImport): allow -i lyx to work
10635
10636 2002-03-30  André Pönitz <poenitz@gmx.net>
10637
10638         * lyxfunc.C: mathed font changes
10639
10640 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10641
10642         * LaTeX.C:
10643         * importer.h:
10644         * importer.C:
10645         * lyx_sty.h:
10646         * lyx_sty.C:
10647         * lyxlex.C:
10648         * lyxrow.h:
10649         * lyxtext.h:
10650         * paragraph.h:
10651         * paragraph.C:
10652         * texrow.h:
10653         * texrow.C:
10654         * text.C:
10655         * trans_mgr.h: srcdocs, and some minor cleanups
10656
10657 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10658
10659         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10660         call getFont all the time)
10661
10662 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * switch from SigC signals to boost::signals
10665
10666 2002-05-29  André Pönitz <poenitz@gmx.net>
10667
10668         * paragraph_pimpl.C (getChar): don't call size() too often...
10669
10670 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10671
10672         * paragraph_pimpl.C (insertChar): do not try to update tables when
10673         appending (pos == size())
10674
10675         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10676         in order to reduce drastically the number of comparisons needed to
10677         parse a large document
10678
10679 2002-05-29  André Pönitz <poenitz@gmx.net>
10680
10681         * text.C:
10682         * text2.C:
10683         * lyxtextclass.C:
10684         * sp_pspell.h:
10685         * textclasslist.[Ch]:
10686         * sp_ispell.h: whitespace change
10687
10688 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10689
10690         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10691         lyxaction directly now.
10692
10693 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * trans.C:
10696         * lyxfont.C:
10697         * lyxvc.C: remove unused headers
10698
10699 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10700
10701         * Makefile.am:
10702         * buffer.h:
10703         * undostack.h:
10704         * undostack.C:
10705         * undo_funcs.h:
10706         * undo_funcs.C: some cleanups. Use shared_ptr
10707           and a template for the undo stacks.
10708
10709 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10710
10711         * BufferView_pimpl.h:
10712         * BufferView_pimpl.C:
10713         * kbmap.h:
10714         * kbmap.C:
10715         * kbsequence.h:
10716         * kbsequence.C:
10717         * lyxfunc.h:
10718         * lyxfunc.C:
10719         * text2.C: use key_state/mouse_state
10720
10721 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10724         and LSubstring
10725
10726         * chset.C: change include order
10727         (loadFile): use boost regex and get rid of LRegex and LSubstring
10728
10729         * Makefile.am (BOOST_LIBS): new variable
10730         (lyx_LDADD): use it
10731
10732         * LaTeX.C: change include order.
10733         (scanAuxFile): use boost regex and get rid of LRegex and
10734         LSubstring
10735         (deplog): ditto
10736
10737 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10738
10739         * ColorHandler.h:
10740         * ColorHandler.C:
10741         * FontInfo.h:
10742         * FontInfo.C: moved to frontends/xforms/
10743
10744         * FontLoader.h:
10745         * FontLoader.C: moved into frontends for GUIIzation
10746
10747         * Makefile.am:
10748         * lyx_gui.C:
10749         * lyxfont.C:
10750         * lyxfunc.C: changes from above
10751
10752 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * LColor.C: remove spurious X include
10755
10756         * BufferView_pimpl.C:
10757         * Makefile.am:
10758         * font.h:
10759         * font.C:
10760         * text.C:
10761         * text2.C: move font metrics to frontends/
10762
10763 2002-05-24  Juergen Vigna  <jug@sad.it>
10764
10765         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10766         setting the undo_cursor.
10767
10768         * ParagraphParameters.h: include local includes first.
10769
10770 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10771
10772         * BufferView_pimpl.C:
10773         * BufferView_pimpl.h:
10774         * Makefile.am:
10775         * WorkArea.h:
10776         * WorkArea.C:
10777         * screen.C: move WorkArea into frontends/
10778
10779         * lyxscreen.h:
10780         * screen.C:
10781         * text.C:
10782         * BufferView.C:
10783         * BufferView2.C: move LyXScreen into frontends/
10784
10785         * lyxlookup.h:
10786         * lyxlookup.C:
10787         * lyx_gui.C: move lyxlookup into frontends/xforms/
10788
10789 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10790
10791         * BufferView2.C:
10792         * BufferView_pimpl.C:
10793         * FontLoader.C:
10794         * LyXView.h:
10795         * LyXView.C:
10796         * Makefile.am:
10797         * WorkArea.C:
10798         * XFormsView.h:
10799         * XFormsView.C:
10800         * buffer.C:
10801         * bufferlist.C:
10802         * bufferview_funcs.C:
10803         * converter.C:
10804         * importer.C:
10805         * lyx_cb.C:
10806         * lyx_gui.C:
10807         * lyx_main.C:
10808         * lyx_find.C:
10809         * lyxfunc.C:
10810         * lyxvc.C:
10811         * minibuffer.C:
10812         * text.C:
10813         * text2.C:
10814         * trans.C:
10815         * vc-backend.C: move LyX/XFormsView into frontends/
10816
10817 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10818
10819         * Makefile.am:
10820         * PainterBase.C:
10821         * PainterBase.h:
10822         * Painter.C:
10823         * Painter.h:
10824         * WorkArea.C:
10825         * WorkArea.h:
10826         * screen.C:
10827         * tabular.C:
10828         * text.C:
10829         * text2.C: move Painter to frontends/
10830
10831 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10832
10833         * buffer.C: comment out some some code that depend upon lyx_format
10834         < 220
10835
10836         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10837         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10838
10839         * buffer.h (NO_COMPABILITY): turn off compability
10840
10841         * ColorHandler.C: include scoped_array.hpp
10842
10843         * font.C: Use more specific smart_ptr header.
10844         * Painter.C: ditto
10845         * gettext.C: ditto
10846         * ShareContainer.h: ditto
10847         * lyx_main.h: ditto
10848         * kbmap.h: ditto
10849         * FontInfo.h: ditto
10850         * BufferView_pimpl.h: ditto
10851         * ColorHandler.h: ditto
10852
10853         * kbmap.C (defkey): change call to shared_ptr::reset
10854
10855 2002-05-21  Juergen Vigna  <jug@sad.it>
10856
10857         * buffer.C (insertErtContents): fix to insert ert asis if it is
10858         non empty. Skip it completely if it contains only whitespaces.
10859
10860 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * BufferView_pimpl.C:
10863         * BufferView2.C: clear selection on paste (bug 393)
10864
10865 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10866
10867         * DepTable.C: include ctime
10868
10869 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10870
10871         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10872
10873 2002-05-14  Juergen Vigna  <jug@sad.it>
10874
10875         * text.C (breakParagraph): fixed function to honor the keepempty
10876         layout in the right maner and also to permit the right breaking
10877         algorithm on empty or non empyt keepempty paragraphs.
10878
10879         * paragraph.C (breakParagraph): we have to check also if the par
10880         is really empty (!size()) for isempty otherwise we do the wrong
10881         paragraph break.
10882
10883 2002-05-10  Juergen Vigna  <jug@sad.it>
10884
10885         * buffer.[Ch] : The following are only changes to the ert
10886         compatibility read reading old LaTeX layout and font stuff and
10887         convert it to ERTInsets.
10888
10889         * buffer.h: added isErtInset().
10890
10891         * buffer.C (struct ErtComp): add a fromlayout bool to check
10892         if we're inside a LaTeX layout.
10893         (isErtInset): new helper function.
10894         (insertErtContents): look for other ert insets before this one
10895         and insert the contents there, so that we don't have subsequent
10896         ERT insets with nothing between them. This way we create only one
10897         inset with multiple paragraphs. Also check if we don't insert only
10898         spaces ' ' as they are ignored anyway afterwards in the .tex file
10899         so if we have only spaces we will ignore this latex part in the
10900         new file.
10901         (parseSingleLyXformat2Token \\layout): better compatibility when
10902         reading layout-latex stuff.
10903         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10904         language tag.
10905         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10906         stuff after reading the inset only get the information back from
10907         the stack.
10908
10909 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10910
10911         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10912
10913         * LaTeXFeatures.C (getBabelOptions): New method.
10914
10915 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10916
10917         * BufferView_pimpl.C (Dispatch): work around missing argument for
10918         'layout'
10919
10920 2002-05-08  Juergen Vigna  <jug@sad.it>
10921
10922         * text.C (leftMargin): handle paragraph leftindent.
10923
10924         * paragraph.C (writeFile): write the new \\leftindent tag.
10925         (validate): handle leftindent code.
10926         (TeXEnvironment): handle paragraphleftindent code again.
10927
10928         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10929
10930         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10931         for paragrap_extra indent code and new token \\leftindent.
10932         (latexParagraphs): handle the leftindent as environment.
10933
10934         * ParameterStruct.h: added leftindent support.
10935
10936         * ParagraphParameters.C (leftIndent): added support functions for
10937         the paragraph left indent.
10938
10939         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10940         more appropriate.
10941
10942 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10943
10944         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10945         inside insetERT.
10946
10947         * text.C (computeBidiTables): No bidi in insetERT.
10948
10949         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10950         in RTL documents.
10951
10952 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * version.C.in: pre 5
10955
10956 2002-05-02  José Matos  <jamatos@fep.up.pt>
10957         * buffer.C (makeDocBookFile): white space changes, add newline to
10958         command styles.
10959         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10960
10961         * tabular.C (docBook): fix typo.
10962
10963 2002-05-03  Juergen Vigna  <jug@sad.it>
10964
10965         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10966         change in LyXText as we can not be sure it was not freed.
10967         (drawOneRow): remove unused code.
10968
10969         * text.C (drawInset): redo the calculation of the need_break_row as
10970         it could have a row which was already freed.
10971         (draw): look at the return value of drawInset and return false if
10972         it also returned false.
10973         (paintRowText): look at the return value of draw and return false if
10974         it also returned false.
10975
10976         * lyxtext.h: added bool return type to drawInset() and draw() so that
10977         if we have a change in the row so that the rowbreak has to be redone
10978         we abort drawing as it will be called again.
10979
10980 2002-05-02  Juergen Vigna  <jug@sad.it>
10981
10982         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10983         a change in the maintext also if we're inside an inset.
10984         (Dispatch): set the cursor again after a break line and after the
10985         screen has been updated as it could be we're in a different row.
10986
10987         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10988         to set the cursor behind the pargraph with > size().
10989         (setCursor): check also for the same paragraph when checking where
10990         to put the cursor if we have a NFR inset.
10991
10992         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10993         parts of layout read further up as it still was in the wrong
10994         position.
10995
10996 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * screen.C (drawFromTo): change sine fullRebreak always return
10999         true.
11000
11001         * buffer.C (parseSingleLyXformat2Token): reindent some
11002
11003         * BufferView_pimpl.C (update): change since fullRebreak always
11004         return true.
11005         (Dispatch): git rid of the last hardcoded "Standard"s.
11006
11007 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * text2.[Ch] (fullRebreak): make it return void now that we always
11010         returned true.
11011
11012 2002-04-30  Juergen Vigna  <jug@sad.it>
11013
11014         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11015         ert compatibility check for "latex" layout.
11016
11017 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11018
11019         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11020         minipages: use col% instead of p%, and also use the current font.
11021         (makeLaTeXFile): Fix use babel condition.
11022         (parseSingleLyXformat2Token): Correct font when reading old floats.
11023
11024 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11025
11026         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11027         inserting list of floats.
11028
11029 2002-04-25  Herbert Voss  <voss@lyx.org>
11030
11031         * MenuBackend.C (expand): don't add the graphics extensions to the
11032         export menu
11033
11034 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11035
11036         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11037         non-existing layout, do not complain if it was the default layout
11038         of the original class (bug #342)
11039
11040 2002-04-24  Juergen Vigna  <jug@sad.it>
11041
11042         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11043         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11044
11045 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11046
11047         * buffer.C (getBibkeyList): If using \bibliography, return the
11048         option field with the reference itself. Enables us to provide natbib
11049         support when using \bibliography.
11050
11051 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11052
11053         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11054
11055         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11056         natbib is provided by the LaTeX class.
11057
11058 2002-04-23  Juergen Vigna  <jug@sad.it>
11059
11060         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11061         Wakeup functions.
11062
11063         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11064
11065 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11066
11067         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11068
11069         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11070         ensuremath around textordmasculine, textordfeminine and
11071         textdegree.
11072
11073 2002-04-19  Juergen Vigna  <jug@sad.it>
11074
11075         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11076         reinitializing the buffer otherwise row-dimensions may be wrong.
11077         (update): reset also the selection cursors if they do exits otherwise
11078         their x/y positions may be wrong.
11079
11080         * text2.C (cursorDown): don't enter the inset if we came from a row
11081         above and are one row over the inset.
11082
11083         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11084         really leaving an inset.
11085
11086 2002-04-18  Juergen Vigna  <jug@sad.it>
11087
11088         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11089         of the selected paragraph does not have the selected layout also if
11090         the last one had!
11091
11092         * text2.C (setLayout): fixed bug which did not change last selected
11093         paragraph.
11094
11095         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11096         changed the read and substituted \\end_float with \\end_inset!
11097
11098         * BufferView_pimpl.C (cursorPrevious):
11099         (cursorNext): fixed to make it work with rows heigher than the work
11100         area without moving the cursor only the draw of the row.
11101         (workAreaMotionNotify): fix jumping over high rows.
11102
11103 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11106         Ressler.
11107
11108 2002-04-16  Juergen Vigna  <jug@sad.it>
11109
11110         * text2.C (setCursor): set also the irow().
11111         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11112         (cursorUp):
11113         (cursorDown): support for locking an inset if the x_fix value goes
11114         inside it. That way I can transverse insets too with cursor up/down.
11115
11116         * lyxrow.h: added irow helper function same as other (i) functions.
11117
11118         * BufferView_pimpl.C (cursorPrevious):
11119         (cursorNext): fixed for insets!
11120
11121 2002-04-15  Juergen Vigna  <jug@sad.it>
11122
11123         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11124         position otherwise it is wrong in some cases.
11125
11126         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11127         inside the inset before the call.
11128
11129 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11130
11131         * buffer.[Ch] (getBibkeyList): make it const.
11132
11133 2002-04-12  Juergen Vigna  <jug@sad.it>
11134
11135         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11136
11137         * text2.C (getCursorX): new helper function
11138         (setCursor): compute also ix_
11139         (setCursorFromCoordinates): set also ix.
11140
11141         * lyxcursor.h: added ix_ and helper functions.
11142
11143         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11144
11145         * buffer.C (insertStringAsLines): dont break paragraph if the this
11146         paragraph is inside an inset which does not permit it!
11147
11148         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11149         also with no chars on this paragraph.
11150         (paintRowText): only paint stuff if it's inside the workarea!
11151
11152         * paragraph.C (breakParagraph): honor keepempty flag and break the
11153         paragraph always below not above.
11154
11155         * BufferView2.C (unlockInset): update the paragraph layout on inset
11156         unlock as we changed paragraph in such a case.
11157
11158         * lyxfind.C (LyXFind): clear the former selection if not found!
11159
11160         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11161         again called in insertChar().
11162
11163         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11164         an inset which uses the whole row!
11165         (rightMargin): ditto.
11166         (insertChar): force a rebreak if we inserted an inset!
11167
11168 2002-03-28  Herbert Voss  <voss@lyx.org>
11169
11170         * lyxlength.[Ch]: add inBP() to get the right PS-point
11171         units (BigPoint). With inPixels we have rounding errors
11172
11173 2002-04-11  Juergen Vigna  <jug@sad.it>
11174
11175         * text2.C (setCursorFromCoordinates): set iy to the right value.
11176         (setCursor): add check if row->previous exists!
11177
11178         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11179         an old float_type as this was the case in the old code!
11180
11181         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11182
11183         * BufferView2.C (showLockedInsetCursor): use iy
11184         (fitLockedInsetCursor): ditto
11185
11186         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11187         locked insets as there we have the right value now.
11188
11189         * lyxcursor.C: added iy_ variable and iy functions to set to the
11190         baseline of cursor-y of the locked inset.
11191
11192         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11193         (setCursor): fixed for insets which need a full row.
11194
11195         * text.C (rowLastPrintable): don't ignore the last space when before
11196         an inset which needs a full row.
11197         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11198         as last character of a row when before a inset which needs a full row.
11199
11200 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * version.C.in: update date
11203
11204         * text2.C (fullRebreak): try to always return true and see what
11205         happens...
11206
11207 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11208
11209         * MenuBackend.C (expand): use Floating::listName
11210
11211         * FloatList.C (FloatList): add listName argument to the built-in
11212         floats
11213
11214         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11215         text associated with the float.
11216
11217 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11218
11219         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11220
11221 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11222
11223         * ShareContainer.h: add a couple of missing typenames.
11224
11225 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11226
11227         * lyxrc.C (getDescription): use _() correctly rather than N_().
11228
11229 2002-03-28  Herbert Voss  <voss@lyx.org>
11230
11231         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11232         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11233
11234 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11235
11236         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11237         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11238
11239 2002-03-29  Juergen Vigna  <jug@sad.it>
11240
11241         * lyxfunc.C (dispatch): add a missing fitCursor call.
11242
11243         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11244         it was scrolled by a cursor move, so return the bool status.
11245
11246         * BufferView.C (fitCursor): return the bool flag also to the outside
11247         world as this is needed.
11248
11249         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11250
11251         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11252         call the edit() as it is not needed (and wrong) IMO.
11253         (workAreaButtonPress): set the screen_first variable before evt.
11254         unlock the inset as this may change screen_first and then we have
11255         a wrong y position for the click!
11256
11257 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11258
11259         * MenuBackend.C (expand): another translation that I missed
11260
11261 2002-03-28  Juergen Vigna  <jug@sad.it>
11262
11263         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11264
11265         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11266
11267 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11268
11269         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11270
11271         * MenuBackend.C (expand): fix export/view/update when there is no
11272         document open.
11273
11274 2002-03-27  Herbert Voss  <voss@lyx.org>
11275
11276         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11277         and text%
11278
11279 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11280
11281         * bufferview_funcs.C (currentState): only show paragraph number
11282         for is DEVEL_VERSION is set.
11283
11284         * lyxfunc.C (dispatch): put warning in INFO channel
11285
11286         * MenuBackend.C (expand): translate the name of floats
11287
11288         * FloatList.C (FloatList): mark the float names for translation
11289
11290         * converter.C (convert): use LibScriptSearch
11291
11292 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * MenuBackend.C (defaults): fix default menu (we might as well get
11295         rid of it...)
11296
11297 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11298
11299         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11300         directory.
11301
11302 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * lyxvc.C: reorder includes.
11305
11306 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11309           properly
11310
11311 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * CutAndPaste.C: change layouts earlier on paste
11314           to avoid crashing when calling getFont()
11315
11316 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11317
11318         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11319         irritating #error.
11320
11321 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11322
11323         * WorkArea.C: remove 'Pending' debug message.
11324
11325         * most files: ws cleanup
11326
11327         * buffer.[Ch]: ws changes
11328
11329         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11330
11331 2002-03-21  Juergen Vigna  <jug@sad.it>
11332
11333         * tabular.C (SetMultiColumn): collapse also the contents of the
11334         cells and set the last border right. Added a Buffer const * param.
11335
11336 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11339         linking or not.
11340
11341 2002-03-19  Juergen Vigna  <jug@sad.it>
11342
11343         * text2.C (clearSelection): reset also xsel_cache.
11344
11345         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11346         where it needs to be called (John tells us to do so too :)
11347         (selectionLost): reset sel_cache.
11348
11349         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11350
11351 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * text2.C (setCursorIntern): put debuging code in INSETS channel
11354
11355 2002-03-19  André Pönitz <poenitz@gmx.net>
11356
11357         * lyxfunc.C: tiny whitespace change
11358
11359 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * ToolbarDefaults.C (init):
11362         * LyXAction.C (init):
11363         * commandtags.h:
11364         * BufferView_pimpl.C (Dispatch):
11365         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11366
11367 2002-03-19  Allan Rae  <rae@lyx.org>
11368
11369         * exporter.C (Export): removeAutoInsets before doing anything else.
11370         While I've just introduced a dependency on BufferView this really is
11371         the best place to clean the buffer otherwise you need to cleanup in
11372         a dozen places before calling export or cleanup in a dozen functions
11373         that export calls.
11374
11375         * converter.C (runLaTeX):
11376         (scanLog): Better handling of removeAutoInsets and screen updates.
11377
11378         * lyxfunc.C (dispatch): small whitespace changes
11379
11380 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * WorkArea.C (C_WorkAreaEvent): return a value.
11383         (event_cb): return 1 if we handled the event, 0 otherwise.
11384
11385         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11386
11387 2002-03-18  Juergen Vigna  <jug@sad.it>
11388
11389         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11390         (GetAdditionalWidth): ditto.
11391         (RightLine): ditto.
11392         (LeftLine): ditto.
11393
11394         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11395         inset if we're there actually (probably not used right now but this
11396         is the direction to go for unifying code).
11397         (paste): disable code to clear the selection.
11398
11399         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11400         inside an InsetText and move the check further up as it is in the
11401         wrong place.
11402
11403         * text2.C (pasteSelection): set a selection over the pasted text.
11404
11405 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11406
11407         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11408         and libgraphics to build on Cygwin.
11409
11410 2002-03-15  Juergen Vigna  <jug@sad.it>
11411
11412         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11413         inserting an Inset into the paragraph. I know this is not the best
11414         fix but we already use current_view in CutAndPaste so we will remove
11415         all of it's using at the same time.
11416
11417         * buffer.C (sgmlError): deactivated function till it is rewritten in
11418         the right mode, now it can create problems.
11419
11420         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11421         before accessing it.
11422
11423 2002-03-14  Juergen Vigna  <jug@sad.it>
11424
11425         * undo_funcs.C (textHandleUndo): do the right thing when updating
11426         the inset after the undo/redo.
11427
11428         * text2.C (setCursor): just some testcode for #44 not ready yet.
11429
11430         * undo_funcs.C (textHandleUndo): set the next() and previous()
11431         pointers of the paragraph to 0 before deleting otherwise we have
11432         problems with the Paragraph::[destructor].
11433
11434         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11435         on a paragraph insertion.
11436
11437 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11438
11439         * buffer.C (asciiParagraph): use += operator for char append to
11440         string.
11441
11442         * paragraph.C (getFontSettings): compare >= not just >
11443         (highestFontInRange): ditto
11444         (setFont): ditto
11445
11446 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11447
11448         * paragraph.C: change several algorithm to be more appripriate for
11449         the problem domain. This is lookip in FontList and in the InsetList.
11450
11451 2002-03-13  André Pönitz <poenitz@gmx.net>
11452
11453         * commandtags.h:
11454         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11455
11456 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * commandtags.h:
11459         * LyXAction.C:
11460         * lyxfunc.C:
11461         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11462
11463 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * Painter.C (display): anon helper function, adjust code for this
11466         change.
11467         (pixmap): remove function.
11468
11469         * Painter.h: remove private display variable.
11470
11471         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11472
11473 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11474
11475         * WorkArea.[Ch]: remove figinset_canvas cruft.
11476
11477 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11478
11479         * lyxtextclass.C (operator): add one item cache optimization.
11480
11481         * bufferlist.h: doxy changes
11482
11483         * bufferlist.C: ws changes
11484
11485         * DepTable.[Ch] (ext_exist): place const in the right spot.
11486
11487         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11488         call resizeInsets.
11489         (workAreaExpose): call resizeInsets when the with BufferView changes.
11490         (Dispatch): adjust for protectedBlank removal
11491         (specialChar): call updateInset if the insert went ok.
11492
11493         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11494         specialChar instead.
11495
11496         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11497
11498         * BufferView.h: doxy change
11499
11500         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11501
11502         * lyxtextclass.C (operator[]): remove non-const version
11503         (defaultLayout): remove non-const version
11504
11505 2002-03-12  Juergen Vigna  <jug@sad.it>
11506
11507         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11508         did resize the LyXText too.
11509
11510         * buffer.C (readLyXformat2): set layout information on newly allocated
11511         paragraphs.
11512
11513         * tabular.C (OldFormatRead): set layout information on the paragraph.
11514
11515 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11516
11517         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11518
11519 2002-03-11  Juergen Vigna  <jug@sad.it>
11520
11521         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11522         plainly wrong.
11523         (resizeCurrentBuffer): force also the insets to resize themselfes.
11524         (moveCursorUpdate): fixed up for InsetText.
11525
11526 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11527
11528         * commandtags.h:
11529         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11530         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11531         value of Dialogs::tooltipsEnabled().
11532         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11533
11534 2002-03-08  Juergen Vigna  <jug@sad.it>
11535
11536         * BufferView_pimpl.C (updateInset): update inset inside inset also
11537         if it isn't inside theLockingInset().
11538
11539 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11540
11541         * buffer.C (asciiParagraph): redo some of the word and line length
11542         handling.
11543         (getLists): look for Caption instead of caption.
11544
11545 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11546
11547         * buffer.C (Buffer): initialize niceFile to true
11548         (makeLaTeXFile):
11549         (makeLinuxDocFile):
11550         (makeDocBookFile): make sure niceFile is true on exit
11551
11552 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11555
11556 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11557
11558         * LyXSendto.C: remove.
11559         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11560         * lyx_gui.C: remove now-redundant comment.
11561         * ColorHandler.h: remove forward declaration of class WorkArea.
11562         * lyxfunc.C: remove #include "WorkArea.h".
11563
11564 2002-03-07  Juergen Vigna  <jug@sad.it>
11565
11566         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11567         got moved away with the DEPM and also set the inset_owner always
11568         right which before could have been omitted.
11569
11570 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11571
11572         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11573         wanted layout is not found.
11574
11575 2002-03-07  Juergen Vigna  <jug@sad.it>
11576
11577         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11578
11579 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * paragraph.C (breakParagraph): use default layout not layout of
11582         prev paragraph.
11583         (Paragraph): clear ParagraphParameters.
11584
11585 2002-03-06  Juergen Vigna  <jug@sad.it>
11586
11587         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11588         otherwise it would not be a valid lenght. Fixed a special case in
11589         the minipage compatibility read where we end the document with a
11590         minipage.
11591
11592         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11593         was set as it could be 0 for InsetTexts first entry.
11594
11595 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11596
11597         * paragraph.C (writeFile): if layout is empty write out
11598         defaultLayoutName().
11599
11600         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11601         file without named layout we set layout to defaultLayoutName().
11602
11603 2002-03-06  Juergen Vigna  <jug@sad.it>
11604
11605         * CutAndPaste.C (copySelection): set layout for new paragraph.
11606
11607         * text.C (prepareToPrint): leave ERT inset left aligned
11608         (leftMargin): don't indent paragraphs inside ERT insets
11609
11610 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11611
11612         * paragraph.C (breakParagraph): dont call clear do the work manually
11613
11614         * paragraph.[Ch] (clear): remove function
11615
11616 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11617
11618         * paragraph.C (Paragraph): dont call clear, the work has already
11619         been done.
11620
11621         * lyxtextclass.C (operator): assert if n is empty
11622
11623         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11624         work manually instead.
11625
11626 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * BufferView_pimpl.C: protect selectionLost against text == 0
11629
11630 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * text.C (breakParagraph): fix a setting layout to '0' problem.
11633
11634 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11635
11636         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11637         final location of file, for the included files, and graphics.
11638
11639 2002-03-05  Juergen Vigna  <jug@sad.it>
11640
11641         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11642
11643 2002-03-04  Juergen Vigna  <jug@sad.it>
11644
11645         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11646
11647         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11648         last column of multicolumn cells.
11649         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11650
11651 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11652
11653         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11654         file if it doesn't go to a temporary file.
11655
11656         * buffer.C (sgmlOpenTag):
11657         (sgmlCloseTag):  remove extra newline insertion.
11658
11659 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11660
11661         * text.C (getRowNearY): comment out debug msg
11662
11663 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * text2.C: first -> first_y
11666
11667         * text.C (getRowNearY): add some attemts at a possible
11668         optimization, not working.
11669
11670         * tabular.[Ch]: add BufferParams to several function so that newly
11671         created paragraph can be initialized to he default layotu for the
11672         buffers textclass.
11673
11674         * tabular-old.C (ReadOld): add buf->params to call of Init
11675
11676         * screen.C: rename text->first to text->first_y
11677
11678         * paragraph.C (breakParagraph): always set layout in the broken
11679         paragraph
11680
11681         * lyxtextclass.C (Read): remove lowercase
11682         (hasLayout): ditto
11683         (operator): ditto
11684         (delete_layout): ditto
11685
11686         * lyxtext.h: rename first -> first_y
11687
11688         * lyxlayout.C (Read): remove lowercase
11689         (name): ditto
11690         (setName): ditto
11691         (obsoleted_by): ditto
11692
11693         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11694
11695         * buffer.C (insertErtContents): add params are to InsetERT
11696         (parseSingleLyXformat2Token): add code to check if a paragraphs
11697         layout really exist.
11698         (parseSingleLyXformat2Token): add params to several inset
11699         constructors
11700         (asciiParagraph): remove lowercase, do the layout comparisons with
11701         no_case
11702
11703         * BufferView_pimpl.C (cursorNext): first -> first_y
11704         (resizeCurrentBuffer): first -> first_y
11705         (updateScrollbar): first -> first_y
11706         (scrollCB): first -> first_y
11707         (workAreaMotionNotify): first -> first_y
11708         (workAreaButtonPress): first -> first_y
11709         (checkInsetHit): first -> first_y
11710         (cursorPrevious): first -> first_y
11711         (cursorNext): first -> first_y
11712         (Dispatch): add buffer_->params to severl inset contructors
11713
11714 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * lyxlayout.C (Read): remove some debug info that I forgot.
11717
11718         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11719         clean up the code slightly.
11720         (makeLinuxDocFile): ditto
11721         (makeDocBookFile): ditto
11722
11723         * text2.C: layout as string
11724
11725         * text.C: layout as string
11726
11727         * paragraph_pimpl.C: layout as string
11728
11729         * paragraph.[Ch]: layout as string
11730
11731         * lyxtextclasslist.[Ch]: layout as string
11732
11733         * lyxtextclass.[Ch]: layout as string
11734
11735         * lyxtext.h: layout as string
11736
11737         * lyxlayout.[Ch]: layout as string
11738
11739         * lyx_cb.C: layout as string
11740
11741         * bufferview_funcs.C: layout as string
11742
11743         * bufferparams.C: layout as string
11744
11745         * buffer.C: layout as string
11746
11747         * LyXView.[Ch]: layout as string
11748
11749         * LaTeXFeatures.[Ch]: layout as string
11750
11751         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11752
11753         * BufferView_pimpl.C: change current_layout to string, remove
11754         lyx::layout_type.
11755         (Dispatch):
11756         (smartQuote):
11757         (insertInset):
11758         (workAreaButtonRelease): layout as string
11759
11760         * BufferView2.C (unlockInset): adjust
11761
11762         * vspace.C (asLatexCommand): use an explict temp variable.
11763
11764 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * Makefile.am: use FRONTEND_*
11767
11768 2002-03-01  Juergen Vigna  <jug@sad.it>
11769
11770         * tabular.C (SetWidthOfMulticolCell): changed to something better
11771         I hope but still work in progress.
11772         (recalculateMulticolumnsOfColumn): renamed function from
11773         recalculateMulticolCells as it is more appropriate now.
11774         (SetWidthOfCell): calculate multicols better.
11775
11776 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11779
11780         * lyxfunc.C (processKeySym): print sequence also if it is
11781         `deleted' (complete)
11782
11783         * kbsequence.C (print): print sequence even if it is deleted
11784         (complete would be a better word, actually).
11785
11786         * lyxfunc.C (dispatch): print complete options after a prefix key
11787
11788         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11789
11790 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11791
11792         * text2.C (setCharFont): eliminate setCharFont code duplication.
11793
11794 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11795
11796         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11797         LFUN_TABULAR_FEATURE (bug #177)
11798
11799 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11800
11801         * Makefile.am: remove figure.h
11802
11803 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11804
11805         * Bufferview_pimpl.C:
11806         * CutAndPasteC:
11807         * LaTeX.C:
11808         * LyXSendto.C:
11809         * buffer.C:
11810         * bufferlist.C:
11811         * converter.C:
11812         * language.C:
11813         * lyxfunc.C:
11814         * lyxvc.C:
11815         * paragraph.C:
11816         * text.C:
11817         * text2.C: remove #include "lyx_gui_misc.h".
11818
11819         * LaTeX.C: added #include <cstdio>
11820
11821 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11822
11823         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11824         that the paragraph following this one can have.
11825
11826         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11827
11828         * vspace.C (asLatexCommand): fix bogus gcc warning
11829
11830         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11831
11832 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11833
11834         * text2.C (setLayout): get rid of redundant code
11835
11836 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11837
11838         * text2.C (incDepth): make sure depth cannot be increased beyond
11839         reasonable values.
11840
11841 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11844         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11845
11846         * PainterBase.h (image):
11847         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11848         a LyXImage const *.
11849
11850 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * BufferView.C:
11853         * BufferView.h:
11854         * BufferView_pimpl.C:
11855         * BufferView_pimpl.h:
11856         * LaTeXFeatures.C:
11857         * LyXAction.C:
11858         * LyXView.C:
11859         * Makefile.am:
11860         * UpdateList.h:
11861         * UpdateList.C:
11862         * buffer.C:
11863         * figure.h:
11864         * figureForm.C:
11865         * figureForm.h:
11866         * figure_form.C:
11867         * figure_form.h:
11868         * lyx_cb.C:
11869         * lyx_gui.C:
11870         * lyx_gui_misc.C:
11871         * lyxfunc.C:
11872         * sp_base.h:
11873         * sp_ispell.h:
11874         * sp_pspell.h:
11875         * sp_spell.C: remove fig inset, and the crap house of
11876           cards that follows it
11877
11878 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11879
11880         * Makefile.am:
11881         * lyxserver.C:
11882         * os2_defines.h:
11883         * os2_errortable.h:
11884         * nt_defines.h: move .h into support/
11885
11886         * vms_defines.h: remove
11887
11888         * WorkArea.C: add space in debug output
11889
11890         * text2.C:
11891         * paragraph.C:
11892         * buffer.C: add WITH_WARNINGS
11893
11894         * vc-backend.h:
11895         * vc-backend.C:
11896         * bufferlist.C: s/retrive/retrieve/, add docs
11897
11898         * vspace.h:
11899         * vspace.C:
11900         * kbmap.h:
11901         * lyxlength.h:
11902         * lyxgluelength.h:
11903         * length_common.h:
11904         * chset.h:
11905         * chset.C: add docs
11906
11907         * lyxgui.C: add ID to X error handler
11908
11909         * lyxtestclass.c: fix typo
11910
11911 2002-02-26  Juergen Vigna  <jug@sad.it>
11912
11913         * tabular_funcs.C (write_attribute): changed so that some default
11914         attributes are not written at all.
11915         (getTokenValue): set default values before trying to read the
11916         value so we have the return value always set as default if we don't
11917         find the token we search for.
11918
11919         * tabular.C (Write): write bools as bools not as strings!
11920
11921 2002-02-22  Juergen Vigna  <jug@sad.it>
11922
11923         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11924         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11925
11926         * text.C (leftMargin): don't add an indent for paragraphs inside
11927         tabular cells (fix #208).
11928
11929 2002-02-21  José Matos  <jamatos@fep.up.pt>
11930
11931         * tabular.C (docBook): fixed support for long tables.
11932
11933 2002-02-20  Juergen Vigna  <jug@sad.it>
11934
11935         * text2.C (getFont): get the drawing font of the Inset if this
11936         paragraph is inside an inset (only important for InsetERT for now).
11937
11938         * buffer.C (insertErtContents): use new lanugage params in ERT
11939         constructor.
11940
11941         * CutAndPaste.C: commenting out seemingly uneeded code.
11942
11943 2002-02-19  Allan Rae  <rae@lyx.org>
11944
11945         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11946         Iterators might be simple to use but they also get invalidated.
11947         (removeAutoInsets): renamed saved cursor tracking variables and added
11948         some comments to clarify what everything does.
11949
11950 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * Chktex.C:
11953         * LaTeX.C:
11954         * LyXSendto.C:
11955         * converter.C:
11956         * lyx_cb.C:
11957         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11958         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11959
11960         * lyxfunc.C:
11961         * vc-backend.h: remove #include "support/syscall.h"
11962
11963         * LaTeX.C:
11964         * LyXSendto.C:
11965         * converter.C: rearrange #includes in Lars' approved fashion.
11966
11967         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11968         forward declare class Timeout in the header file.
11969
11970         * XFormsView.C: changes due to the above.
11971
11972         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11973         similar to LyXView.
11974
11975         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11976         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11977
11978 2002-02-18  José Matos  <jamatos@fep.up.pt>
11979
11980         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11981         insets contents.
11982
11983 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11984
11985         * a lot of small ws changes
11986         * add a lot of using std::XXX
11987         * use std construcs some places where approp.
11988         * use some exisint stuff from lyxfunctional where approp.
11989         * Make file changes to use partial linking (lets test this now...)
11990
11991 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11992
11993         * Chktex.C:
11994         * buffer.C:
11995         remove #include "support/syscontr.h" as it's redundant. Always has been.
11996
11997         * Chktex.C:
11998         * LaTeX.C:
11999         * LyXSendto.C:
12000         * converter.C:
12001         * lyx_cb.C:
12002         * vc-backend.C:
12003         change Systemcalls::System to Systemcalls::Wait and
12004         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12005         No change of functionality, just reflects the stripped down Systemcalls
12006         class.
12007
12008 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12009
12010         * debug.[Ch]: add a GRAPHICS type to the enum.
12011
12012 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12013
12014         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12015
12016         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12017         there is an inset.
12018
12019 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12020
12021         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12022         match the changes below.
12023
12024         * text2.C (toggleInset): if there is not editable inset at cursor
12025         position, try to see if cursor is _inside_ a collapsable inset
12026         and close it.
12027
12028 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12029
12030         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12031         document menu has a nice checkbox
12032
12033 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12034
12035         * lyxlength.C (asLatexString): change PW to output as percent of
12036         \textwidth.
12037
12038         * lengthcommon.C: change '%' to 't%'
12039
12040         * lyxfunc.C (dispatch): a few comments from Martin
12041
12042 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12043
12044         * WorkArea.h:
12045         * WorkArea.C:
12046         * BufferView_pimpl.h:
12047         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12048           the X selection.
12049
12050 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * vspace.C (inPixels): fix compiler warning
12053
12054 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12055
12056         * lyxfunc.C (getStatus): fix status message for disabled commands.
12057
12058 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * BufferView_pimpl.C: fix crash on close buffer
12061         during selection (#227)
12062
12063 2002-01-27  Herbert Voss  <voss@lyx.org>
12064
12065         * buffer.C: link old Figure to new graphic inset
12066
12067 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12068
12069         * FontLoader.C (getFontinfo): Change the latex font names in order
12070         to match the names of type1inst.
12071
12072 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12073
12074         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12075
12076         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12077         (extchanged): ditto
12078         (ext_exist): ditto
12079         (remove_files_with_extension): ditto
12080         (remove_file): ditto
12081         (write): ditto
12082
12083         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12084         document is smaller than the work area height. Do not initialize
12085         static variables to 0.
12086
12087 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12088
12089         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12090
12091         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12092         LFUN_LAYOUT_PARAGRAPHS.
12093
12094         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12095         tabular. It is possible to provide a possible cell, which will
12096         typically be the actcell from the corresponding insettabular
12097
12098         * lyxfunc.C (getStatus): small cleanup; disable
12099         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12100         true
12101
12102 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12105
12106         * paragraph.C (startTeXParParams):
12107         (endTeXParParams): new methods. The LaTeX code to
12108         start/end paragraph formatting
12109         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12110         empty (fixes bug #200)
12111
12112         * vspace.C (inPixels): adapt to the change below
12113         (inPixels): [later] more cleanups (remove unused variables)
12114
12115         * lyxlength.C (inPixels): change to use a width and a height as
12116         parameter.
12117
12118 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12119
12120         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12121         Replaced with \paperwidth
12122
12123         * DepTable.C (insert): add std:: qualifier
12124
12125 2002-01-18  Allan Rae  <rae@lyx.org>
12126
12127         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12128         updated also?
12129
12130         * text.C (drawInset): Turned out I didn't know enough about how
12131         rebreaking worked.  This fixes most of the redraw problems.  I see
12132         an occasional cursor trail when a line is broken now and the cursor
12133         placement can seem out by a few pixels also after a rebreak.
12134
12135 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * buffer.C (parseSingleLyXformat2Token): update because minipage
12138         width is now a LyXLength
12139
12140         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12141
12142         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12143         math insets
12144
12145 2002-01-17  Juergen Vigna  <jug@sad.it>
12146
12147         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12148
12149         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12150         is set correctly and the inset is updated correctly.
12151
12152 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12153
12154         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12155         the beginning of the loop.
12156
12157 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * lyxrc.C: improve help for use_scalable_fonts
12160
12161 2002-01-17  Allan Rae  <rae@lyx.org>
12162
12163         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12164
12165 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12166
12167         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12168         make sure to set their inset_owner to the right value (bug #171)
12169
12170 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12171
12172         * DepTable.h
12173         * DepTable.C: Implement mtime checking to reduce time spent doing
12174         CRCs.
12175
12176 2002-01-16  Juergen Vigna  <jug@sad.it>
12177
12178         * tabular.C (GetAdditionalHeight): one of error fixed.
12179
12180         * lyxrc.C (output): small fix in writing use_pspell.
12181
12182 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12183
12184         * sp_base.h: #include LString.h
12185
12186 2002-01-16  Allan Rae  <rae@lyx.org>
12187
12188         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12189         Can someone check this please?
12190
12191         * text.C (drawInset): It was possible that p.row would be removed by
12192         breakAgainOneRow upsetting a few other settings.  There may be another
12193         small tweak possible by setting need_break_row = 0 when p.row has been
12194         removed but I don't know enough about the logic here.
12195
12196 2002-01-15  Allan Rae  <rae@lyx.org>
12197
12198         * text.C (insertChar): removed conditional truism.
12199
12200         * BufferView2.C (removeAutoInsets): More tweaks.
12201         cur_par_prev could be a stray pointer.  Check for trailing empty line
12202         in case last line was cur_par and only had an error inset on it.
12203
12204 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12205
12206         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12207         absolute
12208
12209         * vc-backend.C (most methods):
12210         * exporter.C (Export):
12211         * converter.C (convert):
12212         (runLaTeX):
12213         * LyXSendto.C (SendtoApplyCB):
12214         * lyxfunc.C (dispatch):
12215         (menuNew):
12216         (open):
12217         (doImport):
12218         * lyx_cb.C (AutoSave):
12219         (InsertAsciiFile):
12220         * BufferView_pimpl.C (MenuInsertLyXFile):
12221         * buffer.C (runChktex): use Buffer::filePath().
12222
12223         * buffer.h: rename filename to filename_; rename filepath to
12224         filepath_ and make it private
12225         (filePath): new method
12226
12227         * buffer.C (writeFile): use fileName()
12228         (getLatexName):
12229
12230         * lyx_main.C (init): fix starting  of LyX when the binary is a
12231         link from so,ewhere else.
12232
12233         * minibuffer.C: include <cctype> for isprint
12234
12235 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12236
12237         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12238         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12239         name clash with InsetCollapsable's width function.
12240
12241 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * lastfiles.C: include <iterator>
12244
12245 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12246
12247         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12248         std::count.
12249
12250         * buffer.C (makeLaTeXFile): ditto.
12251         Also make loop operation more transparent.
12252
12253 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12254
12255         * ToolbarDefaults.C: remove trailing comma closing namespace.
12256
12257         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12258
12259         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12260         as in WorkArea.
12261
12262         * trans.C (Load): comment out unused variable, allowed.
12263
12264 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12265
12266         * minibuffer.[Ch] (append_char): new method to recieve input from the
12267         drop-down completion browser. If a key was pressed, then recieve this
12268         char and append it to the existing string.
12269         (peek_event): modify the positioning data passed to the completion
12270         browser so that it can be placed above the minibuffer rather than below.
12271 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * LyXAction.C (init): alloe error-next for readonly documents.
12274
12275         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12276         count.
12277
12278 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12279
12280         * bufferlist.C (readFile): create the buffer _after_ checking that
12281         the file exists.
12282
12283         * lyxfunc.C (verboseDispatch): fix handling of arguments
12284
12285         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12286
12287         * lyxrc.C: use string::erase() instead of initializing to "".
12288
12289
12290 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12291
12292         * BufferView_pimpl.h:
12293         * BufferView_pimpl.C:
12294         * WorkArea.h:
12295         * WorkArea.C:
12296         * text2.C: tell X when we have made a selection for copying
12297
12298 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12299
12300         * BufferView_pimpl.C (MenuInsertLyXFile):
12301         * lyxfunc.C (menuNew):
12302         (open):
12303         (doImport): add shortcuts to directory buttons
12304
12305         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12306         open a float)
12307
12308         * lyxfunc.C (setStatusMessage):
12309         (getStatusMessage): new methods
12310         (getStatus):use setStatusMessage instead of setErrorMessage
12311         (dispatch): when function is disabled, set error message here
12312         [instead of in getStatus previously]
12313
12314         * BufferView_pimpl.C (workAreaButtonRelease): update
12315         toolbar/menubar here too.
12316
12317 2002-01-13  Allan Rae  <rae@lyx.org>
12318
12319         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12320         Now seems indestructible.  Remaining task is to audit all other
12321         code affected by deleteEmptyParagraphMechanism.  One small quirk
12322         left is that an empty document with an error in the preamble can
12323         be made to report an error but no error box appears.  I don't know
12324         where it goes.
12325         (removeAutoInsets): Improved comments.
12326
12327 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12328
12329         * Thesaurus.h:
12330         * Thesaurus.C: update for Aiksaurus 0.14
12331
12332 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12333
12334         * text2.C (firstParagraph): removed member function, all uses
12335         replaces with ownerParagraph
12336         (redoParagraphs): here
12337         (updateInset): here
12338         (toggleAppendix): here
12339         * BufferView2.C (insertErrors): here
12340         (setCursorFromRow): here
12341
12342 2002-01-13  Allan Rae  <rae@lyx.org>
12343
12344         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12345         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12346         There is still a way to segfault this although you may have to do this
12347         multiple times: Have an InsetERT with an unknown command in it.
12348         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12349         <down-arrow>, <Enter> again, View->DVI, BANG!
12350
12351         * text2.C (setCursor):
12352         (deleteEmptyParagraphMechanism):
12353         * lyxtext.h (setCursor):
12354         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12355         Making use of the return value may help fix other bugs.
12356
12357 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12358
12359         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12360
12361         * LyXView.C (updateMenubar): call MenuBar::update here
12362         (updateToolbar): but not here
12363         (showState): do not update toolbar/menubar
12364
12365         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12366         should need to care about that.
12367
12368         * lyxfunc.C (verboseDispatch): simplify a bit
12369         (getStatus): have a version which takes a pseudoaction, and
12370         another which requires a (kb_action,string).
12371
12372         * LyXAction.C (retrieveActionArg): make it work also when action
12373         is not a pseudo-action.
12374         (getActionName): simplify a bit
12375         (helpText):
12376
12377 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12378
12379         * lyxfunc.C (verboseDispatch): new families of methods with
12380         several ways to specify a command and a bool to indicate whether
12381         the command name and shortcut should be displayed in minibuffer
12382         (eventually, we could extend that to a finer bitmask like
12383         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12384         (dispatch): the pristine dispatch command which just, well,
12385         dispatchs! Note it still sets its result to minibuffer; I'm not
12386         sure we want that.
12387
12388         * lyxfunc.h: remove setHintMessage
12389
12390         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12391
12392 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12393
12394         * BufferView_pimpl.C (specialChar): delete new inset if we have
12395         not been able to insert it.
12396
12397         * kbmap.C: revert to using int instead of kb_action, since all we
12398         are dealing with is pseudo-actions.
12399
12400         * LyXAction.C (searchActionArg): change to return int instead of
12401         kb_action, since the result is a pseudoaction.
12402
12403 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12404
12405         * buffer.C (insertErtContents): Fix (partially) the font bug.
12406
12407 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12408
12409         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12410         as the other one is broken on my machine!
12411
12412 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12413
12414         * commandtags.h:
12415         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12416
12417 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12418
12419         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12420         reflect their actual use. Provide compatibility code for older lyxrc
12421         files.
12422
12423         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12424         FL_NORMAL_STYLE.
12425         change names of popup font variables in line with the changes to lyxrc.C
12426
12427 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12428
12429         * buffer.C (asciiParagraph): avoid outputing a word twice after
12430         an inset.
12431
12432         * lyxrc.C (getDescription): document that document_path and
12433         template_path can be empty.
12434
12435 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12436
12437         * LaTeXFeatures.C (getMacros):
12438         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12439
12440         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12441
12442         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12443         getPackages.
12444         (getPackages): rename feature "floats" to "float". Use an array to
12445         iterate over 'simple' features (i.e. just a \usepackage). Add
12446         handling of "amsmath" (renamed from "amsstyle").
12447
12448 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12449
12450         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12451         features list.
12452
12453 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12454
12455         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12456         FuncStaus::FuncStatus & FuncStaus::some_method().
12457
12458 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12459
12460         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12461         of the func_satus stuff. Edited and massaged in various ways by
12462         JMarc.
12463
12464         * lyxfunc.C (getStatus): use FuncStatus
12465
12466 2002-01-08  Juergen Vigna  <jug@sad.it>
12467
12468         * text.C (nextBreakPoint): use function Inset::isChar().
12469
12470         * paragraph.C (TeXOnePar): use function
12471         Inset::forceDefaultParagraphs.
12472
12473         * buffer.C (latexParagraphs): use function
12474         Inset::forceDefaultParagraphs.
12475
12476 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12477
12478         * lyx_gui.C (init): set the style of the menu popups to
12479         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12480
12481 2002-01-07  Juergen Vigna  <jug@sad.it>
12482
12483         * text.C (setHeightOfRow): small fix
12484         (prepareToPrint): don't look at alignment if we don't have the place
12485         for doing it.
12486
12487 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12488
12489         * box.C: New file. Move the Box methods and functions out of box.h,
12490         following Lars' suggestion.
12491
12492 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12493
12494         * box.h: #include "support/LOstream.h", needed for inlined function.
12495
12496         * lyxtextclass.C:
12497         * lyxtextclasslist.C: added some using std declarations.
12498
12499 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * box.h: make signed dimensions to allow insets wider than
12502           the screen (bug #162)
12503
12504         * BufferView_pimpl.C: add some insetHit debug
12505
12506 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * vc-backend.C: add FIXME
12509
12510 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12511
12512         * lyxfunc.C (getStatus): enable code for showing math font status
12513         in toolbar/menu.
12514
12515 2002-01-07  Juergen Vigna  <jug@sad.it>
12516
12517         * text.C (nextBreakPoint): removed debug output not needed anymore.
12518
12519 2002-01-06  Juergen Vigna  <jug@sad.it>
12520
12521         * text.C (nextBreakPoint): fixed up this function we had this bug
12522         since ever but now hopefully we break row better.
12523         (insertChar): we have to check if an inset is the next char as it
12524         could now happen that a large inset is causing a break.
12525
12526 2002-01-05  Juergen Vigna  <jug@sad.it>
12527
12528         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12529         if it doesn't like to be drawed.
12530
12531 2002-01-04  Juergen Vigna  <jug@sad.it>
12532
12533         * BufferView2.C (lockInset): forgot to set a cursor.
12534
12535         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12536
12537 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12538
12539         * FormMathsPanel.C:
12540         * FormMathsPanel.h
12541         * MathsSymbols.C:
12542         * form_maths_panel.C:
12543         * form_maths_panel.h:
12544         * form_maths_panel.fd: implemented sub- and super- buttons in math
12545         panel.
12546
12547         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12548         (or ^ space) to be used as in TeX (req'd by André).
12549
12550         * lyxfunc.C: Allow ^ and _ again to be used both as
12551         super/subscript (mathed) and as themselves (in text).
12552
12553 2002-01-03  Allan Rae  <rae@lyx.org>
12554
12555         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12556         "LyX" or the filename of the current buffer if it has one.  This is a
12557         modified form of John Levon's patch.
12558
12559         * XFormsView.C (setWindowTitle): also set icon title.
12560
12561         * LyXView.h (setWindowTitle): signature changed.
12562         * XFormsView.h (setWindowTitle): ditto.
12563
12564 2002-01-02  Juergen Vigna  <jug@sad.it>
12565
12566         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12567
12568 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12569
12570         * screen.C (topCursorVisible): introduce a temp var for
12571         text->cursor.row(), handle the case where this row is null. (kindo
12572         hachish)
12573
12574         * text2.C (setCursor): add a couple of asserts.
12575
12576         * paragraph.h (inset_iterator): add -> operator
12577
12578         * paragraph.[Ch] (autoDeleteInsets): remove member function
12579
12580         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12581         cursor pos correctly and handle inset deletion by itself.
12582         (insertErrors): move iterator declaration out of for expression
12583
12584         * lyxtextclass.C: add <algorithm>
12585
12586         * Makefile.am: added the new files to sources, removed layout.C
12587
12588         * layout.C: removed file
12589
12590         * layout.h: remove LYX_DUMMY_LAYOUT
12591
12592         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12593         layout.
12594
12595         * lyxlayout.[Ch]:
12596         * lyxtextclass.[Ch]:
12597         * lyxtextclasslist.[Ch]: new files
12598
12599         * include order changes to a lot of files, also changes because of
12600         the six new files.
12601
12602 2001-12-27  Juergen Vigna  <jug@sad.it>
12603
12604         * buffer.C (asciiParagraph): more fixes.
12605
12606         * tabular.C (ascii): make ascii export support export of only the
12607         data separated by a column-delimiter.
12608         (ascii): better support for ascii export.
12609
12610         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12611
12612 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12613
12614         * tabular_funcs.C: use a "using std::getline" instead of the
12615         previous fix from Angus (necessary for cxx + lyxstring)
12616
12617 2001-12-24  Juergen Vigna  <jug@sad.it>
12618
12619         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12620
12621         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12622         problems. First check a minipage also if we have some ert-contents
12623         (not only on par->size(), second set the right depth of the paragraph
12624         on the relink to the root-paragraph-list!
12625
12626         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12627         which then did not anymore update the main paragraphs on undo/redo!
12628
12629 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12630
12631         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12632         code. Support all font-changing funcs (even those which are not in
12633         menu currently). Support for reporting font settings in
12634         mathed (disabled until Andre provides a function on mathed's side).
12635
12636         * func_status.h (toggle): small helper function to set toggle
12637         state on a flag.
12638
12639 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * tabular_funcs.C: getline -> std::getline
12642
12643 2001-12-21  Juergen Vigna  <jug@sad.it>
12644
12645         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12646         accessed and could be 0 (I couldn't generate this but it seems
12647         Michael could!).
12648
12649 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12650
12651         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12652         * tabular_funcs.h: here and include iosfwd
12653
12654 2001-12-20  Juergen Vigna  <jug@sad.it>
12655
12656         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12657         inside inset but undo_par was.
12658
12659 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12660
12661         * Thesaurus.C: always include <config.h> in sources.
12662
12663         * Painter.h:
12664         * lyxlookup.h:
12665         * box.h: do not include <config.h> in header files
12666
12667         * text.C (paintLastRow): remove unused variable
12668
12669         * text.C (transformChar):
12670         (insertChar):
12671         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12672
12673         * Painter.C (text):
12674         * font.C (width): rewrite to use uppercase() instead of
12675         islower/toupper.
12676
12677         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12678
12679 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * lyxfind.C: clean up of find failure position change
12682
12683 2001-12-20  Juergen Vigna  <jug@sad.it>
12684
12685         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12686
12687         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12688         (TeXRow): added to LaTeX a single tabular row.
12689         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12690         (Latex): simplified and finally good LT-h/f support.
12691         (various_functions): just small adaptions for LT-h/f support.
12692
12693         * tabular_funcs.[hC]: added and moved here all not classfunctions
12694         of LyXTabular.
12695
12696 2001-12-19  Juergen Vigna  <jug@sad.it>
12697
12698         * tabular.[Ch]: better support for longtabular options (not finished
12699         yet!)
12700
12701 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12702
12703         * text.C (paintLastRow): use the label font instead of the font of
12704         the last character to compute the size of *_BOX. This makes more
12705         sense and avoids a crash with empty paragraphs.
12706         Use Painter::rectangle to draw EMPTY_BOX.
12707
12708 2001-12-19  Juergen Vigna  <jug@sad.it>
12709
12710         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12711         the paragraphs if the replaced paragraph is not the first one!
12712         Tried to delete not used paragraphs but does not work yet so for
12713         now it's inside #ifdef's and by default off!
12714
12715 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12716
12717         * MenuBackend.C: include "lyx_main.h" instead of declaring
12718         lastfiles (actually was declared as LastFiles* instead of a
12719         scoped_ptr).
12720
12721 2001-12-17  Juergen Vigna  <jug@sad.it>
12722
12723         * tabular.C (AppendColumn): applied John's fix
12724
12725 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12726
12727         * BufferView.h:
12728         * BufferView.C:
12729         * BufferView_pimpl.h:
12730         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12731
12732         * Makefile.am:
12733         * box.h: new start of class for above
12734
12735         * lyxfunc.C: ignore space-only minibuffer dispatches.
12736           Show the command name when it doesn't exist
12737
12738         * minibuffer.C: don't add empty lines to the history
12739
12740         * minibuffer.C: add a space on dropdown completion
12741
12742 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * text.C: fix line above/below drawing in insets
12745
12746 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12747
12748         * lyxlength.C (LyXLength): Initialize private variables.
12749
12750 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12753         when inserting error insets.
12754
12755 2001-12-13  Juergen Vigna  <jug@sad.it>
12756
12757         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12758         actually sometimes the before-paragraph.
12759         (setUndo): don't clear the redostack if we're not actually undoing!
12760
12761 2001-12-06  Juergen Vigna  <jug@sad.it>
12762
12763         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12764         and fixed redoing of main paragraph, so we can use it now ;)
12765
12766         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12767
12768 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12769
12770         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12771         Juergen's request
12772
12773 2001-12-13  André Pönitz <poenitz@gmx.net>
12774
12775         * undostack.[Ch]:
12776         * undo_func.C: minor cleanup
12777
12778 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12779
12780         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12781         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12782         font in urw-fonts package which is marked as -urw-fontspecific and
12783         does not work (incidentally, changing the encoding in the
12784         fonts.dir of this package to -adobe-fontspecific fixes the
12785         problem).
12786
12787         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12788         is a crash when undoing first paragraph (Juergen, please take a
12789         look). THis does not mean the undo fix is wrong, just that it
12790         uncovers problems.
12791
12792         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12793         the (Paragraph*) version when needed instead of duplicating the
12794         code.
12795
12796         * text.C (workWidth): use Inset::parOwner to find out where the
12797         inset has been inserted. This is a huge performance gain for large
12798         documents with lots of insets. If Inset::parOwner is not set, fall
12799         back on the brute force method
12800
12801         * paragraph_pimpl.C (insertInset):
12802         * paragraph.C (Paragraph):
12803         (cutIntoMinibuffer): set parOwner of insets when
12804         inserting/removing them
12805
12806         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12807
12808 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12809
12810         * commandtags.h:
12811         * LyXAction.C:
12812         * lyx_main.C:
12813         * lyxfunc.C:
12814         * mathed/formulabase.C:
12815         * mathed/math_cursor.[Ch]:
12816         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12817
12818
12819 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12820
12821         * lyxlength.[Ch] (operator!=): new function
12822
12823 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12824
12825         * text.C (workWidth): use Inset::parOwner to find out where the
12826         inset has been inserted. This is a huge performance gain for large
12827         documents with lots of insets. If Inset::parOwner is not set, fall
12828         back on the brute force method
12829
12830         * paragraph_pimpl.C (insertInset):
12831         * paragraph.C (Paragraph):
12832         (cutIntoMinibuffer): set parOwner of insets when
12833         inserting/removing them
12834
12835         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12836
12837 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12838
12839         * tabular-old.C (getTokenValue):
12840         * tabular.C (getTokenValue):
12841         (write_attribute): new versions for LyXLength
12842         (everywhere): adjust the use of widths
12843
12844         * tabular.h: change the type of widths from string to LyXLength
12845
12846 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12847
12848         * paragraph.C: fixed missing line number count when exporting
12849         Environments to LaTeX file
12850
12851         * buffer.C: added informational message for checking line numbers.
12852
12853 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12854
12855         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12856         paragraph, do the 'double space' part, but not the 'empty
12857         paragraph' one.
12858
12859         * text.C (workWidth): small optimization
12860         (getLengthMarkerHeight): use minimal size for negative lengths.
12861
12862 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12863
12864         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12865
12866         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12867
12868 2001-12-11  André Pönitz <poenitz@gmx.net>
12869
12870         * FontLoader.C:
12871         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12872
12873 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * text2.C: keep selection on a setFont()
12876
12877 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12878
12879         * lyx_cb.C: another bv->text misuse, from insert label
12880
12881 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * kbsequence.h:
12884         * kbsequence.C: re-instate nmodifier mask
12885
12886 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12887
12888         * lyx_main.h: make lyxGUI private.
12889
12890 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * lyxfind.C: place the cursor correctly on failed search
12893
12894 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12895
12896         * text.C (getLengthMarkerHeight): for small heights, the arrows
12897         are not always on top/bottom of the text
12898         (drawLengthMarker): smaller arrows; take the left margin in
12899         account; draw also vfills.
12900         (paintFirstRow):
12901         (paintLastRow): remove special code for vfill and standard spaces,
12902         since everything is handled in drawLengthMarker now.
12903
12904 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * buffer.C (insertErtContents): try to handle font and language
12907         interaction a bit better.g
12908
12909         * ColorHandler.C (updateColor): change the hash to cover the whole
12910         LColor enum, ws cleanup
12911         (getGCLinepars): ditto
12912         (getGCLinepars): only lookup in the linecache once.
12913
12914 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12915
12916         * iterators.C (operator++): Make the iterator more robust
12917
12918         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12919         (John's patch)
12920         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12921
12922 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12923
12924         * lyxtext.h:
12925         * text.C: better added space drawing
12926
12927 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12928
12929         * LyXView.C:
12930         * BufferView2.C: fix layout combo update on inset unlock
12931
12932 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12933
12934         * Makefile.am: don't compile unused files
12935
12936 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12937
12938         * lyxfunc.C:
12939         * commandtags.h:
12940         * LyXAction.C: remove old LFUN_LAYOUTNO
12941
12942 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12943
12944         * paragraph_pimpl.h:
12945         * paragraph_pimpl.C: isTextAt() doesn't need font param
12946
12947 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12948
12949         * lyxlex.h:
12950         * lyxlex.C: little cleanup
12951
12952 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12953
12954         * BufferView_pimpl.C: fix insertAscii for insets
12955
12956 2001-12-05  Juergen Vigna  <jug@sad.it>
12957
12958         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12959         set the right font on the "multi" paragraph paste!
12960
12961 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12962
12963         * trans_decl.h:
12964         * trans_mgr.[Ch]:
12965         * trans.[Ch]:
12966         * lyxgluelength.C:
12967         * lyxlength.C: remove out-commented code.
12968
12969         * BufferView_pimpl:
12970         * CutAndPaste.C:
12971         * DepTable.C:
12972         * buffer.C:
12973         * chset.C:
12974         * lastfiles.C:
12975         * lyxlex.C:
12976         * lyxlex_pimpl.C:
12977         * lyxserver.C:
12978         * screen.C:
12979         * tabular-old.C:
12980         * tabular.C:
12981         * text.C:
12982         * trans_mgr.C:
12983         * vc-backend.C: change "while(" to "while ("
12984
12985         * lyxlength.[Ch]: add zero function to check if length is zero or
12986         not
12987         * lyxgluelength.C: use it
12988
12989 2001-12-05  Allan Rae  <rae@lyx.org>
12990
12991         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12992         Works for 2.95.3, from what I understand of Garst's reports this should
12993         work for other g++ versions.  We're screwed if the abs(int) definition
12994         changed between bugfix releases of gcc.
12995
12996 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * text.C: fix chapter label offset !
12999
13000 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * lyxtext.h:
13003         * text.C: fix hfill at end of line, clean up
13004
13005 2001-12-04  Juergen Vigna  <jug@sad.it>
13006
13007         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13008         that we force an update of the inset and it's owners if neccessary.
13009
13010 2001-12-03  Juergen Vigna  <jug@sad.it>
13011
13012         * text.C (rowLast): simplified code
13013
13014 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13015
13016         * lyxfunc.C: fix show options on timeout
13017
13018 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * screen.C (topCursorVisible): scroll half a page when the cursor
13021         reached top of bottom of screen
13022
13023 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13024
13025         * minibuffer.C: deactivate on loss of focus
13026
13027 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13028
13029         * vspace.[Ch] (operator!=): add operator.
13030
13031 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13032
13033         * BufferView_pimpl.C: refuse to open an inset when
13034         there's a selection.
13035
13036 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13037
13038         * BufferView_pimpl.C: allow to click on RHS of full row insets
13039
13040 2001-11-30  Juergen Vigna  <jug@sad.it>
13041
13042         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13043         insets for undo reasons.
13044
13045 2001-11-28  André Pönitz <poenitz@gmx.net>
13046
13047         * vspace.[Ch]: cosmetical changes
13048
13049 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13050
13051         * LyXAction.h:
13052         * LyXAction.C:
13053         * lyxfunc.h:
13054         * lyxfunc.C:
13055         * kbmap.h:
13056         * kbmap.C:
13057         * lyxrc.C:
13058         * kbsequence.h:
13059         * kbsequence.C: part re-write of old kb code
13060
13061         * Painter.C:
13062         * WorkArea.C: remove Lgb_bug_find_hack
13063
13064 2001-11-30  José Matos <jamatos@fep.up.pt>
13065
13066         * buffer.C (makeDocBookFile): add a comment to point a hack.
13067         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13068         Fixed a double write of labels.
13069
13070 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13071
13072         * LaTeX.C:
13073         * LaTeX.h Fixed bug in LaTeX class where it would not
13074         re-run latex if no depfiles were changed, but the .dvi was removed.
13075
13076 2001-11-28  André Pönitz <poenitz@gmx.net>
13077
13078         * all the files from the change on 2001/11/26:
13079         use lyx::layout_type instead of LyXTextClass::size_type
13080         use lyx::textclass_type instead of LyXTextClassList::size_type
13081
13082 2001-11-29  Juergen Vigna  <jug@sad.it>
13083
13084         * text.C: added support for paragraph::isFreeSpacing()
13085
13086         * buffer.C: same as above
13087
13088         * paragraph.h: inserted isFreeSpacing() function to enable
13089         FreeSpacing inside InsetERT.
13090
13091         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13092         of the paragraph's in the cut/copy buffer to 0!
13093
13094         * text2.C (removeRow): remove the assert as it can!
13095
13096         * lyxtext.h: added helper function firstRow returning firstrow and
13097         made firstrow private again.
13098
13099         * BufferView2.C (lockInset): don't relock if we're already locked!
13100
13101         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13102         the only paragraph.
13103         (removeRow): added Assert::(firstrow)
13104
13105         * debug.C: forgot to add INSETTEXT here.
13106
13107 2001-11-28  Juergen Vigna  <jug@sad.it>
13108
13109         * sp_spell.C (initialize): changed error text to more general
13110         spellchecker command use (not only ispell!)
13111
13112         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13113
13114         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13115
13116 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13117
13118         * vspace.C: initialise lyxgluelength on failure
13119
13120 2001-11-28  Allan Rae  <rae@lyx.org>
13121
13122         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13123         declaration & definition that looks like a function declaration.
13124
13125 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * BufferView2.C (copy):
13128         (copyEnvironment): do not clear the selection when doing a copy.
13129
13130         * text.C (paintFirstRow): compilation fix
13131
13132 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13133
13134         * tabular.C (Latex): correct line count when writing latex.
13135
13136 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13137
13138         * paragraph_pimpl.h:
13139         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13140           bug a bit
13141
13142 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * text.C:
13145         * LColor.h:
13146         * LColor.C: change vfillline->added_space
13147
13148         * text.C: add markers and text for added space
13149
13150         * vspace.C: fix comment
13151
13152 2001-11-28  André Pönitz <poenitz@gmx.net>
13153
13154         * paragraph.C: whitespace changes
13155         * all the other files from the change on 2001/11/26:
13156         change *::pos_type into lyx::pos_type
13157
13158 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13159
13160         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13161         language of the document when inserting error insets.
13162
13163 2001-11-26  André Pönitz <poenitz@gmx.net>
13164
13165         * BufferView_pimpl.[Ch]:
13166         *       CutAndPaste.C:
13167         * buffer.[Ch]:
13168         * lyxcursor.[Ch]:
13169         * lyxfind.C:
13170         * lyxfunc.C:
13171         * lyxrow.[Ch]:
13172         * paragraph.[Ch]:
13173         * paragraph_pimpl.[Ch]:
13174         * sp_spell.C:
13175         * text.C:
13176         * text2.C: reduce header dependencies, introduce type for positions
13177
13178 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13179
13180         * <various>: change to use Alert.h
13181
13182 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13185         when encountering an unknown token.
13186         (readLyXformat2): Show an error message if there were unknown tokens.
13187
13188 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * BufferView2.C:
13191         * BufferView_pimpl.C:
13192         * buffer.C:
13193         * paragraph.h:
13194         * text.C:
13195         * text2.C: use par->isInset()
13196
13197 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13198
13199         * paragraph_pimpl.h:
13200         * paragraph_pimpl.C: cleanup
13201
13202 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13203
13204         * text2.C (removeRow):
13205         * text.C (setHeightOfRow): remove useless (and costly) call to
13206         getRow.
13207
13208 2001-11-20  Allan Rae  <rae@lyx.org>
13209
13210         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13211         Now need Inset*::checkInsertChar() to return true for appropriate
13212         cases so that the characters in the minibuffer will actually be
13213         inserted.
13214
13215 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13216
13217         * text.C: change the order of the includes.
13218         (workWidth): initialize it at once.
13219         (workWidth): make maxw unsigned
13220         (setHeightOfRow): remove unused variable (inset)
13221         (selectSelectedWord): remove unused variable (inset)
13222         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13223
13224 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13225
13226         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13227         server is not running.
13228         (openConnection):
13229         (closeConnection): add debug info when server is disabled.
13230
13231         * ColorHandler.C (getGCForeground): send debug message to GUI
13232         channel.
13233
13234         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13235
13236         * kbmap.C (bind): modify because return conventions of
13237         kb_sequence::parse have changed.
13238
13239         * kbsequence.C (parse): only ignore spaces and not any stupid
13240         control character. This avoids tests like s[i] <= ' ', which are
13241         guaranteed to fail with 8bit characters and signed chars.
13242         Change return code to string::npos when there have been no error
13243         (0 was a bad idea when error is at first character)
13244
13245 2001-11-14  José Matos  <jamatos@fep.up.pt>
13246
13247         * buffer.h:
13248         * buffer.C (simpleDocBookOnePar): removed unused argument.
13249
13250 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13251
13252         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13253         insets which are part of a word. Paragraph::isLetter takes care of
13254         that now. Use Paragraph::isInset to identify insets.
13255         (selectSelectedWord): do not test for hyphenation break.
13256
13257         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13258         that protected spaces are considered as spaces.
13259
13260         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13261         Inset::isLetter.
13262
13263 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13264
13265         * lyxserver.h:
13266         * lyxserver.C: fix it. and small cleanup.
13267
13268 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * BufferView_pimpl.C: use inline helpers
13271
13272         * LaTeXFeatures.h:
13273         * LaTeXFeatures.C: fix typos
13274
13275         * Spacing.h:
13276         * Spacing.C: move spacing_string into class
13277
13278         * ToolbarDefaults.C: move stuff into namespace anon
13279
13280         * layout.h: update enum
13281
13282         * lyxfunc.C: use better debug
13283
13284         * minibuffer.h: fix typo
13285
13286         * debug.h:
13287         * debug.C:
13288         * WorkArea.C: add and use Debug::WORKAREA
13289
13290         * lyxtext.h:
13291         * text.C:
13292         * text2.C: code re-organisation, inline helpers
13293
13294 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13295
13296         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13297         std::vector.empty().
13298
13299 2001-11-09  Allan Rae  <rae@lyx.org>
13300
13301         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13302         '\n's after tables.  Tabular and ERT inset work now makes this no
13303         longer necessary.
13304
13305 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13306
13307         * minibuffer.h:
13308         * minibuffer.C: fix crash, improve drop-down completion
13309
13310 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13311
13312         * lyxserver.h:
13313         * lyxserver.C: invalidate fd's when doing endPipe()
13314
13315 2001-11-08  José Matos  <jamatos@fep.up.pt>
13316
13317         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13318         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13319
13320         * paragraph.h:
13321         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13322
13323 2001-11-07  José Matos  <jamatos@fep.up.pt>
13324
13325         * buffer.h:
13326         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13327         const qualifier.
13328
13329         * buffer.C (sgmlOpenTag):
13330         * buffer.C (sgmlCloseTag): removed debug info.
13331
13332         * buffer.h (sgmlOpenTag):
13333         * buffer.h (sgmlCloseTag): made public.
13334
13335 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * buffer.C (saveParamsAsDefaults):
13338         * lyx_cb.C (MenuLayoutSave): remove
13339
13340         * LyXAction.C (init):
13341         * commandtags.h:
13342         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13343
13344 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13345
13346         * buffer.C (setPaperStuff): removed from here...
13347
13348         * bufferparams.C (setPaperStuff): ... and moved there.
13349
13350 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13351
13352         * minibuffer.h:
13353         * minibuffer.C:
13354         * XFormsView.C: add support for drop-down completion
13355
13356 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13359         commands.
13360
13361 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13364         disabled.
13365
13366 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13367
13368         * lyx_main.C: change ref to known bugs
13369
13370 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13371
13372         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13373         to work around older babel problems.
13374
13375 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13376
13377         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13378
13379 2001-10-24  Juergen Vigna  <jug@sad.it>
13380
13381         * tabular-old.C (ReadOld): below variable changes reflected.
13382
13383         * tabular.[Ch]: added ltType struct for longtable header/footer
13384         defines and changed all instances where they are used. Added
13385         future support for double top/bottom rows.
13386
13387 2001-10-24  José Matos  <jamatos@fep.up.pt>
13388
13389         * buffer.h (docbookHandleCaption):
13390         * buffer.C (docbookHandleCaption): removed unused function.
13391         (makeDocBookFile): moved docbook supported version to v4.1.
13392
13393 2001-10-24  José Matos  <jamatos@fep.up.pt>
13394
13395         * tabular.h:
13396         * tabular.C (docbookRow): new function to export docbook code of a row.
13397         (DocBook): now honors the longtable flags.
13398
13399 2001-10-23  José Matos  <jamatos@fep.up.pt>
13400
13401         * LaTeXFeatures.h:
13402         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13403         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13404
13405         * buffer.C (makeLinuxDocFile):
13406         (makeDocBookFile): reworked the preamble, more clean, and with
13407         support for lyx defined entities. Changed the document declaration
13408         to be more XML friendly.
13409
13410         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13411         if we need to output XML that should be done with a filter.
13412
13413 2001-10-22  Juergen Vigna  <jug@sad.it>
13414
13415         * sp_pspell.h (class PSpell): add alive function needed in the
13416         controller to see if the spellchecker could be started.
13417
13418 2001-10-22  Juergen Vigna  <jug@sad.it>
13419
13420         * buffer.C (insertStringAsLines): modify the font for inserting
13421         chars in certain conditions by calling checkInsertChar(font).
13422
13423 2001-10-19  Juergen Vigna  <jug@sad.it>
13424
13425         * text.C (workWidth): use getRow instead of wrong algorithm.
13426         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13427
13428 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13429
13430         * lyxserver.h:
13431         * lyxserver.C:
13432         * lyx_main.h:
13433         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13434
13435 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13436
13437         * text.C (workWidth): do not search for the exact row when
13438         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13439         optimization for big documents.
13440
13441 2001-10-18  Juergen Vigna  <jug@sad.it>
13442
13443         * text.C (workWidth): new function with added Inset * parameter.
13444
13445 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13446
13447         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13448
13449         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13450         change return type of getColumnNearX.
13451
13452
13453         * text.C (changeRegionCase): use uppercase/lowercase instead of
13454         toupper/tolower.
13455         (leftMargin):
13456         (rightMargin): simplify code by factoring out the uses of
13457         textclasslist.
13458         (labelFill):
13459         (numberOfHfills):
13460         (setHeightOfRow):
13461         (appendParagraph): use Paragraph::size_type
13462
13463 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13464
13465         * vspace.C (asLatexString): add a missing break
13466
13467 2001-10-15  Herbert Voss  <voss@perce.de>
13468
13469         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13470
13471 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13472
13473         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13474         is not available.
13475
13476 2001-10-10  André Pönitz <poenitz@gmx.net>
13477
13478         * lyxfunc.C: removed greek_kb_flag.
13479
13480 2001-10-10  Herbert Voss  <voss@perce.de>
13481
13482         * lyx_main.C: delete global string help_lyxdir.
13483
13484 2001-10-09  Herbert Voss  <voss@perce.de>
13485
13486         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13487
13488         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13489
13490         * lyx_main.C: added global string help_lyxdir.
13491
13492         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13493
13494 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13495
13496         * lyxrc.C (set_font_norm_type): support iso8859-4
13497
13498 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13499
13500         * LaTeX.C (deplog): add another regex for MikTeX
13501
13502 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13503
13504         * lyxrc.C (set_font_norm_type): support iso8859-3
13505
13506 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13507
13508         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13509
13510         * LaTeXFeatures.C: remove special case of french and index
13511
13512         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13513         before \begin{document}). This solves several incompatibilities.
13514
13515 2001-10-03  Garst Reese  <reese@isn.net>
13516
13517         * lyx_cb.C: change CheckTex error msg.
13518
13519 2001-10-03  José Matos  <jamatos@fep.up.pt>
13520
13521         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13522
13523 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13524
13525         * .cvsignore: update
13526
13527         * lyx_main.C (commandLineVersionInfo): use new style version info.
13528
13529         * buffer.C (writeFile):
13530         (makeLaTeXFile):
13531         (makeLinuxDocFile):
13532         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13533
13534         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13535
13536         * version.h: update to use stuff in version.C
13537
13538         * version.C.in: new file. Contains version information determined
13539         at compile time. This is a merging of version.h and
13540         version_info.h.in.
13541
13542 2001-10-03  Juergen Vigna  <jug@sad.it>
13543
13544         * BufferView_pimpl.C (update): don't change "dirty" status in
13545         updateInset call.
13546
13547 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * WorkArea.C (c-tor): re-position version string slightly.
13550
13551 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13552
13553         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13554         revert to previous code.
13555
13556         WorkArea.[Ch]: (show, destroySplash): methods removed.
13557
13558         WorkArea.C: rework code so that it's an amalgam of the codes before and
13559         after the splash screen was moved to WorkArea.
13560
13561 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13562
13563         * lyxrc.C (read):
13564         * vspace.C (inPixels):
13565         (lyx_advance):
13566         * kbmap.C (bind):
13567         * buffer.C (insertStringAsLines):
13568         (asciiParagraph): fix types to be large enough
13569
13570         * lyxlex_pimpl.h: change member status from short to int
13571
13572         * layout.h: fix type of endlabeltype
13573
13574         * kbmap.C (bind):
13575         * kbsequence.C (parse): change return type to string::size_type
13576
13577         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13578         variable
13579
13580         * Bullet.C (bulletSize):
13581         (bulletEntry): do not use short ints as parameters
13582
13583         * BufferView2.C (insertLyXFile): change a char to an int.
13584
13585         * WorkArea.C (WorkArea): remove unneeded floats in computation
13586
13587 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13588
13589         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13590
13591         * paragraph.C (asString): Do not ignore newline/hfill chars when
13592         copying to the clipboard.
13593
13594 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13595
13596         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13597         after a multi-line inset.
13598
13599 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13600
13601         * paragraph.C (validate): Set NeedLyXFootnoteCode
13602
13603 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13604
13605         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13606         and decrease-error to decrease.
13607
13608 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13609
13610         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13611         it more readable (should be equivalent)
13612
13613 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13614
13615         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13616
13617 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13618
13619         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13620         of a cursor (row, etc.) after a character has been deleted
13621         (deleteEmptyParagraphMechanism): call the method above on _all_
13622         cursors held by the LyXText when a double space has been
13623         detected/deleted.
13624
13625 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13626
13627         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13628         pixmap.
13629         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13630
13631         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13632         background. Use greyOut() and the new show() methods to toggle between
13633         the foreground and background. Add code to remove the splash after
13634         its initial showing.
13635
13636         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13637         (create_forms): no longer call Dialogs::showSplash.
13638
13639 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13640
13641         * .cvsignore: add version_info.h
13642
13643 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13644
13645         * version_info.h.in: new file
13646
13647         * Makefile.am: add version_info.h.in
13648
13649         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13650         version_info.h instead of VERSION_INFO
13651
13652 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13653
13654         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13655         The ERT inset now returns string().
13656
13657 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13658
13659         * lyxtext.h, text.C (selectNextWord): renamed as
13660         selectNextWordToSpellcheck.
13661
13662         * text.C (selectNextWordToSpellcheck): Modified to not select
13663         words inside an ERT inset.
13664
13665 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * lyx_cb.C (MenuLayoutSave): change a bit the question
13668
13669         * sp_base.h: include <sys/types.h>
13670
13671 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13672
13673         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13674
13675 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13676
13677         * several files: fix typos in user-visible strings
13678
13679 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13680
13681         * text2.C (pasteSelection): do not set the selection, since it
13682         will be cleared later. Actually, the intent was to fix the way the
13683         selection was set, but I figured rmoving the code was just as good.
13684
13685 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13686
13687         * FontLoader.C (available): Check if font is available without
13688         loading the font.
13689
13690 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13691
13692         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13693
13694 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13695
13696         * lyxrc.[Ch]: added display_graphics variable and associated code.
13697
13698 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13699
13700         * bufferparams.C (hasClassDefaults): new method. Returns true if
13701         the buffer parameters correspond to known class defaults
13702
13703 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * XFormsView.C (show): set minimum size to the main window.
13706
13707 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13708
13709         * text2.C (copySelection):
13710         (cutSelection):
13711         * lyxfind.C (LyXReplace):
13712         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13713         LyXText::selectionAsString.
13714
13715         * paragraph.C (asString): add "label" argument to the second form
13716
13717         * text2.C (selectionAsString): add "label" argument and pass it to
13718         Paragraph::asString.
13719
13720 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13721
13722         * lyx_main.C (commandLineHelp): remove version information
13723
13724 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13725
13726         * lyx_main.C: add -version commandline option
13727
13728 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13729
13730         * paragraph.h: make the optional constructor arg required instead.
13731         some modifications to other files because of this.
13732
13733         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13734
13735         * lyxserver.C (C_LyXComm_callback): make it static
13736
13737         * lyx_main.C (error_handler): make it static
13738
13739         * lyx_gui.C (LyX_XErrHandler): make it static
13740
13741         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13742
13743         * WorkArea.C: make the extern "C" methods static.
13744
13745         * Makefile.am (lyx_LDADD): simplify
13746
13747 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13748
13749         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13750         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13751
13752         * LyXAction.C (init):
13753         * lyxfunc.C (dispatch): associated code removal.
13754
13755 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * lyxfont.h (isSymbolFont): shut off warning
13758
13759         * text.C (setHeightOfRow):
13760         (getVisibleRow): fix crash with empty paragraphs which have a
13761         bottom line
13762
13763 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13764
13765         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13766         code.
13767
13768 2001-09-04  José Matos  <jamatos@fep.up.pt>
13769         * buffer.C
13770         * buffer.h
13771         * tabular.C (docbook): rename docBook method to docbook.
13772
13773 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13774
13775         * Makefile.am: add dependencies to main.o.
13776
13777 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13778
13779         * FontLoader.C (available): Return false if !lyxrc.use_gui
13780
13781 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13782
13783         * FontInfo.C (query):
13784         * converter.C (view):
13785         * importer.C (Import):
13786         * exporter.C (Export): Can not -> cannot.
13787
13788 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13789
13790         * BufferView_pimpl.C: allow to create index inset even if
13791           string is empty
13792
13793 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13794
13795         * buffer.C (getLists): replace boost::tie code with an explicit pair
13796         as boost::tie can break some compilers.
13797
13798         * iterators.h: Added a std:: declaration to the return type of
13799         ParIterator::size.
13800
13801 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13802
13803         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13804           case.
13805
13806 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13807
13808         * iterators.[Ch]: New files. Provide paragraph iterators.
13809
13810         * buffer.C (changeLanguage): Use paragraph iterators.
13811         (isMultiLingual): ditto
13812
13813         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13814
13815 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13816
13817         * FontLoader.C: Support for cmr font.
13818
13819 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13820
13821         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13822         (available): New method.
13823
13824         * FontInfo.C (getFontname): Use scalable fonts even when
13825         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13826         found.
13827
13828 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13829
13830         * converter.C (Formats::view): reverted! Incorrect fix.
13831
13832 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13833
13834         * converter.C (Formats::view): only output the -paper option
13835         if the dvi viewer is xdvi, thereby fixing bug #233429.
13836
13837 2001-08-23  Herbert Voss  <voss@perce>
13838
13839         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13840
13841 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13842
13843         * Spacing.h (Spacing): Set space to Default on in the default
13844         constructor.
13845
13846 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13847
13848         * vc-backend.h (RCS::versionString): add RCS to version
13849         (CVS::versionString): add CVS to version
13850
13851         * vc-backend.C (scanMaster): do not add CVS to version.
13852         (scanMaster): do not add RCS to version
13853
13854         * lyxvc.C (versionString): new method
13855
13856         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13857
13858 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13859
13860         * Spacing.C (set): initialize fval
13861
13862 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13863
13864         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13865         " or \.
13866
13867 2001-08-16  Juergen Vigna  <jug@sad.it>
13868
13869         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13870
13871 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13872
13873         * BufferView_pimpl.C:
13874         * figureForm.C:
13875         * lyxtext.h:
13876         * text2.C: setParagraph takes linespacing now
13877
13878 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13879
13880         * LyxAction.C: add internal LFUN_CITATION_INSERT
13881
13882         * LyXView.C: actually apply fix
13883
13884         * bufferlist.C: fix open non-existent file
13885
13886         * lyxfind.C: fix indentation
13887
13888         * lyxfunc.C: remove unneeded assert, fix typo
13889
13890 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13891
13892         * MenuBackend.C: use "Floatname List"
13893
13894 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13895
13896         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13897         when converting LaTeX layout to insetERT.
13898         Generate a non-collapsed float when reading old float
13899
13900 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13901
13902         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13903         ERT insets.
13904
13905 2001-08-13  Juergen Vigna  <jug@sad.it>
13906
13907         * text.C (fill): return 0 instead of 20 as this seems to be the more
13908         correct value.
13909
13910 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13911
13912         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13913         lyxrc.font_norm.
13914
13915 2001-08-13  Juergen Vigna  <jug@sad.it>
13916
13917         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13918         casesensitive off.
13919         (SearchBackward): comment out the unlocking of the inset_owner this
13920         should not be needed!
13921
13922 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13923
13924         * Many files: Remove inherit_language, and add latex_language
13925
13926         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13927         collapsible insets.
13928
13929 2001-08-10  Juergen Vigna  <jug@sad.it>
13930
13931         * text.C (prepareToPrint): fixed hfill-width in draw!
13932
13933         * BufferView2.C (selectLastWord): save the selection cursor as this
13934         now is cleared in the function LyXText::clearSelection!
13935
13936 2001-08-08  Juergen Vigna  <jug@sad.it>
13937
13938         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13939         BACKSPACE type functions.
13940
13941         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13942         is only cutted from the document but not put in the cut-buffer, where
13943         still the old stuff should be.
13944
13945         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13946
13947         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13948
13949         * tabular.C (SetWidthOfCell): fixed special case where the width
13950         was not updated!
13951         (LeftLine): handle '|' in align_special.
13952         (RightLine): ditto
13953         (LeftAlreadyDrawed): ditto
13954         (SetWidthOfCell): ditto
13955
13956 2001-08-07  Juergen Vigna  <jug@sad.it>
13957
13958         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13959
13960 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13961
13962         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13963         * lyxlex.[hC]: ditto
13964
13965 2001-08-06  Juergen Vigna  <jug@sad.it>
13966
13967         * text.C (getVisibleRow): fix up row clearing a bit.
13968
13969 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13970
13971         * minibuffer.C: make sure the X server sees the changes in the input.
13972
13973 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13974
13975         * paragraph.C (getFont): split into...
13976         (getLabelFont): this
13977         (getLayoutFont): and this
13978         * paragraph_pimpl.C (realizeFont): calling this
13979
13980         * text2.C (getFont): split into...
13981         (getLayoutFont): this
13982         (getLabelFont): and this
13983         (realizeFont): all three calling this
13984
13985         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13986         files where used.
13987
13988 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13989
13990         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13991
13992 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13993
13994         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13995         layouts from the Quote inset insertion.
13996
13997 2001-08-03  Juergen Vigna  <jug@sad.it>
13998
13999         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14000
14001         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14002         only if status not is already CHANGED_IN_DRAW (second level).
14003
14004         * text.C (draw): don't set the need_break_row when inside an
14005         InsetText LyXText.
14006
14007 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14008
14009         * buffer.C (parseSingleLyXformat2Token): handle more latex
14010         conversion cases.
14011
14012         * bufferview_funcs.[hC]: change function names to
14013         begin with small char, adjust other files.
14014
14015 2001-08-02  André Pönitz <poenitz@gmx.net>
14016
14017         * lyxfunc.C:
14018         BufferView_pimpl.C: remove broken special code for math-greek
14019
14020 2001-08-02  Juergen Vigna  <jug@sad.it>
14021
14022         * BufferView_pimpl.C (update): redone this function so that we
14023         update the text again if there was a CHANGE_IN_DRAW.
14024
14025         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14026         (drawFromTo): added a new internal bool which is used by draw() and
14027         redraw() function.
14028         (general): some cursor drawing problems fixed.
14029
14030 2001-08-01  Juergen Vigna  <jug@sad.it>
14031
14032         * lyxfind.C (LyXFind): fixed
14033         (SearchForward): ditto
14034         (SearchBackward): ditto
14035
14036         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14037         spurius drawing of the cursor in the main area.
14038
14039         * text2.C (status): small fix which could lead to a segfault!
14040         (clearSelection): remove unneeded BufferView param.
14041
14042 2001-08-01  André Pönitz <poenitz@gmx.net>
14043
14044         * lyxfunc.C: small change due to changed mathed interface
14045
14046 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14047
14048         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14049
14050 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14051
14052         * lyxfunc.c: fail gracefully if file doesn't exist
14053
14054         * LyXSendto.C:
14055         * buffer.C:
14056         * lyxfunc.C:
14057         * BufferView_pimpl.C: IsDirWriteable() proto changed
14058
14059         * LyXView.C: fix updateWindowTitle() to store the last title
14060
14061 2001-07-31  Juergen Vigna  <jug@sad.it>
14062
14063         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14064         the font (wrong since using of Paragraph::highestFontInRange).
14065
14066         * paragraph.C (highestFontInRange): added a default_size parameter.
14067
14068         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14069         (setHeightOfRow): reformat
14070
14071 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14072
14073         * converter.[hC] + affected files: move to (inital-char)lowercase
14074         function names.
14075
14076         * ParagraphParameters.C (ParagraphParameters): remove commented code
14077
14078         * PainterBase.[Ch]: remove commented code
14079
14080         * LaTeXFeatures.h: add "bool floats" for float.sty
14081
14082         * LaTeXFeatures.C (LaTeXFeatures): init floats
14083         (require): handle float
14084         (getPackages): do it with floats
14085
14086 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * BufferView_pimpl.C (Dispatch): improve handling of
14089         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14090
14091         * commandtags.h: #include lyxfont.h here temporarily to avoid
14092         keybinding bug.
14093
14094         * bufferlist.h: include LString.h here.
14095
14096 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14097
14098         * text2.C (getStringToIndex): new method.
14099
14100 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14101
14102         * *: Reduced header file dependencies all over.
14103
14104 2001-07-30  Baruch Even  <baruch@lyx.org>
14105
14106         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14107
14108 2001-07-29  Baruch Even  <baruch@lyx.org>
14109
14110         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14111
14112 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14113
14114         * ParameterStruct.h (endif): add a default constructor to make
14115         sure that all variables is initialized.
14116
14117         * ParagraphParameters.C (ParagraphParameters): adjust
14118
14119 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14120
14121         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14122         index; also, check that there is something to index, and that it
14123         does not span over several paragraphs.
14124         (doubleClick): use WHOLE_WORD_STRICT for double click.
14125
14126         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14127
14128         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14129         scheme.
14130
14131 2001-07-26  Baruch Even  <baruch@lyx.org>
14132
14133         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14134         an InsetFig figure, backwards compatible reading of old figure code.
14135
14136 2001-07-27  Juergen Vigna  <jug@sad.it>
14137
14138         * text2.C: font.realize function adaption.
14139
14140         * text.C (draw): add a warnings lyxerr text if needed.
14141
14142         * layout.C: font.realize function adaption.
14143
14144         * language.C: add inherit_language and implement it's handlings
14145
14146         * bufferview_funcs.C (StyleReset): remove language parameter from
14147         font creation (should be language_inherit now).
14148
14149         * bufferparams.C (writeFile): handle ignore_language.
14150
14151         * paragraph.C (getFontSettings): the language has to be resolved
14152         otherwise we have problems in LyXFont!
14153
14154         * lyxfont.C (lyxWriteChanges): added document_language parameter
14155         (update): removed unneeded language parameter
14156
14157         * paragraph.C (validate): fixed wrong output of color-package when
14158         using interface colors for certain fonts in certain environments,
14159         which should not seen as that on the final output.
14160
14161 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14162
14163         * BufferView_pimpl.C:
14164         * Thesaurus.h:
14165         * Thesaurus.C:
14166         * Makefile.am:
14167         * commandtags.h:
14168         * LyXAction.C: add thesaurus support
14169
14170         * lyxfind.h:
14171         * lyxfind.C: add "once" parameter, for thesaurus, to not
14172           move to the next match
14173
14174 2001-07-26  Juergen Vigna  <jug@sad.it>
14175
14176         * lyxfont.C (realize): honor ignore_language too!
14177         (resolved): ditto.
14178
14179         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14180
14181         * text.C (draw): one place more for ignore_language to not draw
14182         itself!
14183
14184 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14185
14186         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14187
14188 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14189
14190         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14191         the minipage conversion problem.
14192
14193 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14196         insert an inset.
14197
14198 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14199
14200         * BufferView.h: don't forward declare WorkArea
14201
14202         * BufferView.C: don't include WorkArea.h
14203
14204 2001-07-25  André Pönitz <poenitz@gmx.net>
14205
14206         * commandtags.h:
14207         * LyXAction.C:
14208         * lyxfunc.C:  new LFUN 'math-space'
14209
14210         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14211
14212 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14213
14214         * text2.C (toggleInset): call open/close
14215
14216 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14217
14218         * lyxfunc.C (dispatch): add debug for the disabled case
14219
14220         * font.C (buttonText): make similar to rectText
14221
14222         * buffer.C (readInset): comment out parsing of insetlist and
14223         insttheorem
14224
14225         * PainterBase.C (rectText): small correction
14226
14227         * BufferView_pimpl.C: comment out insettheorem and insetlist
14228         * LyXAction.C: ditto
14229         * commandtags.h: ditto
14230
14231 2001-07-24  Juergen Vigna  <jug@sad.it>
14232
14233         * text.C (draw): honor the ignore_language.
14234
14235         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14236
14237 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14238
14239         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14240         char inset.
14241
14242 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14243
14244         * lyxtext.h: remove unused (and unimplemented) methods
14245
14246 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14247
14248         * text.C (getVisibleRow): honor background color
14249
14250         * PainterBase.h:
14251         * Painter.h: remove default color argument for fillRectangle
14252
14253         * text.C (backgroundColor): new method
14254
14255 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14256
14257         * text.C (getVisibleRow): adjust
14258
14259         * font.[Ch] (rectText): new method, metrics
14260         (buttonText): new method, metrics
14261
14262         * PainterBase.[hC]: make rectText and buttonText always draw and take
14263         fewer paramteres.
14264
14265 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14266
14267         * ToolbarDefaults.C (read):
14268         * MenuBackend.C (read): allow escaping in all strings
14269
14270         * BufferView_pimpl.C (insertAndEditInset): new method.
14271         (Dispatch): use insertAndEditInset whenever appropriate.
14272
14273         * BufferView_pimpl.C (insertNote): removed
14274
14275         * BufferView_pimpl.C (smartQuote): new method, moved from
14276         BufferView; if an insetquote cannot be inserted, insert a '"'
14277         character instead.
14278
14279         * BufferView2.C: remove insertCorrectQuote();
14280
14281         * lyxfunc.C (getStatus): Add support for all remaingin
14282         inset-insert lfuns.
14283
14284         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14285
14286         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14287         command (necessary to pass " as parameter of self-insert.
14288
14289         * text.C (selectWordWhenUnderCursor):
14290         (selectWord): add word_location parameter
14291         (selectWordWhenUnderCursor): same + remove special code for word
14292         boundary.
14293         (selectNextWord): use kind() to guess type of insetspecialchar,
14294         not latex().
14295
14296         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14297         (insertErtContents): create ert insets as collapsed.
14298         (readInset): better compatibility code for Info inset.
14299
14300 2001-07-20  Juergen Vigna  <jug@sad.it>
14301
14302         * lyxfunc.C (dispatch): use always LyXFind now!
14303
14304         * text2.C (init): add a reinit flag so that the LyXText can be
14305         reinited instead of deleted and reallocated (used in InsetText).
14306
14307         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14308
14309         * text.C: ditto
14310
14311         * text2.C: ditto
14312
14313 2001-07-18  Juergen Vigna  <jug@sad.it>
14314
14315         * text.C (selectNextWord): handle insets inside inset by calling
14316         always the bv->text functions so that we can go up the_locking_inset!
14317
14318         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14319         in strange locations when inside an inset!
14320
14321         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14322         handling to include insets.
14323
14324         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14325
14326 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14327
14328         * LyXAction.C (init):
14329         * commandtags.h:
14330         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14331         LIGATURE_BREAK, since the name is so stupid.
14332
14333 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14334
14335         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14336         InsetInfos.
14337
14338         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14339
14340         * sp_form.[Ch]: remove.
14341
14342         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14343
14344         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14345         InsetInfo.
14346
14347         * src/buffer.C (readInset): ditto.
14348
14349 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14350
14351         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14352         menuSeparator(), endOfSentenceDot(), ldots() and
14353         hyphenationPoint(), which are therefore removed.
14354         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14355
14356         * LyXAction.C (init):
14357         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14358
14359         * paragraph.C (getWord): removed.
14360
14361         * BufferView_pimpl.C (Dispatch): use last word or selection for
14362         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14363
14364         * lyx_main.C (queryUserLyXDir): do not ask before creating
14365         user_dir, except if it has been named explicitely.
14366
14367 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14368
14369         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14370         a document of zero size.
14371
14372 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14373
14374         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14375         approriately in the c-tor and in require().
14376         (getPackages): output the appropriate LaTeX for natbib support.
14377
14378         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14379         variables "use_natbib" and "use_numerical_citations" when reading the
14380         LyX file.
14381         (readInset): read the various natbib cite commands.
14382         (validate): white-space change.
14383
14384         * bufferparams.[Ch]: new variables "bool use_natbib" and
14385         "bool use_numerical_citations".
14386         (writeFile): output them in the LyX file.
14387
14388 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14389
14390         * lyxfunc.C (getStatus): add support for all the inset insertion
14391         commands.
14392
14393         * text2.C (insertInset):
14394         * paragraph.C (insetAllowed):
14395         * BufferView_pimpl.C (insertInset): update to take in account the
14396         renaming of insertInsetAllowed
14397
14398         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14399
14400         * text2.C (getInset): new method. returns inset at cursor position.
14401
14402         * BufferView_pimpl.C (Dispatch): changes because of this.
14403
14404         * LyXAction.C (init): rename open-stuff to inset-toggle.
14405
14406         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14407
14408         * text2.C (toggleInset): renamed from openStuff; use
14409         Inset::open().
14410
14411 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14412
14413         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14414
14415         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14416
14417 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14418
14419         * buffer.C (readLyXformat2): Add filename to the error dialog
14420
14421 2001-07-18  Juergen Vigna  <jug@sad.it>
14422
14423         * tabular.C (GetCellNumber): put an assert here instead of the check!
14424
14425 2001-07-17  Juergen Vigna  <jug@sad.it>
14426
14427         * BufferView_pimpl.C (toggleSelection): adapted too.
14428
14429         * text.C (selectNextWord): adapted for use with insets.
14430         (selectSelectedWord): ditto
14431
14432 2001-07-17  Juergen Vigna  <jug@sad.it>
14433
14434         * sp_spell.C (PSpell): fix initialitation order.
14435
14436 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * paragraph.C: spacing
14439
14440 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14441
14442         * sp_spell.C: repair language selection for pspell
14443
14444 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14445
14446         * lyxfunc.h: change more methods to begin with lower char.
14447
14448 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14449
14450         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14451         for unknown layouts.
14452
14453 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14454
14455         * buffer.C (readLyXformat2): Generate an error dialog if there are
14456         unknown layouts.
14457
14458 2001-07-16  Juergen Vigna  <jug@sad.it>
14459
14460         * sp_spell.C: always compile ISpell part.
14461
14462         * lyxrc.C: added use_pspell entry and it's handling.
14463
14464 2001-07-13  Juergen Vigna  <jug@sad.it>
14465
14466         * sp_spell.C: removed double includes.
14467
14468 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14469
14470         Consistent use of Lsstream.h:
14471         * Lsstream.h: added using std::stringstream for consistencies sake.
14472
14473         * buffer.C: removed using std::stringstream
14474
14475         * lyxfont.C (stateText):
14476         * paragraph.C (asString):
14477         * text.C (selectNextWord, selectSelectedWord):
14478         * text2.C (setCounter):
14479         * vspace.C (asString, asLatexString):
14480         std::ostringstream -> ostringstream.
14481
14482 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14483
14484         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14485         * commandtags.h: add LFUN_HELP_ABOUTLYX
14486         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14487
14488 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14489
14490         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14491         cursorToggle()
14492         * lyx_gui_misc.C: remove spellchecker
14493         * lyxfunc.C: showSpellchecker
14494         * sp_base.h: added
14495         * sp_ispell.h: added
14496         * sp_pspell.h: added
14497         * sp_spell.C: added
14498         * sp_form.[Ch]: removed
14499         * spellchecker.[Ch]: removed
14500
14501 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14502
14503         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14504         is set.
14505         (simpleTeXSpecialChars): Simply print the input character without
14506         any special translation if pass_thru is set.
14507
14508         * layout.h: Added bool pass_thru to layout class for being able to
14509         implement pass through of a paragraph for Literate Programming.
14510
14511         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14512         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14513         * layout.C (Read): add "passthru" to list of layout tags and add
14514         code to set the pass_thru boolean when it is read.
14515
14516 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14517
14518         * trans_decl.h: remove allowed from KmodInfo
14519
14520         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14521         remove allowed code
14522         (Load): adjust
14523
14524         * paragraph_pimpl.C (erase): use boost::prior
14525
14526         * Painter.C (text): use data() instead of c_str() when length is
14527         also provided.
14528         * WorkArea.C (putClipboard): ditto
14529         * font.h (width): ditto
14530
14531         * BufferView2.C: use it-> instead of (*it). for iterators
14532         * texrow.C: ditto
14533         * paragraph_pimpl.C: ditto
14534         * paragraph.C: ditto
14535         * minibuffer.C: ditto
14536         * language.C: ditto
14537         * kbmap.C: ditto
14538         * encoding.C: ditto
14539         * counters.C: ditto
14540         * converter.C: ditto
14541         * chset.C: ditto
14542         * Variables.C: ditto
14543         * TextCache.C: ditto
14544         * MenuBackend.C: ditto
14545         * LyXAction.C: ditto
14546         * LColor.C: ditto
14547         * FloatList.C: ditto
14548         * DepTable.C: ditto
14549         * ColorHandler.C (LyXColorHandler): ditto
14550
14551 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14554
14555         * text2.C (openStuff): reintroduce this method (which had been
14556         nuked in NEW_INSETS frenzy).
14557
14558         * lyxfunc.C (Dispatch): when an action has not been handled, use
14559         its name in the error message, not its number.
14560
14561         * paragraph.C (inInset): change method name to begin with lowercase.
14562
14563         * undo_funcs.C:
14564         * text2.C: updates because of this.
14565
14566 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * ToolbarDefaults.C (add): add spaces in error message
14569
14570 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14571
14572         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14573         (readLyXformat2): rename return_par to first_par, use lyxlex's
14574         pushToken and remove the manual push handling.
14575         (parseSingleLyXformat2Token): add another ert comp. variable:
14576         in_tabular, rename return_par to first_par. handle newlines better
14577
14578 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14579
14580         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14581
14582 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14583
14584         * text2.C (getParFromID): removed
14585
14586         * buffer.C (getParFromID): new method moved form lyxtext.
14587         * BufferView2.C (insertErrors): adjust
14588         (setCursorFromRow): adjust
14589         * BufferView_pimpl.C (restorePosition): adjust
14590         * lyxfunc.C (Dispatch): adjust
14591         * undo_funcs.C (textUndo): adjust
14592         (textRedo): adjust
14593         (textHandleUndo): adjust
14594         (textHandleUndo): adjust
14595
14596 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14597
14598         * buffer.C: up' the LYX_FORMAT
14599
14600         * lyxfont.h: turn NO_LATEX on as default
14601
14602         * buffer.C (insertErtContents): new methods of tex style compability.
14603         (parseSingleLyXformat2Token): use it several places.
14604         * tabular.C (OldFormatRead): and here
14605
14606 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14607
14608         * text2.C: remove some commented code.
14609         reindent file.
14610
14611         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14612         * trans.C: changes because of the above.
14613
14614 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14615
14616         * text2.C (setCounter): Fix counters bug with bibliography layout.
14617
14618 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14619
14620         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14621         own member functions
14622         (simpleTeXSpecialChars): ditto
14623
14624 2001-07-06  Juergen Vigna  <jug@sad.it>
14625
14626         * a lot of files: changed the access to LyXText::status and the
14627         call of undo-functions.
14628
14629         * undo.[Ch]: added a inset_id to the undo informations.
14630
14631         * undo_funcs.[Ch]: added and moved here all undo functions.
14632
14633         * lyxtext.h: give the status enum a weight, made status_ a private
14634         variable and made accessor functions for it, removed the whole bunch
14635         of undo-functions as they are now in their own file, make some
14636         functions publically available. Added function ownerParagraph with
14637         int parameter.
14638
14639         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14640         made InInset() a const function, added getParFromID() function.
14641
14642         * buffer.[Ch]: added const version for inset_iterator functions,
14643         added getInsetFromID() function.
14644
14645         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14646         changed undo functions for new version.
14647
14648 2001-07-05  Juergen Vigna  <jug@sad.it>
14649
14650         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14651         unknow mechanism does not call the proper constructor but only this
14652         one also if I request the other!?
14653
14654 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14655
14656         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14657
14658         * text2.C (LyXText): use initialization lists.
14659
14660         * lyxtext.h (Selection): initialize set_ and mark_
14661         (init): remove method
14662
14663 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14664
14665         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14666
14667 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14668
14669         * screen.[Ch]: change method names to begin with lowercase
14670
14671         * BufferView_pimpl.C (updateScrollbar): simplify further and
14672         hopefully make it a bit faster.
14673
14674 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14675
14676         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14677         calling directly xforms functions.
14678
14679         * Painter.C (Painter):
14680         * lyx_cb.C (MenuWrite):
14681         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14682         fl_display.
14683
14684         * lyx_gui.C: remove bogus guiruntime extern declaration.
14685
14686 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14687
14688         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14689         in NEW_INSETS
14690         (redoDrawingOfParagraph): ditto
14691         (redoParagraphs): ditto
14692         (cutSelection): don't create a object for CutAndPaste use the
14693         static method directly
14694         (pasteSelection): ditto
14695
14696         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14697         LyXview (+ rename)
14698
14699 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14700
14701         * modifications to some other files because of this.
14702
14703         * Makefile.am (lyx_SOURCES): add XFormsView
14704
14705         * XFormsView.[Ch]: new files
14706
14707         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14708         the main window. Move the gui dependent stuff to XFormsView
14709
14710 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * tabular.C (GetCellInset): update cur_cell also in the row/col
14713         version of this function.
14714
14715         * lyxfunc.C: no need to include figure_form.h here.
14716
14717         * FontLoader.h:
14718         * lyxfunc.h:
14719         * lyxscreen.h:
14720         * text2.C:
14721         * lyxvc.C: no need to include forms.h here.
14722
14723 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14726
14727         * lyxfunc.C (Dispatch):
14728         * Spacing.C (set):
14729         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14730         constructor argument.
14731
14732 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * paragraph.C (Paragraph): dont't clear, and just set layout.
14735         (makeSameLayout): use params's copy contructor.
14736
14737         * ParagraphParameters.[Ch] (makeSame): delete method
14738
14739 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * Variables.[Ch]: fix indentation, rename set to isSet
14742
14743 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14744
14745         * lyxfunc.C (Dispatch): fix typo
14746
14747 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14750         upper_bound.
14751
14752         * bufferlist.C: include assert.h for emergencyWrite().
14753
14754 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14755
14756         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14757           give up at last (bug #425202) !
14758
14759 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * lyx_gui_misc.C:
14762         * sp_form.h:
14763         * sp_form.C:
14764         * spellchecker.h:
14765         * spellchecker.C: strip spellchecker options and bring up
14766           preferences tab instead
14767
14768 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14771         the istringstream constructor
14772
14773 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14774
14775         * paragraph.C (getLayout): fix return value
14776
14777         * paragraph.h: do not declare getLayout as inline.
14778
14779         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14780
14781 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14782
14783         * lyxcursor.h (operator<): new func
14784         (operator>): new func
14785         (operator>=): new func
14786         (operator<=): new func
14787
14788         * text.C (changeCase): use selection.start and selection.end
14789         (changeRegionCase): require from to be <= to. Require par to be a
14790         valid paragraph.
14791
14792         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14793
14794 2001-06-27  Juergen Vigna  <jug@sad.it>
14795
14796         * text.C (cursorLeftOneWord): changed to return the cursor and added
14797         overlay with BufferView * parameter which calls this one.
14798         (getWord): added
14799         (selectWord): use new getWord function.
14800         (changeCase): renamed from changeWordCase as and extended to work
14801         also on selections.
14802
14803         * lyxtext.h: added enum word_location
14804
14805         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14806         changeCase as this operates now also on selections.
14807
14808 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14809
14810         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14811
14812         * many files: send debug output to Debug::INFO instead of
14813         Debug::ANY.
14814
14815         * converter.C (View):
14816         (Convert):
14817         (Move): send debug output to Debug::FILES instead of console.
14818
14819 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14820
14821         * lyxfunc.C (getStatus): use func_status
14822
14823         * func_status.h: new header, describing the results of
14824         LyXFunc::getStatus;
14825
14826         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14827         LFUN_MATH_HALIGN.
14828
14829 2001-06-25  The LyX Project  <jug@sad.it>
14830
14831         * buffer.C (sgmlOpenTag):
14832         (sgmlCloseTag):
14833         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14834
14835 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * text2.C: remove some dead code
14838
14839         * tabular.C (GetCellInset): store the last cell checked (gotten)
14840
14841         * tabular.h: add the helper for the speedup
14842
14843         * lyxtext.h: remove some dead code
14844
14845 2001-06-26  The LyX Project  <Asger>
14846
14847         * paragraph.C: Change export to LaTeX of alignment to
14848         \begin{center} and family for better roundtrip work with reLyX.
14849
14850         * Tune the math drawing a bit.
14851
14852 2001-06-25  The LyX Project  <Asger>
14853
14854         * LColor.C (LColor): New color for math background. New color
14855         for buttons.
14856
14857 2001-06-25  The LyX Project  <jug@sad.it>
14858
14859         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14860
14861         * lyxfunc.C (Open):
14862         * bufferlist.C (newFile): do not restrict to files ending with
14863         .lyx
14864
14865         * BufferView_pimpl.C (MenuInsertLyXFile):
14866
14867 2001-06-24  The LyX Project  <jug@sad.it>
14868
14869         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14870         of compare_no_case
14871
14872 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14873
14874         * lyxtext.h: rename most methods to begin with a small char.
14875         Lots of changes because of this.
14876
14877         * paragraph.C (Paragraph): do not call fitToSize
14878         (erase): call Pimpl::erase
14879         (insertChar): call Pimpl::insertChar
14880         (insertInset): call Pipl::insertInset
14881         (breakParagraph): do not call fitToSize
14882         (breakParagraphConservative): do not call fitToSize
14883         (fitToSize): remove method
14884
14885         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14886
14887 2001-06-24  The LyX Project  <Asger>
14888
14889         * Fix Qt compilation^2
14890
14891 2001-06-24  The LyX Project  <jug@sad.it>
14892
14893         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14894         depthHook(getDepth()-1).
14895
14896         * paragraph.h:
14897         * ParagraphParameters.h:
14898         * ParameterStruct.h: change type of depth to unsigned int ==
14899         depth_type. Many adaptations to other files before of that.
14900
14901 2001-06-24  The LyX Project  <Asger>
14902
14903         * Fix Qt compilation.
14904
14905 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * paragraph.h: renamed several methods to begin with small letter.
14908         several changes to many parts of the code because of this.
14909
14910 2001-06-23  The LyX Project  <jug@sad.it>
14911
14912         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14913         rewritten to discard all double spaces when KeepEmpty is off
14914         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14915         to only handle newlines but not fiddle with spaces and friends.
14916
14917         * lyxfunc.C (MenuNew): when doing 'new from template', use
14918         template_path as default directory
14919
14920 2001-06-23  The LyX Project  <Asger>
14921
14922         * Clean-up of header file includes all over
14923         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14924
14925 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14926
14927         * paragraph.h: renamed from lyxparagraph.h
14928
14929 2001-06-23  Asger  <lyx@violet.home.sad.it>
14930
14931         * Buffer.h: Removed Buffer::resize
14932         * BufferList.h: Removed BufferList::resize
14933         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14934         the document lazily when we change the width, or the font settings.
14935
14936 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14939
14940 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14941
14942         * buffer.h: remove out of date comment
14943
14944 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14945
14946         * lyxscreen.h:
14947         * screen.C: fix "theoretical" GC leak
14948
14949 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14950
14951         * LaTeX.C (scanAuxFile):
14952         (deplog): remove trailing \r when reading stream (useful under
14953         win32)
14954
14955 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14956
14957         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14958         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14959         and BufferView::theLockingInset(Inset*), so should use them and not
14960         access bv_->text->the_locking_inset directly.
14961
14962         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14963
14964 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14965
14966         * Makefile.am:
14967         * tex-defs.h: remove old unused file
14968
14969 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14970
14971         * BufferView_pimpl.C: fix typo, remove minibuffer message
14972           when buffer has loaded
14973
14974 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14975
14976         * lyxfunc.C (Dispatch): use stringstream
14977         (MenuNew): use stringstream
14978         (Open): use stringstream
14979
14980         * importer.C (Import): use stringstream
14981
14982         * bufferview_funcs.C (CurrentState): use stringstream
14983
14984         * LaTeX.C (run): use stringstream
14985
14986         * BufferView_pimpl.C (savePosition): use stringstream
14987         (restorePosition): use stringstream
14988         (MenuInsertLyXFile): use stringstream
14989
14990 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14991
14992         * BufferView.C:
14993         * Bullet.C:
14994         * ColorHandler.C:
14995         * FontInfo.C:
14996         * FontLoader.C:
14997         * LColor.C:
14998         * LaTeXFeatures.C:
14999         * Painter.C:
15000         * gettext.C:
15001         * lyx_gui_misc.C:
15002         * lyxserver.C:
15003         * vspace.C: removed // -*- C++ -*- as first line.
15004
15005         * lyxfind.h:
15006         * version.h: added // -*- C++ -*- as first line.
15007
15008 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15009
15010         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15011
15012         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15013         of string
15014
15015 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15016
15017         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15018         of floats.
15019
15020 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15021
15022         * gettext.C: include LString.h even when --disable-nls is on.
15023
15024 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15025
15026         * converter.h (Get): changed argument type from int to
15027         FormatList::size_type to avoid unnecessary conversion.
15028
15029         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15030         before using it.
15031
15032 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15033
15034         * gettext.h: include LString.h even when --disable-nls is on.
15035
15036 2001-06-07  Juergen Vigna  <jug@sad.it>
15037
15038         * text.C (BreakAgain): subst spaces with tabs.
15039
15040         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15041         (resizeInsetsLyXText): set force on resizeLyXText.
15042
15043 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15044
15045         * gettext.h (gettext_init):
15046         (locale_init): use a real definition instead of a macro
15047
15048 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15049
15050         * Bufferview_pimpl.C:
15051         * LColor.h:
15052         * LColor.C: further lcolor tidies
15053
15054 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15055
15056         * BufferView_pimpl.C (updateScrollbar): simplify.
15057
15058         * BufferView2.C: don't include insets/insetinfo.h, change
15059         prototype for insertInset and call the Pimpl version. let
15060         updateInset call Pimpl version.
15061
15062         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15063         gotoInset to BufferView::Pimpl
15064
15065 2001-06-01  Juergen Vigna  <jug@sad.it>
15066
15067         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15068         inside a LockingInset (is the update needed at all?).
15069
15070 2001-05-31  Juergen Vigna  <jug@sad.it>
15071
15072         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15073         here not the old one otherwise how should we compare it afterwards
15074         if it's the same!
15075
15076 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15077
15078         * lyxfont.C:
15079         * tabular.C:
15080         * tabular-old.C:
15081         * FontInfo.C: bring C functions into global namespace when
15082         necessary
15083
15084 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15085
15086         * LString.h: make sure config.h has been loaded before LString.h.
15087
15088         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15089         (one for each char read by EatLine!).
15090
15091         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15092         variables.
15093
15094 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15095
15096         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15097         to the same as the par we break from
15098
15099 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15100
15101         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15102
15103         * MenuBackend.C (expand): also create menu entries for wide
15104         versions of the floats.
15105
15106         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15107
15108         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15109
15110         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15111         frontends/Makefile.am
15112
15113         * text2.C: adjust
15114         * text.C: adjust
15115
15116
15117         * tabular.C (getTokenValue): add std::
15118
15119         * tabular-old.C (getTokenValue): add std::
15120         (getTokenValue): ditto
15121         (getTokenValue): ditto
15122
15123         * screen.C (ToggleSelection): adjust
15124
15125         * lyxtext.h: put selection cursors inside a Selection struct.
15126
15127         * lyxfunc.C (moveCursorUpdate): adjust
15128
15129         * lyxfont.C (latexWriteStartChanges): add std::
15130
15131         * lyxfind.C: adjust
15132
15133         * font.h: delete with(char const *, LyXFont const &)
15134
15135         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15136
15137         * FontInfo.C (getFontname): add std::
15138
15139         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15140         (workAreaButtonPress): adjust
15141         (tripleClick): adjust
15142         (update): adjust
15143         (moveCursorUpdate): adjust
15144         (Dispatch): adjust
15145
15146         * BufferView2.C (gotoInset): adjust
15147
15148 2001-05-30  Juergen Vigna  <jug@sad.it>
15149
15150         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15151         to check pspell I add this as default as I now have new pspell
15152         libraries and they seem to use this.
15153
15154 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15155
15156         * text2.C (CutSelection): make the cursor valid before the call to
15157         ClearSelection.
15158
15159 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15160
15161         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15162         relied on 0 terminated strings and other horrors. Bug found due to
15163         the new assert in lyxstring!
15164
15165         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15166         KP_ keys.
15167
15168 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15169
15170         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15171         to latinkeys.bind.
15172
15173         * lyxfunc.C (processKeySym): change method of getting to the
15174         self-insert char.
15175
15176         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15177         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15178         * BufferView_pimpl.[Ch]: here as private methods.
15179
15180 2001-05-28  Juergen Vigna  <jug@sad.it>
15181
15182         * text.C (SetHeightOfRow): added the update() call again as it is
15183         needed to initialize inset dimensions!
15184
15185 2001-05-16  Juergen Vigna  <jug@sad.it>
15186
15187         * text2.C (SetCharFont): Add new function with BufferView * and
15188         bool toggleall parameters for setting insets internal fonts.
15189         (SetFont): Freeze the undo as we may change fonts in Insets and
15190         all this change should be inside only one Undo!
15191
15192         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15193         setting font's in insets as for them we have the SetFont function!
15194
15195 2001-05-15  Juergen Vigna  <jug@sad.it>
15196
15197         * text2.C (ClearSelection): to be sure we REALLY don't have any
15198         selection anymore!
15199
15200         * tabular.C (TeXCellPreamble): fixed the left border problem for
15201         multicolumn cells.
15202
15203 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15204
15205         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15206         dependancy file
15207
15208 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15211         LFUN_BREAKPARAGRAPH.
15212
15213         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15214         help test to "internal only", similar for LFUN_INSERT_URL
15215
15216         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15217         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15218         auto_region_delete and deadkeys.
15219
15220 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15221
15222         * LColor.h:
15223         * LColor.C: remove some dead entries, tidy a little
15224
15225 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15228         commented code.
15229         (Dispatch): implement LFUN_ESCAPE
15230
15231         * commandtags.h: add LFUN_ESCAPE
15232
15233         * LyXAction.C (init): add entry for LFUN_ESCAPE
15234
15235         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15236         Remove commented code.
15237         (insertNote): moved here
15238         (open_new_inset): moved here
15239
15240         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15241         BufferView_pimpl
15242
15243 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15244
15245         * kbmap.C (findbinding): clean it up and make it work correctly.
15246
15247         * lyx_main.C (init): do not pass argc and argv as parameters
15248
15249 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15250
15251         * buffer.C: fix path for OS/2 & Win32
15252
15253         * lyx_gui.C:
15254         * lyx_main:
15255         * lyx_main.C: Added os:: class.
15256
15257         * os2_defines.h: update
15258
15259 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15260
15261         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15262         better by trying again with reduced state.
15263
15264 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15265
15266         * lyxrc.C (read): print error about invalid key sequence only when
15267         debugging (because not all latinX keysyms are known to some X
15268         servers)
15269
15270         * kbsequence.C (getiso): add a few std:: qualifiers
15271         (getiso): comment out extra return statement.
15272
15273 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15276         handling.
15277         (Dispatch): enhance the accent inset a bit. (not perfect)
15278
15279 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15280
15281         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15282
15283 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15284
15285         * bufferlist.C (emergencyWrite): fix assert() call
15286
15287 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15288
15289         * text.C (InsertChar): Added trivial patch to only send the "you
15290         can not do multiple spaces this way" message once during a
15291         session.
15292
15293 2001-05-08  Baruch Even  <baruch@lyx.org>
15294
15295         * Makefile.am: Changed order of libraries to get LyX to link properly
15296         with the gnome frontend.
15297
15298 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * LaTeXFeatures.h: add a std:: qualifier
15301
15302 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15303
15304         * paragraph.C (String): use stringstream
15305
15306 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15307
15308         * paragraph.C (writeFile): remove footflag arg
15309
15310         * buffer.C (makeLaTeXFile): use stringstream
15311         (latexParagraphs): remove footnot gurba
15312
15313         * LaTeXFeatures.C (getPackages): use stringstream
15314         (getMacros): likewise
15315         (getTClassPreamble): likewise
15316         (getFloatDefinitions): new method
15317
15318         * paragraph.C (writeFile): reindent
15319         (Erase): reindent
15320
15321         * WorkArea.h: revert the xpos + etc changes.
15322
15323         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15324
15325         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15326
15327         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15328         (pasteSelection): likewise
15329         * text2.C (CreateUndo): likewise
15330
15331 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15332
15333         * minibuffer.C (peek_event): temporarily reduce the functionality
15334         of the minibuffer (to allow args on lfuns)
15335
15336         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15337         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15338
15339         * buffer.C (readInset): add compability reading of old float
15340         lists, add reading of new style float list.
15341         (readInset): avoid reevaluation of inscmd.getCmdName()
15342         (getLists): reindent
15343
15344         * MenuBackend.C (MenuItem): implement parsing of
15345         md_floatlistinsert and md_floatinsert.
15346         (expand::LastFiles): move initalizaton of iterators out of loop,
15347         avoid reevaluation.
15348         (expand::Documents): introduce typdedef vector<string> Strings,
15349         and use it.
15350         (expand::ExportFormats): introduce typedef vector<Format const *>
15351         Formats, and use it.
15352         (expand): implement FloatListInsert and FloatInsert.
15353
15354         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15355         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15356         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15357
15358         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15359         handling.
15360         (Dispatch::LFUN_FLOAT_LIST): implement
15361
15362 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15363
15364         * LaTeX.C (run): Fix problem with --export code.
15365
15366 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15367
15368         * BufferView.[Ch] (workarea): removed.
15369         (getClipboard) new method; wrapper for workarea()->getClipboard()
15370
15371         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15372         bug.
15373
15374         * WorkArea.h (width, height, xpos, ypos): These methods all
15375         returned the dimensions of the work_area sub-area of WorkArea,
15376         resulting in a position error if the WorkArea were resized. Now
15377         return the dimensions of the entire WorkArea.
15378
15379         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15380
15381 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15382
15383         * LaTeX.C (deplog): correct the syntax of regex reg1
15384
15385 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15386
15387         * undo.C: remove !NEW_INSETS cruft
15388
15389 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15390
15391         * text2.C: remove !NEW_INSETS cruft
15392
15393         * text.C: remove !NEW_INSETS cruft
15394
15395         * tabular.C: remove !NEW_INSETS cruft
15396
15397         * spellchecker.C: remove !NEW_INSETS cruft
15398
15399         * lyxtext.h: remove !NEW_INSETS cruft
15400
15401         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15402
15403         * lyxfunc.C: remove !NEW_INSETS cruft
15404
15405         * lyxfind.C: remove !NEW_INSETS cruft
15406
15407         * lyx_cb.C: remove !NEW_INSETS cruft
15408
15409         * figureForm.C: remove  !NEW_INSETS cruft
15410
15411         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15412
15413         * buffer.[Ch]: remove !NEW_INSETS cruft
15414
15415         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15416
15417         * CutAndPaste.C: remove !NEW_INSETS cruft
15418
15419         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15420
15421         * BufferView2.C: remove !NEW_INSETS cruft
15422
15423         * BufferView.h: remove !NEW_INSETS cruft
15424
15425 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15426
15427         * Lsstream.h: include LString.h before the sstream headers to
15428         fix problem with gcc 2.95.3 and lyxstring
15429
15430 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15431
15432         * lyx_main.C: add using directives when needed for C functions
15433         declared in std:: namespace.
15434
15435 2001-04-27  Juergen Vigna  <jug@sad.it>
15436
15437         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15438         (SetHeightOfRow): comment out the update call should not be needed!
15439
15440 2001-04-13  Juergen Vigna  <jug@sad.it>
15441
15442         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15443         (LyXTabular): tried to minimize operator= operations (and realized
15444         hopfully Lars wish).
15445
15446 2001-04-27  Juergen Vigna  <jug@sad.it>
15447
15448         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15449
15450 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15453
15454         * buffer.C (readInset): hack to make listof algorithm work
15455
15456         * BufferView_pimpl.C: hack to make listof algorithm work
15457
15458 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15459
15460         * LyXAction.C: removed all !NEW_INSETS cruft
15461         (init): moved lfun_item in method
15462
15463         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15464
15465 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15466
15467         * BufferView2.C (theLockingInset): white space.
15468
15469 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15470
15471         * minibuffer.C: include <iostream>
15472
15473         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15474
15475         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15476
15477         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15478
15479         * text.[Ch] (TransposeChars): new method
15480
15481 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15482
15483         * call message directly through LyXView instead of through LyXFunc
15484         * BufferView2.C: adjust
15485         * BufferView_pimpl.C: adjust
15486         * FontLoader.C: adjust
15487         * buffer.C: adjust
15488         * bufferview_funcs.C: adjust
15489         * converter.C: adjust
15490         * figureForm.C: adjust
15491         * importer.C: adjust
15492         * lyx_cb.C: adjust
15493         * lyx_gui_misc.C: adjust
15494         * lyxfunc.C: adjust
15495         * lyxvc.C: adjust
15496         * text2.C: adjust
15497         + more files in subdirs
15498
15499         * lyxparagraph.h (size): move up int file
15500         (GetLayout): ditto
15501
15502         * adjust all uses of Assert to lyx::Assert.
15503
15504         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15505         lyxfunctional in namespace lyx
15506         * layout.C (hasLayout): ditto
15507         (GetLayout): ditto
15508         (GetLayout): ditto
15509         (delete_layout): ditto
15510         (NumberOfClass): ditto
15511         * converter.C (GetFormat): ditto
15512         (GetNumber): ditto
15513         (Add): ditto
15514         (Delete): ditto
15515         (SetViewer): ditto
15516         * bufferlist.C (getFileNames): ditto
15517         (emergencyWriteAll): ditto
15518         (exists): ditto
15519         (getBuffer): ditto
15520         * MenuBackend.C (hasSubmenu): ditto
15521         (hasMenu): ditto
15522         (getMenu): ditto
15523         * BufferView_pimpl.C (getInsetByCode): ditto
15524
15525 2001-04-18  Juergen Vigna  <jug@sad.it>
15526
15527         * vspace.C (asLatexString): fixed the 100% problem.
15528
15529 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * lyxfunc.C (Dispatch):
15532         * minibuffer.C:
15533         * minibuffer.h: add a few std:: qualifiers
15534
15535 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15536
15537         * minibuffer.[Ch]: reimplement so that commands is initiated and
15538         run from lyxfunc, simplified som handling, and made the completion
15539         and history code for complete. wip.
15540
15541         * lyxfunc.C (processKeySym): call message
15542         (miniDispatch): new temporary method
15543         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15544         (LFUN_MESSAGE): implement
15545         (LFUN_MESSAGE_PUSH): implement
15546         (LFUN_MESSAGE_POP): implement
15547         (initMiniBuffer): the initial/defualt minibuffer message.
15548
15549         * lyxfont.[Ch]: inline some more getters
15550
15551         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15552
15553         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15554
15555         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15556         (AutoSave): use LFUN_MESSAGE
15557         (Reconfigure): ditto
15558
15559         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15560
15561         * figureForm.C: use LFUN_MESSAGE
15562
15563         * converter.C (runLaTeX): use LFUN_MESSAGE
15564
15565         * bufferview_funcs.C: use LFUN_MESSAGE
15566         (Melt): ditto
15567         (changeDepth): ditto
15568
15569         * bufferparams.h: use boost::
15570
15571         * bufferlist.h: inherit privately from noncopyable
15572
15573         * bufferlist.C (loadLyXFile): remove some commented code.
15574
15575         * buffer.C (runChktex): use LFUN_MESSAGE
15576
15577         * ShareContainer.h: inherit privately from noncopyable
15578
15579         * ParagraphParameters.[hC] (depth): inline it.
15580
15581         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15582         methods.
15583         (message): new method
15584         (messagePush): ditto
15585         (messagePop): ditto
15586         (show): init minibuffer
15587         (showState): direct call
15588
15589         * LaTeX.[Ch]: inherit privately from noncopyable
15590         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15591         instead of WriteStatus.
15592
15593         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15594
15595         * BufferView_pimpl.C (buffer): don't init minibuffer
15596         (workAreaButtonPress): use LFUN_MESSAGE
15597         (workAreaButtonRelease): ditto
15598         (savePosition): ditto
15599         (restorePosition): ditto
15600         (MenuInsertLyXFile): ditto
15601         (workAreaExpose): don't init minibuffer
15602         (update): remove commented code, simplify
15603
15604         * BufferView2.C (openStuff): use LFUN_MESSAGE
15605         (toggleFloat): ditto
15606         (menuUndo): ditto
15607         (menuRedo): ditto
15608         (copyEnvironment): ditto
15609         (pasteEnvironment): ditto
15610         (copy): ditto
15611         (cut): ditto
15612         (paste): ditto
15613         (gotoInset): ditto
15614         (updateInset): remove some commented code
15615
15616         * lastfiles.h: inherit privately from noncopyable
15617         * layout.h: ditto
15618         * lyx_gui.h: ditto
15619         * lyx_main.h: ditto
15620         * lyxlex.h: ditto
15621         * lyxlex_pimpl.h: ditto
15622
15623         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15624         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15625         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15626
15627         * LyXAction.h: inherit privately from noncopyable, add methods
15628         func_begin, func_end, returning iterators to the func map.
15629
15630         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15631         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15632         (func_begin): new method
15633         (func_end): new method
15634
15635         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15636         and not)
15637         (copySelection): ditto
15638         (pasteSelection): ditto
15639
15640         * BufferView.C: whitespace change
15641         * BufferView.h: inherit privately from noncopyable
15642
15643 2001-04-16  Allan Rae  <rae@lyx.org>
15644
15645         * tabular-old.C (l_getline):
15646         * spellchecker.C (sc_check_word):
15647         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15648         an unrecognised preprocessor directive.  So ensure they're wrapped.
15649
15650 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15651
15652         * src/exporter.C (Export): Give an error message when path to file
15653         contains spaces.
15654
15655 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15656
15657         * LaTeX.C (deplog): Always check that foundfile exists.
15658
15659 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15660
15661         * lyx_main.h:
15662         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15663
15664 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15665
15666         * tabular.[Ch] (getLabelList): implement new method
15667
15668         * minibuffer.h: comment ouf setTiimer
15669
15670         * minibuffer.C (ExecutingCB): constify res
15671         (peek_event): constify s
15672         (Set): constify ntext
15673         (Init): constify nicename
15674
15675         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15676
15677         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15678         (savePosition): use two params to Minibuffer::Set
15679         (restorePosition): ditto
15680
15681 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15682
15683         * lyx_main.C: include language.h
15684
15685         * Makefile.am (lyx_main.o): add language.h
15686
15687 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * exporter.C:
15690         * paragraph.C:
15691         * screen.C:
15692         * tabular.C:
15693         * CutAndPaste.C: include gettext.h
15694
15695         * lyxfont.h: remove old hack with ON and OFF.
15696
15697         * lyxparagraph.h:
15698         * lyxfont.h: do not include language.h...
15699
15700         * BufferView2.C:
15701         * LaTeXFeatures.C:
15702         * Painter.C:
15703         * bufferview_funcs.C:
15704         * font.C:
15705         * lyxfont.C:
15706         * text.C:
15707         * text2.C:
15708         * trans_mgr.C:
15709         * paragraph.C: ... but do it here instead
15710
15711 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15712
15713         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15714
15715         * tabular.C: small reformat
15716
15717         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15718         NEW_INSETS version
15719         (GetChar): ditto
15720         (BreakParagraph): ditto
15721         (SetOnlyLayout): ditto
15722         (SetLayout): ditto
15723
15724         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15725         with one arg less.
15726
15727         * lastfiles.C: removed most using decl, add std:: where needed
15728
15729         * buffer.C: ws changes
15730
15731         * MenuBackend.C (class compare_format): put into anon namespace
15732         (expand): constify label, names, action, action2
15733         (expand):
15734
15735         * text.C (SingleWidth): constify font
15736         (IsBoundary): constify rtl2
15737         (GetVisibleRow): constify ww
15738
15739         * LaTeX.C (deplog): constify logfile
15740
15741         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15742         start_x, end_x
15743         (workAreaExpose): constify widthChange, heightChange
15744
15745         * lyxrow.C (par): moved
15746         (height): moved
15747         (next): moved
15748         * lyxrow.h: as inlines here
15749
15750         * lyxfont.h (shape): moved from lyxfont.C
15751         (emph): moved from lyxfont.C
15752
15753         * lyxfont.C (LyXFont): use initialization list for all
15754         constructors
15755         (shape): move to lyxfont.h as inline
15756         (emph): move to lyxfont.h as inline
15757
15758
15759 2001-04-04  Juergen Vigna  <jug@sad.it>
15760
15761         * vspace.C: had to include stdio.h for use of sscanf
15762
15763 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15764
15765         * BufferView.h:
15766         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15767         independent of xforms.
15768
15769 2001-04-02  Juergen Vigna  <jug@sad.it>
15770
15771         * spellchecker.C: fixed namespace placing!
15772
15773 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15774
15775         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15776         the LyXParagraph * is 0.
15777
15778 2001-03-29  Juergen Vigna  <jug@sad.it>
15779
15780         * vspace.C: added support for %, c%, p%, l%.
15781         (stringFromUnit): added helper function.
15782         (asLatexString): changed to give right results for the %-values.
15783
15784         * buffer.C: convert the widthp in a width%.
15785
15786 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15787
15788         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15789         figureForm.[Ch].
15790
15791         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15792         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15793
15794         * lyx_cb.[Ch]: see above.
15795
15796         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15797         form1.[Ch].
15798
15799         * form1.[Ch]:
15800         * lyx.[Ch]: replaced by figure_form.[Ch].
15801
15802         * lyx_gui.C:
15803         * lyx_gui_misc.C:
15804         * lyxfunc.C: changed headers associated with above changes.
15805
15806 2001-03-27  Juergen Vigna  <jug@sad.it>
15807
15808         * BufferView_pimpl.C: set the temporary cursor right!
15809
15810 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15811
15812         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15813
15814 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15815
15816         * LString.h: removed "using std::getline"!
15817
15818         * BufferView_pimpl.C (Dispatch): changes due to changes in
15819         InsetInclude::Params.
15820
15821         * buffer.C (tag_name): removed redundant break statements as they were
15822         producing lots of warnings with my compiler.
15823
15824 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15825
15826         * LString.h: add "using std::getline" when using the real <string>.
15827
15828 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15829
15830         * buffer.C: removed bitset usage.
15831         PAR_TAG moved to an anonymous name space.
15832         (tag_name): new funtion, also in the anonymous namespace.
15833         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15834         (makeDocBookFile): clean code. Completed transition from string arrays
15835         to string vectors.
15836         (SimpleDocBookOnePar): code clean.
15837
15838 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15839
15840         * tabular.C: add some comments.
15841
15842 2001-03-22  Juergen Vigna  <jug@sad.it>
15843
15844         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15845         compatibility read a bit and fixed bug with minipage in different
15846         depth.
15847
15848 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15849
15850         * buffer.C (pop_tag): removed.
15851         (push_tag): removed.
15852         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15853         array replaced with vector. Added support for CDATA sections.
15854         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15855         at any nest level.
15856         (makeDocBookFile): XML conformant declaration of CDATA section,
15857         fixed bug related to <emphasis> in the first paragraph char.
15858         (sgmlOpenTag): exclude empty tags.
15859         (sgmlCloseTag): ditto.
15860
15861         * buffer.h (pop_tag): removed.
15862         (push_tag): removed.
15863
15864 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15865
15866         * language.h (Languages): added size_type and size().
15867
15868 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15869
15870         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15871         response on compability reading of minipages. One probliem is that
15872         the old usage of minipages was «flertydig»
15873
15874         * several files here and in subdirs: don't use static at file
15875         scope use anon namespaces instead.
15876
15877 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15878
15879         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15880         LaTeX output. This is necessary for Literate document
15881         processing.
15882
15883 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15884
15885         * buffer.C: insert hfill when needed.
15886
15887         * tabular.C (l_getline): use string::erase, small whitespace change.
15888
15889         * BufferView_pimpl.C: try the anon namespace.
15890         * WorkArea.C: ditto
15891
15892 2001-03-16  Juergen Vigna  <jug@sad.it>
15893
15894         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15895         otherwise it won't open options-dialogs.
15896
15897         * buffer.C: honor pextraWidth(p) on converting minipages.
15898
15899         * tabular.C (l_getline): changed the functions to strip trailing \r.
15900
15901 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15902
15903         * BufferView_pimpl.C:
15904         * minibuffer..C: added "using SigC::slot" declaration.
15905
15906 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15907
15908         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15909
15910         * text2.C: ditto
15911
15912         * text.C: ditto
15913
15914         * paragraph.C: ditto
15915
15916         * lyxtext.h: NO_PEXTRA
15917
15918         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15919
15920         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15921         * ParameterStruct.h: ditto
15922         * ParagraphParameters.h: ditto
15923         * lyxparagraph.h: ditto
15924
15925 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15926
15927         * buffer.C: add compability for minipage alignment.
15928         (latexParagraphs): remove unwanted pextra check.
15929
15930         * several files: remove CXX_WORKING_NAMESPACES
15931
15932         * buffer.C (pop_tag): tie is in namespace boost
15933
15934         * BufferView.h: noncopyable is in namespace boost
15935         * lyxlex.h: ditto
15936         * lyx_main.h: ditto
15937         * lyx_gui.h: ditto
15938         * layout.h: ditto
15939         * lastfiles.h: ditto
15940         * bufferlist.h: ditto
15941         * ShareContainer.h: ditto
15942         * LyXView.h: ditto
15943         * LyXAction.h: ditto
15944         * LaTeX.h: ditto
15945
15946 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15947
15948         * Merging changes from BRANCH_MVC back into HEAD.
15949
15950         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15951
15952 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15953
15954         * BufferView_pimpl.C: change from intl.C
15955
15956         * combox.h:
15957         * combox.C:
15958         * Makefile.am: move combox.*
15959
15960         * form1.h:
15961         * form1.C:
15962         * lyx_gui.C:
15963         * intl.h:
15964         * intl.C: remove dialog (covered by prefs)
15965
15966 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15967
15968         * lyxfunc.C (Dispatch): removed redundant break statement.
15969
15970 2001-03-14  Juergen Vigna  <jug@sad.it>
15971
15972         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15973
15974 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15975
15976         * buffer.C: add hack to fix compability reading of minipages.
15977
15978 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15979
15980         * buffer.C (getLists): Cleanup.
15981
15982 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15983
15984         * lyxfont.C (update): don't honor toggleall on font size.
15985
15986 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15987
15988         * bmtable.c:
15989         * bmtable.h:
15990         * Makefile.am: moved to frontends/xforms/
15991
15992         * lyx_gui_misc.C:
15993         * lyxfunc.C:
15994         * BufferView_pimpl.C: changes for moved mathpanel
15995
15996 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15997
15998         * gettext.h: fix gettext_init() in --disable-nls
15999
16000 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16001
16002         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16003
16004 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * lyx.C:
16007         * lyx.h: strip external form
16008
16009 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16010
16011         * BufferView_pimpl.C: add comment, destroySplash()
16012
16013 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16014
16015         * BufferView_pimpl.C:
16016         * LyXAction.C:
16017         * buffer.C:
16018         * commandtags.h:
16019         * lyxfunc.C: use re-worked insetinclude
16020
16021 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16022
16023         * buffer.C: add using std::stringstream.
16024
16025         * lyx_cb.C: readd using std::ios.
16026
16027         * buffer.C: add using std::map.
16028
16029         * BufferView_pimpl.C: add using std::vector.
16030
16031         * ShareContainer.h: add std:: to swap.
16032
16033         * buffer.h: add some typedefs
16034         * buffer.C (getLists): use them
16035         (getLists): renamed from getTocList.
16036         add a counter for the different float types and use it in the
16037         generated string.
16038         (getLists): use the same counter for the NEW_INSETS and the "non"
16039         NEW_INSETS
16040
16041         * lyx_cb.h: remove unused items, includes, using etc.
16042
16043         * ShareContainer.h: remove some commented code, add more comments
16044         and "documentation".
16045
16046 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16047
16048         * buffer.C (getTocList): make the list also when NEW_INSETS is
16049         defined.
16050
16051         * buffer.h: remove TocType
16052
16053         * buffer.C (getTocList): change to return a map<string,
16054         vector<TocItem> >, implement for dynamic number of list.
16055
16056         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16057         * text2.C (PasteSelection): adjust
16058         * CutAndPaste.C (pasteSelection): adjust
16059
16060         * FloatList.C (FloatList): update from the new_insets branch.
16061         * Floating.[Ch]: ditto
16062         * LaTeXFeatures.C: ditto
16063         * buffer.C: ditto
16064         * lyxlex_pimpl.C: ditto
16065
16066         * paragraph.C (Last): remove when NEW_INSETS is defined.
16067
16068         * other file: changes because of the above.
16069
16070 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16071
16072         * lyxparagraph.h: rename next to next_, previous to previous_,
16073         make them private for NEW_INSETS. Rename Next() to next(),
16074         Previous() to previous().
16075
16076         * other files: changes because of the above.
16077
16078 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * BufferView.h:
16081         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16082         problem.
16083
16084 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16085
16086         * main.C (main): pass lyx_localedir to gettext_init().
16087
16088         * gettext.h: remove locale_init and gettext_init macros
16089
16090         * gettext.C (locale_init): new function
16091         (gettext_init): new function
16092
16093         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16094         setlocale().
16095
16096 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16097
16098         * Moved credits to frontends:
16099         * credits.[Ch]: removed
16100         * credits_form.[Ch]: removed
16101         * lyx_gui_misc.C: remove credits stuff
16102         * Makefile.am:
16103
16104 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16105
16106         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16107
16108         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16109         unneeded destructor.
16110
16111         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16112         a standalone pointer again.
16113
16114         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16115
16116 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16117
16118         * Makefile.am:
16119         * filedlg.h:
16120         * filedlg.C:
16121         * LyXAction.C:
16122         * ToolbarDefaults.C:
16123         * bufferlist.C:
16124         * commandtags.h:
16125         * form1.C:
16126         * form1.h:
16127         * lyx_cb.C:
16128         * lyx_cb.h:
16129         * lyxfunc.h:
16130         * lyxfunc.C:
16131         * BufferView_pimpl.C: use new file dialog in GUII
16132
16133         * lyx_cb.h:
16134         * lyx_cb.C: remove LayoutsCB to Toolbar
16135
16136 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16137
16138         * ShareContainer.h (get): add std:: qualifier
16139
16140 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16141
16142         * ShareContainer.h: define a proper ShareContainer::value_type
16143         type (and use typename to please compaq cxx)
16144
16145 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16146
16147         * lyxparagraph.h: move serveral local vars to
16148         ParameterStruct/ParagraphParameters., use ShareContainer in
16149         FontTable., make vars in FontTable private and add getter and
16150         setter.
16151
16152         * paragraph.C: changes because of the above.
16153
16154         * lyxfont.h: remove copy constructor and copy assignment. (the
16155         default ones is ok), move number inside FontBits. move inlines to
16156         lyxfont.C
16157
16158         * lyxfont.C: add number to initializaton of statics, move several
16159         inlines here. constify several local vars. some whitespace
16160         cleanup. Dont hide outerscope variables.
16161
16162         * Spacing.h: add two new constructors to match the set methods.
16163
16164         * ShareContainer.h: new file, will perhaps be moved to support
16165
16166         * ParameterStruct.h: new file
16167
16168         * ParagraphParameters.h: new file
16169
16170         * ParagraphParameters.C: new file
16171
16172         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16173         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16174
16175         * BufferView_pimpl.C: ParagraphParameter changes.
16176         * buffer.C: Likewise.
16177         * bufferview_funcs.C: Likewise.
16178         * text.C: Likewise.
16179         * text2.C: Likewise.
16180
16181 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16182
16183         * lyxfind.C (LyXReplace): do not redefine default argument in
16184         implementation.
16185         (IsStringInText): ditto
16186         (SearchForward): ditto
16187         (SearchBackward): ditto
16188
16189 2001-03-06  Juergen Vigna  <jug@sad.it>
16190
16191         * lyxfind.C (IsStringInText): put parentes around expressions.
16192
16193 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16194
16195         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16196
16197 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16198
16199         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16200
16201         * stl_string_fwd.h: add comment
16202
16203         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16204
16205         * tabular.h:
16206         * tabular.C: remove unused DocBook methods
16207
16208         * intl.C:
16209         * language.C:
16210         * paragraph.C:
16211         * buffer.C:
16212         killed DO_USE_DEFAULT_LANGUAGE
16213
16214 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16215
16216         * lyx_gui.C: do not include language.h.
16217
16218         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16219         arguments in function implementation.
16220
16221 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16222
16223         * BufferView_pimpl.C: add <ctime>
16224
16225 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16226
16227         * BufferView_pimpl.C: add using std::find_if
16228
16229 2001-02-27  José Matos  <jamatos@fep.up.pt>
16230
16231         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16232         by OnlyPath.
16233
16234 2001-02-11  José Matos  <jamatos@fep.up.pt>
16235
16236         * buffer.C (makeDocBookFile): command styles now have a parameter as
16237         "title" by default.
16238
16239 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16240
16241         * layout_forms.[Ch]: removed
16242         * lyx_cb.[Ch]: out character
16243         * lyx_gui.C: out character
16244         * lyx_gui_misc.C: out character
16245         * bufferview_funcs.C: : out character,
16246         added toggleall as parameter in ToggleAndShow
16247
16248 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16249
16250         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16251
16252         * text2.C (SetCurrentFont): Disable number property at boundary.
16253
16254 2001-02-26  Juergen Vigna  <jug@sad.it>
16255
16256         * lyxfunc.C (getStatus): added a string argument override function so
16257         that this is correctly called from LyXFunc::Dispatch if it contains a
16258         do_not_use_argument which is used!
16259         (Dispatch): added check for "custom" export and call appropriate func.
16260
16261 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16262
16263         * lyxrc.C: Add language_command_local, language_use_babel and
16264         language_global_options.
16265
16266         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16267
16268         * buffer.C (makeLaTeXFile): Use language_use_babel and
16269         language_global_options.
16270
16271 2001-02-23  Juergen Vigna  <jug@sad.it>
16272
16273         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16274         which works with LyXText and putted it inside BufferView. Here now we
16275         only call for that part the BufferView::Dispatch() function.
16276
16277         * BufferView.C (Dispatch): added.
16278
16279         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16280         functions which needs to use a LyXText over from LyXFunc.
16281         (MenuInsertLyXFile): added
16282         (getInsetByCode): added
16283         (moveCursorUpdate): added
16284         (static TEXT): added
16285
16286 2001-02-22  Juergen Vigna  <jug@sad.it>
16287
16288         * BufferView_pimpl.C (update): call a status update to see if LyXText
16289         needs it.
16290
16291 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16292
16293         * vc-backend.C (revert): implement for CVS
16294         (getLog): implement for CVS
16295
16296 2001-02-20  Juergen Vigna  <jug@sad.it>
16297
16298         * text2.C (ClearSelection): added BufferView param for inset_owner call
16299
16300         * lyxfunc.C (TEXT): added this function and use it instead of
16301         directly owner->view()-text of getLyXText().
16302
16303 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16304
16305         * src/layout_forms.C: out preamble
16306         * src/layout_forms.h: out preamble
16307         * src/lyx_cb.C: out preamble
16308         * src/lyx_cb.h: out preamble
16309         * src/lyx_gui.C: out preamble
16310         * src/lyx_gui_misc.C: out preamble
16311         * src/lyxfunc.C: connect with guii preamble
16312
16313 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16314
16315         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16316
16317 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16318
16319         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16320         whether to run bibtex.
16321
16322 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16323
16324         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16325
16326 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16327
16328         * Makefile.am (lyx_SOURCES): removed bibforms.h
16329
16330         * vspace.h: doxygen
16331
16332         * text.C (GetVisibleRow): make several local vars const
16333
16334         * tabular.C: small cleanup.
16335
16336         * lyxserver.C (callback): use compare instead of strncmp
16337
16338         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16339         inlines to after class or to paragraph.C
16340
16341         * lyxfont.h: remove friend operator!=
16342
16343         * converter.h: move friend bool operator< to non friend and after
16344         class def.
16345
16346         * combox.h: small cleanup
16347
16348         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16349         to inlines after class def.
16350
16351         * buffer.C (pop_tag): use string operations instead of strcmp
16352
16353         * bmtable.c: doxygen, small cleanup
16354
16355         * LaTeX.h: remove friend operator==
16356
16357 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16358
16359         * screen.C:
16360         * lyxrc.[Ch]:
16361         * lyxfunc.C:
16362         * lyxfont.[Ch]:
16363         * lyx_cb.C:
16364         * intl.[Ch]:
16365         * commandtags.h:
16366         * buffer.C:
16367         * WorkArea.[Ch]:
16368         * LyXAction.C:
16369         * BufferView_pimpl.C:
16370         * BufferView.[Ch]: remove cruft
16371
16372 2001-02-14  Juergen Vigna  <jug@sad.it>
16373
16374         * lyxfunc.C: removed #if 0 unused code
16375
16376         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16377
16378         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16379
16380         * text2.C (SetSelection): added a BufferView * parameter
16381
16382 2001-02-13  Juergen Vigna  <jug@sad.it>
16383
16384         * lyxfunc.C (Dispatch): fixed protected blank problem.
16385         * BufferView2.C (protectedBlank): added LyxText * parameter.
16386
16387         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16388         (AppendColumn): same as above for column_info.
16389
16390         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16391         (moveCursorUpdate): use a LyXText param for support of InsetText.
16392
16393         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16394         (tripleClick): ditto
16395
16396         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16397
16398         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16399
16400         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16401
16402         * text2.C (SetSelection): set correct update status if inset_owner
16403         (ToggleFree): ditto
16404
16405 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16406
16407         * tabular.C: remove some commented code.
16408
16409 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16410
16411         * BufferView_pimpl.C: call hideSplash()
16412
16413         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16414
16415         * include_form.h:
16416         * bibforms.h: remove
16417
16418         * lyxfunc.C:
16419         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16420           add LFUN_CHILD_CREATE
16421
16422         * counters.h: fix tiny typo
16423
16424         * lyx_cb.C:
16425         * lyx.h:
16426         * lyx_gui.C:
16427         * lyx.C: move splash to frontends/xforms/
16428
16429         * lyx_gui_misc.C: move Include and Bibform to frontends
16430
16431         * lyxvc.h: clarify comment
16432
16433         * vspace.C: tiny housekeeping
16434
16435 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16436
16437         * text.C (PrepareToPrint): RTL Fix.
16438
16439         * paragraph.C (GetUChar): New method.
16440         (String):  Use GetUChar.
16441
16442         * buffer.C (asciiParagraph): Use GetUChar.
16443
16444 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16445
16446         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16447
16448 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16449
16450         * buffer.h:
16451         * buffer.C: rename to getLogName(), handle
16452           build log / latex log nicely
16453
16454 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16455
16456         * MenuBackend.C:
16457         * MenuBackend.h: remove support for reference menuitem type.
16458
16459 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16460
16461         * BufferView_pimpl.C: housekeeping
16462         * BufferView_pimpl.h:
16463         * LyXView.h:
16464         * Makefile.am:
16465         * Timeout.C:
16466         * Timeout.h:
16467         * minibuffer.h: move Timeout GUI-I
16468
16469 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * lyxrc.C (read): Update converters data-structures.
16472
16473 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16474
16475         * LaTeX.h (operator!=): add operator != for Aux_Info
16476
16477 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16478
16479         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16480
16481         * LaTeXLog.C: deleted, useful code moved to Buffer
16482
16483         * buffer.h:
16484         * buffer.C: new function getLatexLogName()
16485
16486         * lyx_gui_misc.C:
16487         * lyx_gui.C:
16488         * lyxvc.C:
16489         * lyxvc.h:
16490         * lyxfunc.C: use frontends for LaTeX and VC logs
16491
16492 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16493
16494         * LaTeX.h: yet another std:: that Allan forgot.
16495
16496         * Variables.C (set): renamed from isset(), because this clashes
16497         with some HP-UX macros (grr).
16498
16499 2001-02-06  Allan Rae  <rae@lyx.org>
16500
16501         * LaTeX.h: Another bug fix.  Missing std:: this time.
16502
16503 2001-02-04  Allan Rae  <rae@lyx.org>
16504
16505         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16506         floats problem. I've left it commented out because it's not quite
16507         correct.  It should also test that the current object is a table or
16508         figure inset.  But I haven't gotten around to figuring out how to do
16509         that.  I *think* it'll be something like: "table" == inset.type()
16510
16511         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16512         bool.
16513
16514 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16515
16516         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16517         all the citation/databases/styles in the auxilary file.
16518         (run): Rerun latex if there was a babel language error.
16519
16520 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16521
16522         * text.C (Backspace): Preserve the font when changing newline char
16523         with a space.
16524         (BreakParagraph): If the cursor is before a space, delete the space.
16525
16526         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16527
16528 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16529
16530         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16531         new argument (code).
16532         (ChangeCitationsIfUnique): New method.
16533
16534         * paragraph.C (GetPositionOfInset): Handle bibkey.
16535
16536 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * BufferView_pimpl.h: change type of Position::par_pos to
16539         LyXParagraph::size_type.
16540
16541 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16542
16543         * BufferView_pimpl.C (savePosition, restorePosition): Write
16544         messages to minibuffer.
16545
16546 2001-01-28  José Matos  <jamatos@fep.up.pt>
16547
16548         * buffer.C (makeDocBookFile): adds support for document language.
16549         A silly restriction on the name of LatexCommand types where removed.
16550         Added support for CDATA sections, allows to chars unescaped, used
16551         among others in code, to avoid escape < and >.
16552
16553 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16554
16555         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16556         saved positions instrad of a stack. Furthermore, a position is
16557         stored using paragraph id/paragraph position.
16558
16559         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16560         Remove LFUN_REF_BACK.
16561
16562 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16563
16564         * converter.C (dvipdfm_options): New method.
16565
16566 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16567
16568         * vspace.C (isValidLength): Fix for empty input string.
16569
16570 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16571
16572         * LyXAction.C (init): change description of LFUN_FIGURE to
16573         "Insert Graphics"
16574
16575 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16576
16577         * LaTeX.C: add using directive
16578
16579 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16580
16581         * MenuBackend.C (expand): Fix the sorting of the formats.
16582
16583 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16584
16585         * lyx_main.C: tiny error message fix
16586
16587 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16588
16589         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16590         calling fl_initialize(). This fixes the problem with ',' as
16591         decimal separator in text files.
16592
16593 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16594
16595         * trans.C (process): Fix the keymap bug.
16596
16597 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16598
16599         * LaTeX.C (scanAuxFiles): New method. Provides support for
16600         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16601         (scanLogFile) Scan for "run BibTeX" messages.
16602
16603         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16604         OT1 font encoding. Also, load the aecompl package if the ae
16605         package is loaded.
16606
16607         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16608
16609 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16610
16611         * texrow.C (increasePos): turn two error messages into debug
16612         messages.
16613
16614 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * LaTeX.C (scanAux): Handle the \@input macro.
16617         (runBibTeX): Use scanAux().
16618
16619         * language.C (latex_options_): New field.
16620
16621         * LaTeXFeatures.C (getMacros): Add language macros.
16622
16623         * buffer.C (makeLaTeXFile): Small fix.
16624
16625 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16626
16627         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16628
16629         * text2.C: add a using directive.
16630
16631 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16632
16633         * BufferView2.C:
16634         * lyx_gui_misc.h:
16635         * lyxfr1.C:
16636         * lyxfunc.C: kill LyXBell.
16637
16638 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16639
16640         * text.C (IsBoundary): Remove the error message
16641
16642         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16643
16644         * lyxrc.C (setDefaults): Correct initialization value for
16645         font_norm_type.
16646
16647 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16648
16649         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16650         gotoError().
16651
16652         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16653         and GotoNextNote().
16654
16655         * src/LyXAction.C: Added reference-next.
16656
16657         * text.C (InsertChar): Use contains instead of strchr.
16658
16659         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16660
16661 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16662
16663         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16664         alignment commands (when needed).
16665
16666         * text.C (InsertChar): Add ':' to number separator chars.