]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c9fbafc9b236cdacafdd88d7c7349580e18fc91c
[lyx.git] / src / ChangeLog
1 2004-12-14  Angus Leeming  <leeming@lyx.org>
2
3         * main.C: (main): no longer pass pointers to os::init.
4
5 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
6
7         * undo.C (textUndoOrRedo): simplify logic, fix a crash
8         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
9
10 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
11
12         * lyxfunc.C: 
13         * text3.C: remove selection_possible global flag
14
15 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
16
17         * text2.C (getSelectionSpan): remove
18         (changeDepth, changeDepthAllowed): adjust
19
20 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
21
22         * Makefile.am (BOOST_LIBS): use boost variables
23
24 2004-12-03  José Matos <jamatos@lyx.org>
25
26         * buffer.C: format up to 238.
27
28 2004-12-03  José Matos  <jamatos@lyx.org>
29
30         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
31
32 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
33
34         * cursor.C (goUpDown): remove call to idxUpDown2
35
36 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
37
38         * tabular.[Ch]: use size_t-like types for cell, row and column
39         indices
40
41 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * lyxfunc.C (getStatus): do not lose previous information when
44         calling BufferView::getStatus; do not set a default "Command
45         disabled" message at the beginning, but just before returning.
46
47 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
48
49         * cursor.h (getStatus): add better comment from src/cursor.C
50
51 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
52
53         * text3.C (getStatus): return false when the lfun is not handled
54
55 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
56
57         * broken_headers.h: remove
58
59         * Makefile.am (lyx_SOURCES): remove broken_headers.h
60
61 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
62
63         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
64         offset_ref accessors
65
66         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
67         top_y_, merge fitcursor with update
68         (updateScrollbar, scrollDocView, fitCursor, center, update): new
69         coord scheme
70         (metrics): introduce
71         (workAreaDispatch): adapt to new coord scheme
72         (redoCurrentBuffer): remove
73
74         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
75
76         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
77         CurStatus enum.
78
79         * coordcache.[Ch]: add paragraph cache and helpers
80
81         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
82         adjust everywhere
83
84         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
85         (targetX, setTargetX): introduce
86
87         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
88         baseline -> ascent, as the rest of lyx
89
90         * lyxtext.h: remove redoParagraphs, updateParPositions,
91         fullRebreak, redoParagraphInternal. move dist to anon namespace in
92         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
93         have ascent/descent (ascent is ascent of first par)
94
95         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
96         step of BufferView
97
98         * paragraph.[Ch]: unify dimension handling with the rest of lyx
99
100         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
101
102         * pariterator.C: fix infinite loop introduced in par->pit renaming
103
104         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
105         in insets and LyXText, draw two off-screen paragraphs using
106         NullPainter, and adapt to new coord scheme
107
108         * text.C:
109         * text2.C:
110         * text3.C: adapt lfun handlers to the new coord scheme, which
111         means: there's only guaranteed coord information for onscreen pars
112         plus one above and one below. This implies that one can do search
113         from y coordinates in the range [-1,workHeight]
114
115 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
116
117         * rename a lot of InsetOld to InsetBase
118
119 2004-11-25  Angus Leeming  <leeming@lyx.org>
120
121         * BufferView_pimpl.C:
122         * lyx_cb.C:
123         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
124
125 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
128         call BufferView::getStatus if LCursor::getStatus did nothing
129         (setStatusMessage, getStatusMessage): removed.
130
131         * FuncStatus.C (message): new methods. Used to provide an error
132         message indicating why a command is disabled.
133         (clear, |=, FuncStatus): update for message.
134
135 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
136
137         * lyxfunc.C (dispatch): always call sendDispatchMessage
138
139 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
140
141         * BufferView.C:
142         * BufferView_pimpl.C:
143         * CutAndPaste.C:
144         * FontIterator.C:
145         * buffer.C:
146         * cursor.C:
147         * cursor_slice.[Ch]:
148         * dociterator.[Ch]:
149         * lyxfind.C:
150         * paragraph_funcs.C:
151         * pariterator.C:
152         * rowpainter.C:
153         * text.C:
154         * text2.C:
155         * text3.C:
156         * undo.C: par->pit renaming
157
158 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
159
160         * tabular.C (cellstruct): use initialization, store a shared_ptr
161         to insettext instead of the insettext directly, adjust to fit.
162         (operator=):  new function
163         (swap): new function
164         (rowstruct): use initialization
165         (columnstruct): use initialization
166         (ltType): use initialization
167
168
169         * lyxlength.h (swap): new function
170
171         * LColor.[Ch] (operator=): use the common semantics
172
173 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * lyxfind.C (findNextChange): update the bufferview after setting
176         the selection.
177
178 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
179
180         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
181         number of InsetOptArgs has already been inserted.
182
183         * output_latex.C (latexOptArgInsets): new method. This outputs all
184         the optarg insets, up to the limit defined in the layout file.
185         (optArgInset): removed
186         (TeXOnePar): call latexOptArgInsets; correctly update texrow
187
188 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * paragraph.C (isLetter): remove special spellchecker-related
191         code; return true also for digits
192         (isWord, isKomma): remove
193
194         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
195         * lyxfind.C (MatchString()): use isLetter instead of isWord
196
197 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
198
199         * pariterator.h (operatir=): comment out un-implemented member
200         function.
201
202         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
203         static cast.
204
205 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
206
207         * lyxfont.h: include LColor.h to satisfy concept checks.
208
209 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
210
211         * pariterator.h: add typdefs for value_type, difference_type,
212         pointer and reference to satisfy concept checks. Also add default
213         constructor for same reason.
214
215         * pariterator.C (operator++): add post-increment operator to
216         satisfy concept checks.
217
218         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
219         checks.
220
221         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
222
223         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
224         checks. Also rename base_type to BaseType to follow naming
225         standard better.
226
227         * FloatList.h: include Floating.h to satisfy concept checks.
228
229 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
230
231         * lyxfunc.C (getStatus): when the origin of the request is menu or
232         toolbar, and the LyXView does not have focus, do as if there was
233         no buffer (bug 1720)
234
235         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
236         FuncRequest to individual entries of LFUN_SEQUENCE
237
238 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * output_latex.C (TeXOnePar): override runparams.moving_arg
241         according to the needprotect value of the current paragraph (bug
242         1739)
243
244         * paragraph.C (simpleTeXOnePar): no need to override
245         runparams.moving_args here
246
247 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
248
249         * vspace.C: fix off-by-one-error, related to fix #1682
250
251 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
252
253         * lengthcommon.C: a more general fix for bug 1682
254
255 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
256
257         * text.C (backspace): fix crash
258
259 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * format.[Ch] (getFormatFromFile): new method
262         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
263
264 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
265
266         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
267
268 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * lyxfunc.C (dispatch): remove the verbose argument
271         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
272         instead
273
274         * kbmap.C (defkey): set the origin of func to KEYBOARD
275
276         * MenuBackend.C (MenuItem):
277         * ToolbarBackend.C (add): set the origin of func to UI
278
279         * funcrequest.[Ch]: add origin member, which indicates which part
280         of LyX requests an action
281
282 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
283
284         * converter.C (move): don't lie in the error message
285         * converter.h (isReachable, move): document
286
287 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
288
289         * buffer.C: remove unused using lyx::support::atoi
290         * paragraph_funcs.C: ditto
291
292 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
293
294         * bufferlist.C (exists): use bind and equal_to instead of
295         compare_memfun
296         (getBuffer): ditto
297         * lyxtextclasslist.C (NumberOfClass): ditto
298
299         * cursor.C (insert): use for_each instead of explicit for loop
300
301         * bufferlist.C (getFileNames): use std::transform and
302         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
303
304         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
305         for loop
306
307         * buffer.C (changeLanguage): use for_each instead of explicit for
308         loop
309         (hasParWithID): implement using getParFromID
310
311         * LaTeXFeatures.C: ws change only
312
313         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
314         to cleanup a bit.
315
316         * BufferView_pimpl.C (trackChanges): use for_each instead of
317         expilicit for loop
318
319 2004-11-04  André Pönitz  <poenitz@gmx.net>
320
321         * undo.h:
322         * undo.C (textUndoOrRedo): fix crash when creating undo information.
323
324         * dociterator.C (asDocIterator): use hard assert again.
325
326 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
327
328         * lyxlength.C (asLatexString): rewrite so that it does not use
329         snprintf anymore
330
331 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * text3.C (specialChar, dispatch): make sure cursor moves to the
334         right after inserting an inset
335
336 2004-11-02  José Matos  <jamatos@lyx.org>
337
338         * output_docbook.C (docbook):
339         * paragraph.C (getID):
340         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
341         garantee that the output is always legal.
342
343         * tabular.C (docbook):
344         * outputprams.[Ch]: remove mixed contents.
345
346 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * text2.C (setCounter): prevent endless loop
349
350 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
351
352         * exporter.C (copyFile): use the mover instead of support::copy()
353         * exporter.C (Export): pass format and latex name to copyFile()
354         * exporter.h (addExternalFile): document
355         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
356
357 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
358
359         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
360
361 2004-10-30  José Matos  <jamatos@lyx.org>
362
363         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
364         text and no inset or font change. This allows to use CDATA
365         sections just for the whole paragraph.
366
367 2004-10-30  José Matos  <jamatos@lyx.org>
368
369         * paragraph.C (getFirstWord): remove unused variable.
370
371 2004-10-30  José Matos  <jamatos@lyx.org>
372
373         * paragraph.C (getFirstWord): the content should always be escaped
374         there.
375         (simpleDocBookOnePar):
376         * output_docbook.C (makeEnvironment): replace reference to CDATA
377         to style pass_thru.
378
379 2004-10-30  José Matos  <jamatos@lyx.org>
380
381         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
382
383 2004-10-30  José Matos  <jamatos@lyx.org>
384
385         * output_docbook.C (makeParagraphs):
386         * paragraph.[Ch] (emptyTag): for docbook and company, if the
387         standard paragraph has only a given type of content drop the wrapper.
388
389 2004-10-29  José Matos  <jamatos@lyx.org>
390
391         * output_docbook.C (makeEnvironment):
392         * sgml.C (openTag):
393         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
394
395 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
396
397         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
398         (cleanID): sanitize any id.
399
400 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
401
402         * buffer.C, lyxlex_pimpl.C:
403         * lyxlex_pimpl.C (setFile):
404         s/getExtFromContents/getFormatFromContents/
405
406 2004-10-28  José Matos  <jamatos@lyx.org>
407
408         * output_docbook.C (makeEnvironment): move id to broadest possible
409         scope.
410
411         * sgml.C (openTag): apply substitution of <> for all attributes.
412
413 2004-10-28  José Matos  <jamatos@lyx.org>
414
415         * buffer.C (makeLinuxDocFile, makeDocBookFile):
416         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
417         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
418
419         * sgml.[Ch]: new version for open and closeTag for paragraph and
420         for strings. Now they handle the ids of paragraphs.
421
422 2004-10-26  Angus Leeming  <leeming@lyx.org>
423
424         * Makefile.am: add mover.[Ch].
425
426         * converter.C (convert, move): use the new Movers to move external
427         files to the temp directory.
428
429         * lyx_main.C (init): ensure that the global system_movers data
430         is initialised.
431
432         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
433         preferences file.
434
435         * mover.[Ch]: new files, defining a Mover as a utility to move an
436         external file between directories and, if necessary, manipulate this
437         file using a helper script.
438
439 2004-10-25  José Matos  <jamatos@lyx.org>
440
441         * output_docbook.C (makeCommand): merge two if's that tested the
442         same condition.
443
444 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * sgml.C (escapeString): fix warning in a better way
447
448 2004-10-25  José Matos  <jamatos@lyx.org>
449
450         * sgml.C (escapeString): import the require boosts header file for
451         tie, and avoid a signed unsigned comparison.
452
453 2004-10-25  José Matos  <jamatos@lyx.org>
454
455         * sgml.h: add #include <string>
456
457 2004-10-25  José Matos  <jamatos@lyx.org>
458
459         * sgml.[Ch] (escapeString): new function to escape all the string.
460
461 2004-10-24  José Matos  <jamatos@lyx.org>
462
463         * paragraph.[Ch] (getFirstWord): new function to get the first
464         word. Useful for description.
465         (simpleDocBookOnePar): remove depth argument, add another that
466         says where to start the paragraph.
467
468         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
469         use the new functions to fix cleanly the support for descriptions.
470
471 2004-10-24  José Matos  <jamatos@lyx.org>
472
473         * buffer.C (makeLinuxDocFile, makeDocBookFile):
474         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
475         * output_linuxdoc.C (linuxdocParagraphs):
476         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
477         add buffer as argument.
478
479 2004-10-24  José Matos  <jamatos@lyx.org>
480
481         * output_docbook.C (makeEnvironment, searchEnvironment): place
482         CDATA inside paragraphs and fix scope for listitems.
483
484 2004-10-24  José Matos  <jamatos@lyx.org>
485
486         * output_docbook.C: remove using statement for stack.
487
488 2004-10-23  José Matos  <jamatos@lyx.org>
489
490         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
491         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
492         docbook. The new scheme is recursive and makes use of iterators, the
493         same as latex export works.
494         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
495         directly with the paragraph contents. This code was moved up to
496         output_docbook.C (docbookParagraphs).
497         * sgml.C (openTag, closeTag): removed unneeded newlines.
498         (closeEnvTags) removed.
499
500 2004-10-23  André Pönitz  <poenitz@gmx.net>
501
502         * undo.C (textUndoOrRedo):
503         * dociterator.C (asDocIterator): work around crash
504
505         * cursor.C (getStatus): replace ASSERT by more verbose error message
506           and manual correction of the problem. Should increase stability
507           while providing more sensible information.
508
509 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
510
511         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
512
513         * bufferlist.C (previous, next): new methods
514
515         * lfuns.h:
516         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
517
518 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
519
520         * buffer.C (makeDocBookFile): add dsssl stylesheet control
521         entities to preamble.
522
523 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
524
525         * messages.C (Pimpl): strip off translation context information
526
527 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
528
529         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
530         the cursor is correct (bug 1694)
531
532 2004-10-13  José Matos  <jamatos@lyx.org>
533
534         * output_docbook.C (docbookParagraphs): fix closing tags in the
535         end of the document.
536
537 2004-10-09  José Matos  <jamatos@lyx.org>
538
539         * buffer.C: format up to 237.
540         * bufferparams.C (write): use tostr to convert booleans to strings.
541
542 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
545
546 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * LaTeX.C: implement use of babel language in xindy.
549
550 2004-10-05  José Matos  <jamatos@lyx.org>
551
552         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
553         Add new translators to help reading and writing the lyx file.
554
555 2004-10-05  José Matos  <jamatos@lyx.org>
556
557         * ParagraphParameters.C (read):
558         * text.C (readParToken): replace nexToken by more appropriate lex
559         methods.
560
561 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
562
563         * LaTeX.C (runMakeIndex):
564         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
565         (usually 'makeindex') configurable.
566
567         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
568         with a variable rather than with a number.
569
570 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
571
572         * output_latex.C (TeXOnePar): make sure font setting is the first
573         thing that gets output (and the last at the end). Should fix bug
574         1404.
575
576 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
577
578         * pch.h: use proper signal include
579
580         * LaTeX.h: Use preferred calling of Boost.Signal
581         * buffer.h: ditto
582
583 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
584
585         * pch.h: dont include <boost/function/function0.hpp>
586
587         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
588
589         * paragraph_pimpl.h: remove usage of ShareContainer
590
591         * paragraph_pimpl.C: remove initialization of ShareContainer.
592
593 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         Fix bug #1666
596
597         * BufferView.C (putSelectionAt): change the semantics when
598         backwards == true: now, this just swaps cursor and anchor wrt the
599         forward case
600
601         * BufferView.h (putSelectionAt): add some documentation
602
603         * lyxfind.C (findBackwards): rewrite using while(). In particular,
604         make sure backwardChar is done at least once (to avoid getting
605         stuck)
606         (findNextChange): use putSelectionAt in the forward direction
607         (operator()): use Paragraph::isWord
608
609 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
610
611         * Spacing.C (set): c_str fix
612
613 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * lyx_cb.C (Reconfigure): quote the name of configure script in
616         case it contains spaces
617
618 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
619
620         * client: new dir
621
622         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
623         (BOOST_LIBS): use top_buildir when looking for the file
624
625 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
626
627         * pch.h: do not use include boost/format.hpp, multiple symbols
628                 will result (gcc bug)
629
630
631 2004-08-23  José Matos  <jamatos@lyx.org>
632
633         * bufferparams.C (readToken): fix reading of the author field.
634
635 2004-08-20  José Matos  <jamatos@lyx.org>
636
637         * lyxrc.C: remove support/translator.h inclusion since it is not used.
638
639 2004-08-20  José Matos  <jamatos@lyx.org>
640
641         * lyxlex.[Ch] (findToken): remove function.
642
643         * ParagraphParameters.C (findToken):
644         * bufferparams.C (findToken): replace call for previous function
645         with local copy. This local function has one more argument, the
646         read string argument.
647
648 2004-08-16  José Matos  <jamatos@lyx.org>
649
650         * ParagraphParameters.C (write):
651         * Spacing.C (writeFile):
652         * bufferparams.C (writeLaTeX):
653         * lyx_cb.C (Reconfigure):
654         * paragraph.C (write):
655         * tabular.C (write): remove unnecessary space at end of line.
656
657
658 2004-08-16  José Matos  <jamatos@lyx.org>
659
660         * text.C (readParagraph): remove debug message.
661
662 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
663
664         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
665         crash
666
667         * output_plaintext.C (asciiParagraph): set depth correctly
668
669         * outputparams.h: add member depth
670
671         * paragraph_funcs.C (ownerPar): remove.
672
673         * text2.C (setCounter): remove first_pit; comment out some
674         non-working code that uses ownerPar
675
676         * BufferView.C (getParentLanguage): remove. Not used anymore, and
677         uses ownerPar
678
679 2004-08-16  José Matos  <jamatos@lyx.org>
680
681         * text.C (readParToken, readParagraph, read): report all unknown tokens.
682         For the same level of importance use the same chanel to report problems.
683         (read): add code to deal with \begin_body and \end_body.
684
685
686 2004-08-15  José Matos  <jamatos@lyx.org>
687
688         * lyxlex.C (getString): fix comment, buffer::readBody is now
689         buffer:readDocument.
690
691         * tex-strings.C (string_papersize): Default -> default,
692         Custom -> custom, for consistency with other options.
693
694 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
695
696         * pch.h: new file
697
698         * Makefile.am: support pch
699
700 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * text.C (readParToken): remove the static LyXFont variable and
703         pass it as a parameter instead. This fixes a nasty bug where an
704         inset will be inserted with a bad font in some situations
705         (readParagraph): adapt
706
707         * text2.C (setCounter): reduce number of calls to pars_[pit]
708
709         * text.C (singleWidth): add an assert, fix a test
710
711         * rowpainter.C (paintText): reduce number of calls to singleWidth
712
713         * paragraph.C (isHfill):
714         (isNewline): ws only
715
716 2004-08-14  André Pönitz  <poenitz@gmx.net>
717
718         * text.C:
719         * text2.C:
720         * rowpainter.C:
721         * lyxtext.h (several functions): use a Paragraph & argument
722         instead of par_type
723
724 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * metricsinfo.h: add a new field ltr_pos to PainterInfo
727
728         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
729
730         * text.C (singleWidth): remove useless test
731
732 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
733
734         * tabular.h: remove bogus comments
735
736         * tabular.C (getDescentOfRow):
737         (isPartOfMultiColumn): add assertions
738
739         * lyxlength.C (inPixels): remove #warning
740
741 2004-08-14  André Pönitz  <poenitz@gmx.net>
742
743         * paragraph.h: inline getChar()
744
745         * BufferView.h: remove unused declarations
746
747 2004-08-14  José Matos  <jamatos@lyx.org>
748
749         * Buffer.[Ch] (readDocument): new name for old readBody.
750         * Buffer.C: new file format, new keywords: \begin_document,
751         \begin_header, \begin_body, \end_body.
752
753         * bufferparams.C (readToken): replace all calls to lex.nextToken
754         by lex.next(). Do the same to eatLine except where really needed.
755
756         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
757         line when writing to the lyx file.
758
759         * output_plaintext.C (asciiParagraph): fix Bibliography style
760         handling.
761
762         * text.C (read): fix end of file handling.
763
764 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
765
766         * MenuBackend.C (Menu::operator[]): new method to access
767         individual menu items
768         (Menu::hasFunc): new method. search for an item that corresponds
769         to a given func
770         (MenuBackend::specialMenu): new method
771         (MenuBackend::expand): if a special menu has been set, skip
772         entries whose func() appears in this menu
773
774 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
775
776         * text3.C: use Debug::DEBUG a bit more
777
778         * text.C (leftMargin): try to simplify a tiny bit change var x to
779         l_margin. Dont output the wide margins always.
780         (rightMargin): no margin in inner texts
781
782         * rowpainter.h (nestMargin): new func
783         (changebarMargin): new func
784         (rightMargin): new func
785
786         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
787         now functions.
788         (paintLast): ditto
789
790         * factory.C (createInset): modify setDrawFrame
791
792         * cursor.C: use Debug::DEBUG a bit more
793
794 2004-08-14  André Pönitz  <poenitz@gmx.net>
795
796         * coordcache.[Ch]:
797         * Makefile.am: new files to accomodate an 'external' (x,y)-position
798         cache for all insets in (at least partially) visible (top-level)
799         paragraphs.
800
801         * BufferView_pimpl.C: reset external coord cache before every update.
802         This means the coord cache only contains valid entries.
803
804 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
805
806         bug 1096
807         * BufferView_pimpl.C (getInsetByCode): move function out of class
808         and change in to a template in anon namespace. Also fix to do what
809         suits us better.
810
811 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
812
813         bug 1305
814         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
815         of char
816         (breakParagraph): rename par to par_offset and use a local
817         reference. Add code to keep the language over a rebreak.
818         (breakParagraphConservative): rename par to par_offset, use a
819         local reference
820         (mergeParagraph): ditto
821         (outerHook): ditto
822         (isFirstInSequence): ditto
823         (outerFont): rename pit to par_offset
824
825         * paragraph.C: ws change
826         * paragraph.h: ditto
827         * text3.C: ditto
828         * text.C: ditto
829
830 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
833         treatment for ']'
834
835         * paragraph.C (simpleTeXOnePar): when we have a \item with
836         optional argument, enclose the argument with curly brackets (in
837         case it contains a closing square bracket)
838
839         * text2.C (editXY):
840         * text2.C (editXY):
841         * text3.C (checkInsetHit): constify
842
843 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
844
845         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
846         documents (bug 1629)
847
848 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         Fix toggling of collapsable insets with the mouse (bug 1558)
851
852         * lyxfunc.C (dispatch): adapt to LCursor changes
853
854         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
855         make sure that dispatch is not invoked twice
856
857         * cursor.C (needsUpdate): new method
858         (dispatch): return void
859         (result): new method, to access the DispatchResult of the cursor.
860
861 2004-08-13  José Matos  <jamatos@lyx.org>
862
863         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
864
865 2004-08-13  André Pönitz  <poenitz@gmx.net>
866
867         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
868
869         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
870           multiple cells
871
872 2004-08-12  André Pönitz  <poenitz@gmx.net>
873
874         * text3.C: take out the 'cursor right' form insertInset and only
875         do it in those places when it is really needed. Fixes crash on
876         C-m...
877
878 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
879
880         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
881
882         * BufferView_pimpl.C (setBuffer): initialize the current font of
883         the underlying LyXText
884
885 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
886
887         * kbsequence.C (print): use UI native formatting for menu
888         shortcuts
889
890         * text.C (insertChar): call Paragraph::insertChar with a font
891         argument (cosmetic)
892
893         * paragraph.C (insertInset, insertChar): the version that takes a
894         LyXFont argument is now a wrapper around the other one (the
895         opposite used to be true).
896
897         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
898         argument. Font setting is done in Paragraph now.
899
900 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
901
902         * outputparams.h: add new members intitle and lang.
903
904         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
905         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
906
907 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
908
909         * text3.C (dispatch): remove special handling of button 4 and 5,
910         it is now taken care of in the frontend code.
911
912 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
913
914         * Spacing.h: add <string> (STLPort compile fix)
915
916 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
917
918         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
919
920 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
921
922         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
923         to bool.
924
925         * converter.C (showMessage): inherit from unary_function, make
926         operator() const.
927
928         * buffer.C (writeFile): initialize retval
929
930         * InsetList.h: rename private variable list to list_
931         * InsetList.[Ch]: adjust accordingly.
932
933 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
934
935         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
936         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
937         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
938         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
939         * ParagraphParameters.C, LaTeXFeatures.C: replace
940         "support/std_sstream.h" with <sstream>
941
942 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
943
944         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
945         * lyxsocket.C (LyXServerSocket): ditto
946         (serverCallback): ditto
947
948 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
949
950         * LaTeXFeatures.C: check release date when loading jurabib.
951
952 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
953
954         * lyxserver.C (startPipe): call register_socket_callback
955         (endPipe): call unregister_socket_callback
956
957 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
958
959         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
960         (LyXServerSocket): register the callback
961         (LyXServerSocket): unregister the callback
962         (fd): delete function
963         (serverCallback): improve error checking and setup the callbacks.
964         (dataCallback): change arg to fd.
965         (writeln): new func (copied fro the client socket) used for server
966         write to client.
967         (LyXDataSocket): simplify
968         (~LyXDataSocket): close ann unregiser callback
969         (server): delete function
970         (fd): delete function
971         (readln): small changes, improve some std::string usage
972         (writeln): constify a bit
973
974 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
977         Qt frontend
978
979 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * BufferView_pimpl.C (setBuffer): set the layout combox value only
982         after it has been populated
983
984 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
985
986         * text2.C (insertInset): move cursor when inserting inset.
987
988 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
989
990         * kbmap.C (findbindings): a couple of new methods. returns a
991         container of kb_sequence objects. The real work is done by the
992         private recursive version
993         (printbindings): uses findbindings to print out a bracketed list
994         of bindings (renamed from findbinding).
995
996         * MenuBackend.C (binding): use kb_keymap::findbindings
997
998         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
999
1000 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1001
1002         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1003
1004 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1005
1006         * paragraph.C (isWord): return true on insets that report
1007         isLetter().
1008
1009         * text.C (getWord): use Paragraph::isWord to decide what is in a
1010         word and what is not; fix bug 1609.
1011
1012 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1013
1014         * tex-strings.C: add "none" to string_paperpackages[], fixes
1015         off-by-one-error in the paperpackage selection.
1016
1017         * lyxlex.[Ch]:
1018         * tex-strings.[Ch]: char const * string[n]
1019         -> char const * const string[]
1020
1021 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1024         command, return early.
1025
1026 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1027
1028         * debug.h: add DEBUG to enum and fix size of ANY.
1029
1030         * debug.C: add support for Debug::DEBUG
1031         (showTags): cast errorTags.level to unsigned int
1032
1033         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1034         (redoCurrentBuffer): ditto
1035         (updateScrollbar): ditto
1036         * cursor.C (dispatch): ditto
1037         * text2.C (setLayout): ditto
1038         (setFont): ditto
1039         (updateCounters): ditto
1040         (editXY): ditto
1041         (deleteEmptyParagraphMechanism): ditto
1042
1043 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1044
1045         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1046         annotations to cleanup the Makefile slightly.
1047
1048 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1049
1050         * lyxrc.C: do not set user_email to a default value but use empty
1051         instead. The entry used to be translated, which does not work
1052         since at the point where lyxrc is constructed there is no
1053         translation service available
1054
1055         * messages.C (getLocaleDir): remove and use directly
1056         lyx_localedir() instead
1057
1058 2004-06-02  Angus Leeming  <leeming@lyx.org>
1059
1060         Fix crash caused by dereferencing null pointer 'exportdata' in
1061         OutputParams by creating a new ExportData variable on the heap,
1062         storing it in a boost::shared_ptr.
1063         The crash was triggered when generating an Instant Preview
1064         of an external inset.
1065
1066         * Makefile.am: add outputparams.C
1067
1068         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1069         (c-tor): allocate memory to it.
1070
1071         * exporter.C (c-tor): associated changes.
1072
1073 2004-06-01  Angus Leeming  <leeming@lyx.org>
1074
1075         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1076         contains data before calling isInset(0). (Bug 1513.)
1077
1078 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1079
1080         * exporter.C (checkOverwrite): new method
1081         * exporter.C (copyFile): new method
1082         * exporter.C (Export): copy referenced files to the document dir
1083         * exporter.[Ch]: new class ExportedFile
1084         * exporter.[Ch]: new class ExportData. Contains currently the
1085         names of referenced external files
1086         * outputparams.h: add exportdata member.
1087
1088 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1089
1090         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1091         version.C-tmp
1092
1093 2004-05-19  Angus Leeming  <leeming@lyx.org>
1094
1095         * LaTeXFeatures.C:
1096         * ToolbarBackend.C:
1097         * bufferparams.C:
1098         * lyxfunc.C: small changes due to the introduction of namespace
1099         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1100
1101 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1102
1103         * text3.C (dispatch): supress update when only moving the cursor
1104         * cursor.C (selHandle): remove commented code
1105
1106 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1107
1108         * paragraph.C (startTeXParParams): correct column count
1109         * CutAndPaste.C (pasteSelection): remove const_cast
1110         * output_docbook.C (docbookParagraphs): remove const_cast
1111         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1112         const_cast and return ParagraphList::const_iterator
1113         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1114         * output_plaintext.C (writeFileAscii): remove const_cast
1115         * paragraph.[Ch] (simpleTeXOnePar): make const
1116         * paragraph_funcs.C (outerPar): use const iterators
1117         * paragraph_pimpl.C (validate): use const iterators
1118         * text.C (setHeightOfRow): use const iterators
1119
1120 2004-05-17  Angus Leeming  <leeming@lyx.org>
1121
1122         * lfuns.h:
1123         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1124
1125         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1126         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1127         if the citation engine has changed.
1128
1129 2004-05-14  José Matos  <jamatos@lyx.org>
1130
1131         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1132         if the textclass does not provide it. Have it different for sgml and
1133         xml.
1134         support the language of document.
1135         * output_docbook.C (docbookParagraphs):
1136         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1137         first anchor as the id of the paragraph, remove special case code.
1138         * sgml.C (escapeChar): escape only < & >.
1139
1140 2004-05-14  Angus Leeming  <leeming@lyx.org>
1141
1142         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1143         dependencies on src/frontends/controllers/biblio.h. Define a
1144         CiteEngine_enum wrapper class to enable the enum to be forward
1145         declared.
1146
1147 2004-05-12  Angus Leeming  <leeming@lyx.org>
1148
1149         * buffer.C: up LYX_FORMAT to 234.
1150         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1151         use_numerical_citations with a single biblio::CiteEngine cite_engine
1152         variable.
1153         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1154
1155 2004-05-13  José Matos  <jamatos@lyx.org>
1156
1157         * converter.h:
1158         * converter.C (Converter, readFlags): add xml member.
1159         * outputparams.h: add XML flavor.
1160         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1161
1162 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1163
1164         * lyxfunc.C (dispatch):
1165         (getStatus): fix handling of LFUN_SEQUENCE
1166
1167 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * debug.C (showLevel): do not forget the end-of-line marker
1170
1171 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         * kbmap.C (read): do not stop parsing a bind file when an error
1174         occurs (bug 1575)
1175
1176 2004-04-29  Angus Leeming  <leeming@lyx.org>
1177
1178         * cursor.C:
1179         * factory.C:
1180         * pariterator.C:
1181         * text2.C: wrap a bunch of #warning statements
1182         inside #ifdef WITH_WARNINGS blocks.
1183
1184 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1185
1186         * buffer.C: increment format to 233.
1187
1188 2004-04-28  Angus Leeming  <leeming@lyx.org>
1189
1190         * BufferView_pimpl.C:
1191         * lyxfunc.C:
1192         * text3.C:
1193         s/updateToolbar()/updateToolbars()/
1194         s/Toolbar.h/Toolbars.h/
1195
1196 2004-04-28  Angus Leeming  <leeming@lyx.org>
1197
1198         * BufferView.[Ch] (c-tor):
1199         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1200         No longer passes these data to the WorkArea generator.
1201
1202 2004-04-28  Angus Leeming  <leeming@lyx.org>
1203
1204         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1205
1206 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1207
1208         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1209
1210 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * output_latex.C (TeXEnvironment): make sure that there is a line
1213         break before \end{foo} for the last paragraph of a document
1214         (TeXOnePar): if the paragraph is at the end of the document (or
1215         inset) and the language has to be reset, then make sure that the
1216         line break is _before_ the language command, not after (fixes bug
1217         1225); also make sure that the language reset command is the first
1218         thing after the paragraph (to ensure proper nesting of
1219         environments and thus fix bug 1404)
1220
1221 2004-04-21  John Levon  <levon@movementarian.org>
1222
1223         * ToolbarBackend.h:
1224         * ToolbarBackend.C: make "name" be a programmatic name
1225         and a gui_name field.
1226
1227         * lyxfunc.C: display the minibuffer on M-x
1228
1229 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1232         (bug 1526)
1233
1234 2004-04-19  Angus Leeming  <leeming@lyx.org>
1235
1236         * BufferView_pimpl.C (setBuffer): changed preview interface.
1237
1238         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1239         possible values.
1240
1241 2004-04-19  John Levon  <levon@movementarian.org>
1242
1243         * BufferView_pimpl.C:
1244         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1245
1246 2004-04-05  Angus Leeming  <leeming@lyx.org>
1247
1248         * text.C (redoParagraphs): add call to updateCounters(), thereby
1249         fixing the missing "Figure #:" label from the caption of a
1250         figure float.
1251
1252 2004-04-13  Angus Leeming  <leeming@lyx.org>
1253
1254         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1255         cursor is clicked out of an inset.
1256
1257 2004-04-13  Angus Leeming  <leeming@lyx.org>
1258
1259         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1260         than an InsetOld one.
1261
1262 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1263
1264         * format.[Ch]: add editor to Format
1265         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1266         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1267
1268 2004-04-08  André Pönitz  <poenitz@gmx.net>
1269
1270         * metricsinfo.h: remove PainterInfo::width member
1271
1272 2004-04-08  Angus Leeming  <leeming@lyx.org>
1273
1274         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1275         "\providecommand" rather than "\newcommand", thereby preventing
1276         clashes with packages that define "\boldsymbol" themselves.
1277         Eg, beamer.
1278
1279 2004-04-08  Angus Leeming  <leeming@lyx.org>
1280
1281         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1282         thereby squashing an unnecessary warning.
1283
1284 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1285
1286         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1287         setBuffer()
1288
1289 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1290
1291         * BufferView.C (setCursor): call redoParagraph (some insets could
1292         have been opened)
1293         (putSelectionAt): remove the 'double update' trick
1294
1295         * BufferView_pimpl.C (fitCursor): call refreshPar
1296         (workAreaDispatch): remove an uneeded update call
1297         (dispatch): remove some manual update calls
1298
1299         * cursor.[Ch]: remove cached_y_, updatePos
1300         (selHandle): set noUpdate when appropriate
1301
1302         * lyxfunc.C (dispatch): track if we need an update
1303
1304         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1305
1306         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1307         (paintSelection): cheap optimization, do not call cursorX when not
1308         needed
1309         (paintPars): change signature
1310         (refreshPar): add
1311         (paintText): adjust
1312         (paintTextInset): adjust
1313
1314         * text.C: adjust
1315
1316 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * lengthcommon.C: compilation fix: remove explicit array size from
1319         unit_name[] and friends
1320
1321 2004-04-05  Angus Leeming  <leeming@lyx.org>
1322
1323         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1324
1325         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1326         present only for the preferences dialog.
1327         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1328
1329 2004-04-05  Angus Leeming  <leeming@lyx.org>
1330
1331         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1332         to enable the frontends to export changes to lyxrc correctly.
1333
1334         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1335
1336 2004-04-07  André Pönitz  <poenitz@gmx.net>
1337
1338         * cursor.[Ch] (selClear, adjust): remove math
1339
1340         * cursor_slice.C: more agressive assert
1341
1342         * lyxfunc.C:
1343         * BufferView_pimpl.C: rework mouse event dispatch
1344
1345         * dociterator.C:
1346         * paragraph.C:
1347         * text2.C:
1348         * text3.C: adjust
1349
1350 2004-04-05  André Pönitz  <poenitz@gmx.net>
1351
1352         * cursor.[Ch] (valign, halign...): remove unneeded functions
1353
1354 2004-04-05  Angus Leeming  <leeming@lyx.org>
1355
1356         * lyxlength.[Ch] (unit_name et al.): const-correct.
1357
1358 2004-04-05  Angus Leeming  <leeming@lyx.org>
1359
1360         * BufferView_pimpl.C:
1361         * buffer.C:
1362         * counters.C:
1363         * cursor.C:
1364         * lyxfunc.C
1365         * paragraph.C:
1366         * pariterator.C:
1367         * text.C:
1368         * text2.C:
1369         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1370
1371 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1374
1375 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1378         * BufferView_pimpl.[Ch] (getStatus)
1379         * BufferView.[Ch] (getStatus): add
1380         * lyxfunc.C (getStatus): move lfuns handled in
1381         BufferView::dispatch to te function above
1382         * Cursor.C (setSelection): set selection() = true
1383
1384 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1385
1386         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1387
1388 2004-03-31  Angus Leeming  <leeming@lyx.org>
1389
1390         * lyxfunc.C (dispatch): Fall through to the generic
1391         Dialogs::show("preamble").
1392
1393 2004-03-31  Angus Leeming  <leeming@lyx.org>
1394
1395         * lyxfunc.C (dispatch): Fall through to the generic
1396         Dialogs::show("spellchecker").
1397
1398 2004-03-31  Angus Leeming  <leeming@lyx.org>
1399
1400         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1401         preferences dialog.
1402
1403 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1404
1405         * BufferView.C
1406         * cursor.[Ch]
1407         * dociterator.[Ch]:
1408         * insetiterator.[Ch]:
1409         * lyxfind.C:
1410         * lyxfunc.C:
1411         * pariterator.[Ch]:
1412         * text2.C:
1413         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1414
1415 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1416
1417         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1418         insets where we are putting the cursor.
1419
1420 2004-03-31  Angus Leeming  <leeming@lyx.org>
1421
1422         * lfuns.h:
1423         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1424
1425         * lyxrc.[Ch] (read, write): overloaded member functions taking
1426         a std::[io]stream arguments.
1427
1428         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1429
1430 2004-03-31  Angus Leeming  <leeming@lyx.org>
1431
1432         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1433         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1434
1435         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1436         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1437
1438 2004-03-31  Angus Leeming  <leeming@lyx.org>
1439
1440         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1441         the LFUN_ALL_INSETS_TOGGLE code.
1442
1443 2004-03-30  Angus Leeming  <leeming@lyx.org>
1444
1445         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1446         has died. Fall through to the generic Dialogs::show("document").
1447
1448 2004-03-30  Angus Leeming  <leeming@lyx.org>
1449
1450         * lfuns.h:
1451         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1452         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1453
1454         * lyxfunc.C (getStatus, dispatch): define the actions for these
1455         lfuns. Little more than a cut and pste job from ControlDocument.C
1456
1457         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1458
1459 2004-03-30  Angus Leeming  <leeming@lyx.org>
1460
1461         * lfuns.h:
1462         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1463         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1464
1465         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1466         open/closed state of ollapsable insets. Usage:
1467
1468         all-inset-toggle <state> <name>, where
1469         <state> == "open" || "closed" || "toggle" and
1470         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1471
1472         * lyxtext.h, text2.C (toggleInset): removed.
1473
1474         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1475         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1476         now passes LFUN_INSET_TOGGLE to the found inset.
1477
1478         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1479         is now invoked as "all-insets-toggle toggle branch".
1480
1481 2004-03-30  Angus Leeming  <leeming@lyx.org>
1482
1483         * dociterator.C:
1484         * insetiterator.C:
1485         * pariterator.[Ch]: added/corrected header blurb.
1486
1487 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1488
1489         * dociterator.[Ch]: add an inset_ member
1490         (backwardPos): implemented
1491         (backwardPos, forwardPos): use inset_ when the stack is empty.
1492         (doc_iterator_begin, doc_iterator_end): implemented
1493         * pariterator.[Ch]: adjust, add begin, end
1494         * insetiterator.[Ch]: adjust, add begin, end
1495         * cursor.C:
1496         * document.C:
1497         * BufferView.C:
1498         * BufferView_pimpl.C:
1499         * CutAndPaste.C: adjust
1500
1501 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1502
1503         * buffer.C: increment file format to 232.
1504         * LaTeXFeatures.C: add bibtopic package.
1505         * bufferparams.[Ch]: param \use_bibtopic.
1506
1507         * lyxrc.[Ch]: add lyxrc bibtex_command
1508         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1509
1510         * buffer.C: increment file format to 231.
1511
1512 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1513
1514         * dociterator.C: implement forwardPar
1515         * iterators.[Ch]: remove, replaced by
1516         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1517         * BufferView.C:
1518         * BufferView_pimpl.C:
1519         * CutAndPaste.C:
1520         * buffer.C:
1521         * bufferview_funcs.C:
1522         * cursor.C:
1523         * lyxfind.C
1524         * lyxfunc.C
1525         * paragraph_funcs.C
1526         * toc.C:
1527         * Makefile.am: adjust
1528
1529 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1530
1531         * CutAndPaste.C (pasteSelection): fix 2 crashes
1532         (eraseSelection): fix a crash
1533         * paragraph_funcs.C: remove a warning
1534
1535 2004-03-28  Angus Leeming  <leeming@lyx.org>
1536
1537         * lfuns.h:
1538         * LyXAction.C (init): new LFUN_PRINT.
1539
1540         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1541
1542 2004-03-27  Angus Leeming  <leeming@lyx.org>
1543
1544         * lfuns.h:
1545         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1546
1547         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1548
1549 2004-03-27  Angus Leeming  <leeming@lyx.org>
1550
1551         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1552         insetlist always contains non-null pointers to insets.
1553
1554 2004-03-26  Angus Leeming  <leeming@lyx.org>
1555
1556         * src/BufferView_pimpl.C:
1557         * src/CutAndPaste.C:
1558         * src/buffer.C:
1559         * src/iterators.C:
1560         * src/output_plaintext.C:
1561         * src/outputparams.h:
1562         * src/paragraph_funcs.C:
1563         * src/rowpainter.C:
1564         * src/text.C:
1565         * src/text2.C:
1566         * src/frontends/controllers/ControlErrorList.C:
1567         * src/frontends/gtk/FileDialogPrivate.C:
1568         * src/frontends/gtk/GPainter.C:
1569         * src/frontends/gtk/GToolbar.C:
1570         * src/frontends/qt2/QRef.C:
1571         * src/mathed/math_scriptinset.C: squash compiler warnings.
1572
1573 2004-03-26  Angus Leeming  <leeming@lyx.org>
1574
1575         * ispell.C (LaunchIspell::start):
1576         * lyx_cb.C (AutoSaveBuffer::start):
1577         invoke run(DontWait) rather than runNonBlocking().
1578
1579 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1580
1581         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1582
1583 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1584
1585         * kbsequence.C (print): adjust
1586
1587         * kbmap.C (printKeySym): rename and change signature
1588         (printKey): use LyXKeySym::print()
1589
1590 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1591
1592         * undo.C: add using std::advance to compile for stlport
1593
1594 2004-03-24  Angus Leeming  <leeming@lyx.org>
1595
1596         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1597         it leads to a crash when no buffer is present.
1598
1599 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600             Martin Vermeer  <martin.vermeer@hut.fi>
1601
1602         * lyxfunc.C (dispatch):
1603         * bufferparams.C (readToken): use the new LColor::setColor
1604
1605         * LColor.[Ch] (setColor): new version that takes two strings as
1606         argument and creates a new color entry if necessary
1607
1608 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1609
1610         * buffer.C (makeLaTeXFile): if the main latex file that is
1611         processed is usually a subdocument of some master, then pretend
1612         for a while that it is actually the master
1613
1614 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1615
1616         * buffer.C (getLabelList):
1617         (getBibkeyList): use getMasterBuffer()
1618         (getMasterBuffer): new method. Returns the main document in the
1619         case where one is using included documents.
1620
1621 2004-03-25  André Pönitz  <poenitz@gmx.net>
1622
1623         * Makefile.am:
1624         * iterators.[Ch]:
1625         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1626
1627         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1628
1629         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1630         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1631
1632         * ParameterStruct.h: merge with ParagraphParameters
1633
1634         * lyxtext.h: remove LyXText::parOffset() and getPar()
1635
1636         * text3.C: Remove all 'manual' update calls. We do now one per user
1637         interaction which is completely sufficient.
1638
1639         * Bidi.C:
1640         * BufferView.[Ch]:
1641         * BufferView_pimpl.C:
1642         * FontIterator.[Ch]:
1643         * MenuBackend.C:
1644         * ParagraphParameters.[Ch]:
1645         * buffer.C:
1646         * buffer.h:
1647         * bufferlist.C:
1648         * cursor.[Ch]:
1649         * cursor_slice.[Ch]:
1650         * dociterator.[Ch]:
1651         * errorlist.[Ch]:
1652         * factory.C:
1653         * lfuns.h:
1654         * lyxfind.C:
1655         * lyxfunc.C:
1656         * output_docbook.[Ch]:
1657         * output_latex.[Ch]:
1658         * output_linuxdoc.[Ch]:
1659         * output_plaintext.[Ch]:
1660         * paragraph.[Ch]:
1661         * paragraph_funcs.[Ch]:
1662         * paragraph_pimpl.[Ch]:
1663         * rowpainter.C:
1664         * tabular.[Ch]:
1665         * text.C:
1666         * text2.C:
1667         * toc.C:
1668         * undo.[Ch]: adjust
1669
1670         * frontends/controllers/ControlDocument.C:
1671         * frontends/controllers/ControlErrorList.C:
1672         * frontends/controllers/ControlSpellchecker.C:
1673         * insets/inset.C:
1674         * insets/inset.h:
1675         * insets/insetbase.h:
1676         * insets/insetbibitem.C:
1677         * insets/insetbox.C:
1678         * insets/insetbranch.C:
1679         * insets/insetcaption.C:
1680         * insets/insetcharstyle.C:
1681         * insets/insetcharstyle.h:
1682         * insets/insetcollapsable.C:
1683         * insets/insetcollapsable.h:
1684         * insets/insetert.C:
1685         * insets/insetfloat.C:
1686         * insets/insetfoot.C:
1687         * insets/insetmarginal.C:
1688         * insets/insetnote.C:
1689         * insets/insetoptarg.C:
1690         * insets/insettabular.C:
1691         * insets/insettext.C:
1692         * insets/insettext.h:
1693         * insets/insetwrap.C:
1694         * mathed/math_mboxinset.C:
1695         * mathed/math_nestinset.C:
1696         * mathed/math_scriptinset.C:
1697         * mathed/math_scriptinset.h:
1698         * support/types.h:
1699
1700 2004-03-24  Angus Leeming  <leeming@lyx.org>
1701
1702         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1703         deal with any child processes that have finished but are waiting to
1704         communicate this fact to the rest of LyX.
1705
1706 2004-03-24  Angus Leeming  <leeming@lyx.org>
1707
1708         64-bit compile fixes.
1709
1710         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1711         (c-tor): pass lyx::pos_types rather than ints.
1712
1713         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1714         lyx::pos_type.
1715
1716         * text.C (Delete): compile fix.
1717         (getPar): ensure that function declaration is the same as that in
1718         the header file.
1719
1720 2004-03-23  Angus Leeming  <leeming@lyx.org>
1721
1722         * ispell.C (LaunchIspell):
1723         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1724         a boost::shred_ptr rather than a std::auto_ptr.
1725
1726 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1727
1728         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1729         handle LFUN_FILE_INSERT_*
1730
1731         * lyxrc.C (setDefaults, getDescription, output, read):
1732         * lyxrc.h: remove ps_command
1733
1734 2004-03-22  Angus Leeming  <leeming@lyx.org>
1735
1736         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1737         Ensure that error_handler is processed once only and that all data
1738         is saved before attempting to output any warning messages.
1739
1740         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1741
1742 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1743
1744         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1745
1746 2004-03-19  André Pönitz  <poenitz@gmx.net>
1747
1748         * cursor.[Ch] (reset): take main text inset as argument
1749
1750         * BufferView: adjust
1751         * BufferView_pimpl.C: adjust
1752
1753         * paragraph.[Ch]: fix completely broken operator=()
1754
1755 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * LColor.C (getFromLyXName): make sure that the color name is used
1758         as lowercase.
1759
1760 2004-03-17  Angus Leeming  <leeming@lyx.org>
1761
1762         * lfuns.h:
1763         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1764
1765         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1766         dialog and to kill a forked process.
1767
1768 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1769
1770         * text2.C (setCursorFromCoordinates): fix font problem
1771
1772 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1773
1774         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1775         bogus "rebuild cursor" code
1776
1777 2004-03-11  André Pönitz  <poenitz@gmx.net>
1778
1779         * buffer.[Ch]: use InsetText instead of LyXText as container for
1780         the main lyx text.
1781
1782         * dociterator.[Ch]: drop the BufferView * member which is not needed
1783         anymore after the change to buffer.C
1784
1785         * paragraph_funcs.C:
1786         * text.C:
1787         * text2.C:
1788         * BufferView.[Ch]:
1789         * BufferView_pimpl.[Ch]:
1790         * cursor.[Ch]:
1791         * cursor_slice.[Ch]: adjust
1792
1793         * text3.C: fix bug in mathDispatch
1794
1795 2004-03-08  André Pönitz  <poenitz@gmx.net>
1796
1797         * undo.[Ch]: use 'StableDocumentIterator' as base for
1798         the Undo struct.
1799
1800 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1801
1802         * LaTeXFeatures.C:
1803         * bufferparams.[Ch]: add jurabib support and param.
1804
1805         * LaTeX.C: add FIXME/comment.
1806
1807 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1808
1809         * buffer.C: increment file format to 230.
1810
1811 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * cursor.C (dispatch): avoid infinite loops
1814
1815 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1816
1817         * rowpainter.C (paintSelection): fix x coordinates
1818
1819 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1820
1821         * text.C (rowBreakPoint): fix breaking before displayed insets
1822
1823 2004-03-01  André Pönitz  <poenitz@gmx.net>
1824
1825         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1826
1827         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1828
1829         * Makefile.am:
1830         * BufferView.C:
1831         * BufferView_pimpl.C:
1832         * buffer.C:
1833         * lyxfind.C:
1834         * lyxfunc.C:
1835         * text.C:
1836         * text2.C:
1837         * text3.C: adjust
1838
1839 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1840
1841         * lyxtext.h:
1842         * text.C:
1843         * text2.C:
1844         * rowpainter.C:
1845         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1846         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1847
1848 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1849
1850         * Bidi.[Ch] (computeTables): const correctness
1851         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1852         fill_hfill, fill_label_hfill and x from Row
1853         * lyxtext.h: prepareToPrint returns a RowMetrics
1854         * rowPainter.C: adjust
1855         * text.C (prepareToPrint): use width, not textWidth. adjust
1856         (redoParagraphInternal, cursorX): adjust
1857         * text2.C (getColumnNearX): adjust
1858         (init): put a default value to the top LyXText::width
1859
1860 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1863
1864 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * lyxtext.h: add FontIterator class
1867
1868         * text.C (FontIterator, operator*, operator->, operator++): add
1869         (rowBreakPoint, setRowWidth): adjust (fixing a
1870         rebreaking bug)
1871
1872 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1873
1874         * BufferView_pimpl.C (workAreaDispatch): allow also
1875         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1876
1877 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1878
1879         * text.C (rowBreakPoint): fix a bug showing with very large insets
1880
1881 2004-02-25  André Pönitz  <poenitz@gmx.net>
1882
1883         * text3.C:
1884         * cursor.[Ch]: move some mathed specific code to mathed
1885
1886 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1887
1888         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1889         use_tempdir in preferences
1890         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1891         tempfile creation
1892         * lyx_main.C: ensure that tempdir is valid
1893         * lyxlex.h: correct typo
1894         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1895         * paragraph.[Ch] (isMultiLingual): make const
1896         * cursor.[Ch] (openable): make const
1897
1898 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1899
1900         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1901
1902 2004-02-20  André Pönitz  <poenitz@gmx.net>
1903
1904         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1905
1906         * cursor.[Ch]: prepare for localized getStatus()
1907
1908         * lyxtext.h:
1909         * tabular.C:
1910         * text.C:
1911         * text2.C:
1912         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1913
1914 2004-02-20  André Pönitz  <poenitz@gmx.net>
1915
1916         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1917
1918 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1919
1920         * text2.C (setCursorFromCoordinates): switch to absolute coords
1921         (cursorUp): adjust
1922         (cursorDown): adjust
1923         * text3.C (dispatch): adjust
1924
1925 2004-02-16  André Pönitz  <poenitz@gmx.net>
1926
1927         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1928           insets/ChangeLog)
1929
1930         * cursor_slice.[Ch]: remove unneeded acessor function
1931
1932         * lyxtext.h: rename rtl() to isRTL()
1933
1934         * rowpainter.C:
1935         * tabular.C:
1936         * text.C:
1937         * text2.C:
1938         * text3.C: adjust
1939
1940 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1941
1942         * rowpainter.C (paintSelection): coord fix
1943
1944 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1945
1946         * Spacing.C: compile fix
1947
1948 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1949
1950         * cursor.C (dispatch): restore current_ before returning
1951
1952 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1953
1954         * text2.C (cursorUp, cursorDown): fix coords
1955         (moveUp): fix crash
1956
1957 2004-02-12  André Pönitz  <poenitz@gmx.net>
1958
1959         * lyxtext.h:
1960         * text.C:
1961         * text2.C:
1962         * text3.C: add LCursor & parameter to most cursor movement functions
1963           remove usage of LyXText::cursorRow() and cursorPar()
1964
1965         * cursor.[Ch]: add textRow() needed members
1966
1967         * BufferView.C:
1968         * BufferView_pimpl.C:
1969         * paragraph.[Ch]:
1970         * BufferView.C:
1971         * BufferView_pimpl.C: adjust
1972
1973 2004-02-11  André Pönitz  <poenitz@gmx.net>
1974
1975         * lyxfunc.C:
1976         * BufferView.[Ch]:
1977         * BufferView_pimpl.C: shift undo/redo handling
1978
1979         * cursor.[Ch]: fix mathed crash
1980
1981         * lyxfind.C:
1982         * lyxtext.h: move selectionAsText to LCursor
1983
1984         * output_latex.C:
1985         * paragraph.C:
1986         * text.C:
1987         * text2.C:
1988         * text3.C: adjust
1989
1990         * rowpainter.C: fix excessive drawing
1991
1992 2004-02-06  André Pönitz  <poenitz@gmx.net>
1993
1994         * BufferView.[Ch]:
1995         * BufferView_pimpl.[Ch]:
1996         * text3.C: move some text specific LFUN handling
1997
1998 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1999
2000         * text3.C (checkInsetHit): adjust coords
2001         * text2.C (getColumnNearX): adjust coords
2002         (edit): adjust coords
2003         * text.C (getRowNearY): add two asserts
2004
2005 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2006
2007         * converter.C:
2008         * format.C: add using std::distance to compile on gcc 2.95/stlport
2009
2010 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2011
2012         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2013
2014 2004-02-04  André Pönitz  <poenitz@gmx.net>
2015
2016         * BufferView.[Ch] (insertInset):
2017         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2018
2019         * text2.C:
2020         * text3.C: adjust
2021
2022 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2025         on the default clause of the switch
2026         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2027         wasn't catched by LCursor::dispatch
2028
2029 2004-02-03  André Pönitz  <poenitz@gmx.net>
2030
2031         * BufferView.C:
2032         * cursor.[Ch]: some additional asserts
2033
2034         * undo.[Ch]: remove LyXText dependency in interface
2035
2036         * lyxfunc.C: adjust
2037
2038         * lyxtext.h (firstPar, lastPar): remove dead functions
2039
2040         * text.C:
2041         * text2.C:
2042         * text3.C:
2043         * paragraph.[Ch]: adjust
2044
2045 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2046
2047         * lyxfind.C (find): fix argument order in call to ::find
2048
2049 2004-02-02  André Pönitz  <poenitz@gmx.net>
2050
2051         * cursor.[Ch]: remove direct access to anchor
2052
2053         * text.C: remove findText() hack
2054
2055 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2056
2057         * iterators.[Ch] (lockPath): remove in favour of...
2058         * BufferView.[Ch] (setCursor): this addition
2059         * BufferView.C (putSelectionAt): adjust
2060         * undo.C (performUndoOrRedo): adjust
2061         * lyxfunc.C (dispatch): adjust
2062
2063 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2064
2065         * iterators.C (lockPath): add a missing slice
2066         * undo.C (performUndoOrRedo): remove redundant positioning code
2067
2068 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2069
2070         * vc-backend.C (scanMaster): ";" -> ';'
2071
2072 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2073
2074         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2075         std::binary_function
2076
2077         * lyxtextclass.C (compare_name): rename to...
2078         (LayoutNamesEqual): ...this
2079
2080         * lyxlex_pimpl.C (compare_tags): inherit from
2081         std::binary_function, put back into anon namespace
2082
2083         * lyxfind.C (MatchString): inherig from std::binary_function
2084         (findChange): use empty() istead of !size()
2085
2086         * format.C (FormatNamesEqual): new functor
2087         (getFormat): use it
2088         (getNumber): use it
2089         (add): use it
2090         (erase): use it
2091         (setViewer): use it
2092
2093         * converter.C (compare_Converter): rename to...
2094         (ConverterEqual): ...this, and fixup a bit.
2095         (getConverter): use it, and make function const
2096         (getNumber): use it, and make function const
2097         (add): use it
2098         (erase): use it:
2099
2100         * bufferlist.C: add using boost::bind
2101
2102         * MenuBackend.C (MenuNamesEqual): new functor
2103         (hasMenu): use it, and make function const
2104         (hasSubmenu): use nested bind to get rid of compare_memfun.
2105
2106 2004-01-30  André Pönitz  <poenitz@gmx.net>
2107
2108         * BufferView_pimpl.C:
2109         * cursor.C:
2110         * cursor.h:
2111         * cursor_slice.[Ch]:
2112         * lyxfunc.C:
2113         * lyxtext.h:
2114         * paragraph_funcs.C:
2115         * paragraph_funcs.h:
2116         * rowpainter.C:
2117         * text.C:
2118         * text2.C:
2119         * text3.C: move some of the edit(x,y) handling to the insets
2120         some coordinate changes.
2121
2122 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2123
2124         * text.C: add using statements for std::advance and std::distance
2125
2126         * paragraph.C: add using statement for std::distance
2127
2128         * lyxfind.C: add using statement for std::advance
2129
2130         * cursor.C (region): remove std:: from swap
2131         (openable): use nucleus in stead of operator->
2132
2133         * BufferView.C: add using statements for std::distance and std::swap
2134
2135 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2136
2137         * iterators.C: Remove the pimple, move the needed structures to
2138         the header file. Create accessor for the positions stack.
2139         (asPosIterator): remove function
2140
2141         * PosIterator.C (PosIterator): move constructors to top of file
2142         (PosIterator): reimplement the constructor taking a ParIterator in
2143         terms of setFrom.
2144         (setFrom): new function
2145         (operator!=): inline it
2146
2147 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2148
2149         * lyxfind.C (replaceAll): use std::advance
2150
2151         * iterators.h: inherit from std::iterator.
2152
2153         * PosIterator.C (advance, distance): remove
2154         * PosIterator.h: interit from std::iterator.
2155
2156 2004-01-26  André Pönitz  <poenitz@gmx.net>
2157
2158         * BufferView.[Ch]:
2159         * BufferView_pimpl.[Ch]:
2160         * InsetList.[Ch]:
2161         * PosIterator.[Ch]:
2162         * buffer.h:
2163         * bufferview_funcs.C:
2164         * cursor.[Ch]:
2165         * cursor_slice.h:
2166         * factory.[Ch]:
2167         * iterators.[Ch]:
2168         * lyxfind.C:
2169         * lyxfunc.C:
2170         * lyxtext.h:
2171         * output_docbook.C:
2172         * output_latex.C:
2173         * output_linuxdoc.C:
2174         * output_plaintext.C:
2175         * paragraph.[Ch]:
2176         * paragraph_funcs.[Ch]:
2177         * paragraph_pimpl.[Ch]:
2178         * rowpainter.C:
2179         * tabular.C:
2180         * tabular.h:
2181         * text.C:
2182         * text2.C:
2183         * text3.C: more IU:  dumps most of the rest of the mathcursor
2184     implementation into cursor.[Ch]; "globalize" a bit of it.
2185
2186 2004-01-25  Angus Leeming  <leeming@lyx.org>
2187
2188         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2189
2190 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2191
2192         * LaTeXFeatures.h: add nice_ and nice() const
2193         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2194
2195 2004-01-20  André Pönitz  <poenitz@gmx.net>
2196
2197         * BufferView.[Ch]:
2198         * BufferView_pimpl.C:
2199         * PosIterator.C:
2200         * bufferview_funcs.C:
2201         * cursor.[Ch]:
2202         * cursor_slice.[Ch]:
2203         * factory.C:
2204         * iterators.C:
2205         * lyx_cb.C:
2206         * lyxfind.C:
2207         * lyxfunc.C:
2208         * lyxtext.h:
2209         * rowpainter.C:
2210         * text.C:
2211         * text2.C:
2212         * text3.C:
2213         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2214           LCursor and mathcursor parts to LCursor and InsetBase.
2215
2216 2004-01-15  André Pönitz  <poenitz@gmx.net>
2217
2218         * cursor_slice.[Ch]: add a few covienience functions
2219
2220         * funcrequest.[Ch]: remove BufferView * member
2221
2222         * BufferView_pimpl.C:
2223         * cursor.C:
2224         * factory.[Ch]:
2225         * lyxfind.[Ch]:
2226         * lyxfunc.C:
2227         * lyxtext.h:
2228         * text3.C:
2229         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2230
2231 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2232
2233         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2234         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2235
2236 2004-01-13  André Pönitz  <poenitz@gmx.net>
2237
2238         * textcursor.[Ch]:
2239         * lyxtext.h: hide cursor and selection anchor behind accessor function
2240
2241         * BufferView.C:
2242         * BufferView_pimpl.[Ch]:
2243         * PosIterator.C:
2244         * bufferview_funcs.C:
2245         * cursor.h:
2246         * lyxfind.C:
2247         * lyxfunc.C:
2248         * text.C:
2249         * text2.C:
2250         * text3.C:
2251         * undo.C: adjust
2252
2253         * cursor.h:
2254         * cursor_slice.[Ch]: some integer type changes for inset unification
2255
2256         * lyxcursor.[hC]: remove, it's CursorSlice now.
2257
2258         * Makefile.am:
2259         * BufferView_pimpl.[Ch]:
2260         * bufferview_funcs.C:
2261         * cursor_slice.C:
2262         * lyxtext.h:
2263         * text.C:
2264         * text2.C:
2265         * text3.C:
2266         * textcursor.[Ch]: adjust
2267
2268 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2269
2270         * text2.C (undoSpan): add and use
2271         * text.C (breakParagraph): use undoSpan (fix bug 578)
2272         * lyxtext.h: adjust
2273
2274 2004-01-08  Angus Leeming  <leeming@lyx.org>
2275
2276         * BufferView_pimpl.C (MenuInsertLyXFile):
2277         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2278         * lyxfunc.C (menuNew, open, doImport):
2279         FileFilterList change to the FileDialog open and save functions.
2280
2281 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2282
2283         * ShareContainer.h: make isEqual and isUnique adaptable
2284
2285         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2286
2287 2004-01-07  Angus Leeming  <leeming@lyx.org>
2288
2289         * LyXAction.C:
2290         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2291
2292         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2293
2294         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2295         functions replacing find, replace and replaceAll.
2296
2297         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2298         LFUN_WORDFIND(FORWARD|BACKWARD).
2299
2300 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * text.C (breakParagraph): remove an outdated #warning
2303
2304 2004-01-07  André Pönitz  <poenitz@gmx.net>
2305
2306         * lyxfind.C: somewhat clearer logic
2307
2308         * text.C: prevent crash in cursorX on unitialized row cache
2309
2310 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2311
2312         * lyxcursor.[Ch] (operator>): add
2313         * textcursor.C (selStart, selEnd): use std::min and std::max
2314
2315 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2316
2317         * Chktex.C: include boost/format.hpp
2318
2319 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2320
2321         * InsetList.C: replace functor MathcIt with adaptable functor
2322         InsetTablePosLess
2323         (insetIterator): modify accordingly
2324
2325         * BranchList.h: move the BranchNamesEqual functor here from...
2326         * BranchList.C: ... to here
2327
2328         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2329         SameName and match.
2330         (add): replace a finding loop with std::find_if.
2331
2332 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2333
2334         * output_docbook.C: moving LatexParam functionality into
2335         .layout files
2336
2337 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2338
2339         * buffer.C: increment format to 229.
2340
2341 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2342
2343         * LaTeXFeatures.C:
2344         * lyx_sty.[Ch]: remove minipageindent_def
2345
2346         * LyXAction.C:
2347         * factory.C:
2348         * lfuns.h:
2349         * lyxfunc.C:
2350         * text3.C: remove LFUN_INSET_MINIPAGE
2351
2352 2003-12-28  Angus Leeming  <leeming@lyx.org>
2353
2354         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2355
2356 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2357
2358         * text2.C (setParagraph): fix off-by-one crash
2359
2360 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2361
2362         * output_docbook.C: header stuff for AGU
2363
2364 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2365
2366         * text2.C (redoCursor): remove
2367         * text.C:
2368         * text3.C:
2369         * BufferView_pimpl.C: remove calls to redoCursor and
2370         setCursor(cursor.par(), cursor.pos()) all around
2371
2372 2003-12-15  Angus Leeming  <leeming@lyx.org>
2373
2374         * buffer.C: up the format to 228.
2375
2376 2003-12-15  André Pönitz  <poenitz@gmx.net>
2377
2378         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2379         slices
2380
2381         * Makefile.am:
2382
2383         * BufferView_pimpl.C:
2384         * cursor.[Ch]:
2385         * lyxcursor.[Ch]:
2386         * rowpainter.[Ch]:
2387         * lyxtext.h:
2388         * text.C:
2389         * text2.C:
2390         * text3.C: adjust
2391
2392 2003-12-15  Angus Leeming  <leeming@lyx.org>
2393
2394         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2395         than getFromGUIName to manipulate the color.
2396
2397 2003-12-14  Angus Leeming  <leeming@lyx.org>
2398
2399         * BranchList.[Ch]: minimize the API.
2400         (Branch::getBranch, getColor): now return a 'const &'.
2401         (Branch::setSelected) now returns a bool set to true if the
2402         selection status changes.
2403         (BranchList::clear, size, getColor, setColor, setSelected,
2404         allBranches, allSelected, separator): removed.
2405         (BranchList::find): new functions, returning the Branch with
2406         the given name.
2407         (BranchList::add, remove): return a bool indicating that
2408         the operation was successful.
2409
2410         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2411         new InsetBranch::isBranchSlected member function.
2412
2413         * LColor.[Ch]: mimimize the API.
2414         (fill): renamed as addColor and made private.
2415         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2416         versions of these functions taking a string arg have been removed.
2417
2418         * bufferparams.C (readToken):
2419         * lyxfunc.C (dispatch):
2420         * lyxrc.C (read): changes due to the altered BranchList and
2421         LColor APIs.
2422
2423         * factory.C (createInset, readInset): changes due to altered
2424         InsetBranch c-tor.
2425
2426 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2427
2428         * factory.C:
2429         * lyxfunc.C: remove insetminipage. "minipage-insert"
2430         now produces a frameless minipage box inset.
2431
2432 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2433
2434         * textcursor.[Ch] (selStart,selEnd): add new methods
2435         remove selection::start, end, use LyXCursor::operator<
2436         * lyxcursor.[Ch] (operator<): add
2437         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2438         * BufferView.[Ch] (unsetXSel): add
2439         * text2.C (clearSelection): use unsetXSel,adjust
2440         * text.C: adjust
2441         * text3.C: adjust
2442         * rowpainter.C: adjust
2443         * bufferview_funcs.C (put_selection_at): adjust
2444
2445 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2446
2447         * BufferView_pimpl.C: small coord. correction
2448
2449 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2450
2451         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2452         dragging over the splash screen.
2453
2454 2003-12-11  Angus Leeming  <leeming@lyx.org>
2455
2456         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2457         as it is now handled in LyXText::dispatch.
2458
2459         * text3.C (doInsertInset): remove a level of nesting.
2460
2461 2003-12-11  Angus Leeming  <leeming@lyx.org>
2462
2463         * factory.C (createInset): changes due to the changed interface to
2464         InsetCommandMailer::string2params.
2465
2466 2003-12-10  Angus Leeming  <leeming@lyx.org>
2467
2468         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2469         'dialog-show-new-inset <inset name>'
2470
2471 2003-12-10  Angus Leeming  <leeming@lyx.org>
2472
2473         * buffer.C: up the format to 227.
2474
2475         * factory.C: the box inset is now identified simply by 'Box'.
2476
2477 2003-12-10  Angus Leeming  <leeming@lyx.org>
2478
2479         * buffer.C: up the format to 226.
2480
2481         * factory.C: the note inset is now identified simply by 'Note'.
2482
2483 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2484
2485         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2486         when a pit is enough. Standarize a couple of loops.
2487
2488 2003-12-05  Angus Leeming  <leeming@lyx.org>
2489
2490         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2491         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2492         data to the re-worked "log" dialog.
2493
2494 2003-12-03  André Pönitz  <poenitz@gmx.net>
2495
2496         * PosIterator.C:
2497         * iterators.C:
2498         * lyxtext.h:
2499         * output_latex.C:
2500         * paragraph_funcs.C:
2501         * text.C:
2502         * text2.C: use Inset::getText instead of Inset::getParagraph
2503
2504 2003-12-03  André Pönitz  <poenitz@gmx.net>
2505
2506         * buffer.[Ch]:
2507         * lyxtext.h:
2508         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2509         InsetText::read() as LyXText::read()
2510
2511 2003-12-02  Angus Leeming  <leeming@lyx.org>
2512
2513         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2514         type. Add a comment in the implementation that the function uses
2515         the stream's bad() function rather than fail() as the std::streams
2516         would do.
2517
2518 2003-12-02  André Pönitz  <poenitz@gmx.net>
2519
2520         * lyxlex.[Ch]: make interface more similar to std::stream
2521
2522         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2523
2524 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2527
2528 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2529
2530         * vspace.[Ch]: remove VSpace::NONE
2531
2532 2003-12-01  André Pönitz  <poenitz@gmx.net>
2533
2534         * buffer.[Ch]:
2535         * lyxtext.h: move ParagraphList member to LyXText
2536         rename LyXText::ownerParagraphs to LyXText::paragraph
2537
2538         * CutAndPaste.C:
2539         * bufferview_funcs.C:
2540         * iterators.[Ch]:
2541         * lyx_cb.C:
2542         * paragraph.C:
2543         * rowpainter.C:
2544         * tabular.C:
2545         * text.C:
2546         * text2.C:
2547         * text3.C: adjust
2548
2549         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2550
2551         * undo.C: fix cursor positioning
2552
2553 2003-12-01  John Levon  <levon@movementarian.org>
2554
2555         * BufferView_pimpl.C: fix a crash on exit with
2556         a buffer open
2557
2558 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2559
2560         * BranchList.C: fix setSelected() method.
2561
2562 2003-11-28  André Pönitz  <poenitz@gmx.net>
2563
2564         * ParagraphParameters.[Ch]:
2565         * ParameterStruct.h: remove space above/below from Paragraph to
2566          InsetVSpace
2567
2568         * BufferView_pimpl.C:
2569         * factory.C:
2570         * lyxfunc.C:
2571         * lyxtext.h:
2572         * output_latex.C:
2573         * paragraph.C:
2574         * paragraph_funcs.C:
2575         * rowpainter.[Ch]:
2576         * text.C:
2577         * text2.C:
2578         * text3.C: adjust
2579
2580 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2581
2582         * factory.C: Syntax change for CharStyles
2583
2584 2003-11-28  André Pönitz  <poenitz@gmx.net>
2585
2586         * BufferView.[Ch]:
2587         * BufferView.[Ch]:
2588         * buffer.[Ch]:
2589         * buffer.[Ch]: move LyXText member
2590
2591 2003-11-28  André Pönitz  <poenitz@gmx.net>
2592
2593         * BufferView.[Ch]: make LyXText * text a private member
2594
2595         * BufferView_pimpl.C:
2596         * cursor.C:
2597         * iterators.C:
2598         * lyx_cb.C:
2599         * lyxfind.C:
2600         * lyxtext.h:
2601         * rowpainter.[Ch]:
2602         * text.C:
2603         * text2.C:
2604         * undo.C: adjust
2605
2606         * output_plaintext.C: cleanup
2607
2608 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2609
2610         * buffer.C:
2611         * lyxtextclass.[Ch]: parametrize SGML document header
2612
2613 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2614
2615         * converter.[Ch]:
2616         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2617         getFlavor().
2618
2619 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2620
2621         * text2.C (setFont): rework using PosIterator (no more recursive)
2622         (setCharFont): no more needed
2623         (setLayout): no more selection cursors fiddling (done by redoCursor)
2624         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2625         destroy remaining ones)
2626
2627 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2630         * lyxtext.h: ditto
2631         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2632         selection cursors
2633         * lyxfunc.C: adjust
2634         * text3.C: adjust + re-allow multi par depth changes
2635         * textcursor.C: simplify a bit
2636
2637 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2638
2639         * src/buffer.C:
2640         * src/lyxlayout.C:
2641         * src/lyxlayout.h:
2642         * src/lyxtext.h:
2643         * src/output_docbook.C:
2644         * src/output_latex.C:
2645         * src/paragraph.C:
2646         * src/paragraph.h:
2647         * src/sgml.C:
2648         * src/sgml.h:
2649         * src/text2.C: Introducing a number of tags parametrizing various
2650         XML formats that we may want to support
2651
2652 2003-11-25  André Pönitz  <poenitz@gmx.net>
2653
2654         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2655
2656         * lyxtext.h (leftMargin/rightMargin): simplify interface
2657
2658         * rowpainter.C:
2659         * text.C:
2660         * text2.C:
2661         * text3.C: adjust
2662
2663 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2664
2665         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2666         master file to any child files. Fixes bug 546.
2667
2668 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2671
2672 2003-11-24  André Pönitz  <poenitz@gmx.net>
2673
2674         * rowpainter.C: simplification
2675
2676         * text2.C (updateCounters): remove call to redoParagraph on
2677         changed labels as this is far too expensive.
2678
2679 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2680
2681         * converter.C (convert): fix a crash: this function gets
2682         called with buffer == 0 from importer code.
2683
2684 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2685
2686         * text3.C (cursorPrevious): make sure that we do not compare
2687         iterators form different containers.
2688         (cursorNext): ditto
2689
2690         * rowpainter.C (paintSelection): make sure that we do not compare
2691         iterators from different containers.
2692
2693         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2694         iterators from different ParagraphList containers.
2695         [NEXT] ditto
2696
2697         * text2.C (LyXText): change order of initialization slightly
2698         (operator=): new function. copy all variables except cache_par_
2699         (moveUp): make sure that we do not compare iterators from
2700         different ParagraphList constainers.
2701         (moveDown): ditto
2702
2703         * text.C (firstPar): new function
2704         (lastPar): new function
2705         (endPar): new function
2706
2707         * lyxtext.h: move things around and group public functions, public
2708         variables, private functions, private variables
2709
2710 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2711
2712         * factory.C: change call to InsetERT constructor to avoid
2713         additional invocation of method status
2714         * text2.C (toggleInset): remove redundant update() call
2715         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2716         instead of a Bufferview pointer
2717
2718 2003-11-21  André Pönitz  <poenitz@gmx.net>
2719
2720         * rowpainter.C: simplification
2721
2722 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * text3.C (dispatch): make possible to extend a word/row selection
2725         with the mouse
2726
2727 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2728
2729         * lyxtext.h: x0_,y0_ -> xo_,yo_
2730         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2731         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2732         * rowpainter.C (paintRows): paint full paragraphs
2733
2734 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2735
2736         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2737         screen coordinates)
2738
2739 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2740
2741         * lyxtext.h: add x0_, y0_
2742         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2743         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2744
2745 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2746
2747         * text2.C (setCursorIntern): move the x_target update here *
2748         * text3.C: change some bv() to true/false in calls to
2749         cursorUp/Down/Right/Left
2750         * cursor.C: use helper function.
2751
2752 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2753
2754         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2755         * paragraph_funcs.[Ch]: correct comment
2756         * rowpainter.C: do not paint selections away from bv->cursor()
2757         Fix a long standing selection painting bug.
2758         * text3.C: generalize mouse-selection code to LyXTexts other that
2759         top one
2760         * textcursor.C: do not use y coords if we can use par offsets
2761
2762 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2763
2764         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2765         cursor position after e.g. inset insert)
2766
2767 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2768
2769         * lyxfind.C (replace): adjust to locking removal + some
2770         code simplification
2771
2772 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2775         of the path
2776
2777 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2778
2779         * lyxlayout.[Ch]:
2780         * output_docbook.C: XML sanitation: new layout
2781         parameters InnerTag and CommandDepth
2782
2783 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2784
2785         * BufferView_pimpl.C:
2786         * factory.C:
2787         * text3.C: Fix the insertion and modification of button-style
2788         insets
2789
2790 2003-11-13  André Pönitz  <poenitz@gmx.net>
2791
2792         * InsetList.[Ch]: remove deleteLyXText
2793
2794         * paragraph.[Ch]: cache beginOfBody position
2795
2796         * Bidi.C:
2797         * text.C:
2798         * text2.C:
2799         * text3.C: remove superfluous update() calls
2800
2801         * vspace.C: cleanup
2802
2803 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2804
2805         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2806         * BufferView.C (fitLockedInsetCursor): remove
2807         * cursor.[Ch] (getDim): add
2808         * text.C (getRowNearY): add faster version
2809         * text3.C: remove some update calls
2810
2811 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * LaTeXFeatures.C:
2814         * LyXAction.C:
2815         * MenuBackend.C:
2816         * MenuBackend.h:
2817         * dispatchresult.h:
2818         * factory.C:
2819         * lfuns.h:
2820         * lyxfunc.C:
2821         * lyxtextclass.C:
2822         * lyxtextclass.h:
2823         * text3.C: The Character Style /XML short element patch.
2824
2825 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2826
2827         * text3.C:
2828         * factory.C: Small step to solving 'unable to insert some insets'
2829         problem
2830
2831 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2832
2833         * cursor.[Ch] (updatePos): new function for updating the y
2834         position of the tip inset
2835         * bufferview_funcs.C (put_selection_at):
2836         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2837
2838 2003-11-11  André Pönitz  <poenitz@gmx.net>
2839
2840         * text.C: remove big comment on invalid Paragraph pointers as it is
2841         not valid anymore
2842
2843 2003-11-11  André Pönitz  <poenitz@gmx.net>
2844
2845         * text_funcs.[Ch]: merge with ...
2846
2847         * text.C: ... this
2848
2849         * lyxtext.h:
2850         * text2.C:
2851         * text3.C: adjust
2852
2853         * Makefile.am: remove text_funcs.[Ch]
2854
2855 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2856
2857         * cursor.C (getPos): return absolute cached y coord
2858
2859         * BufferView_pimpl.C (fitCursor): new simplistic code
2860         (workAreaDispatch): add a fitCursor call
2861
2862 2003-11-10  André Pönitz  <poenitz@gmx.net>
2863
2864         * BufferView.[Ch]:
2865         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2866
2867 2003-11-10  André Pönitz  <poenitz@gmx.net>
2868
2869         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2870         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2871         indicate that the cursor needs to leave an inset
2872
2873         * lyxtext.h: remove inset locking
2874
2875         * cursor.[Ch]: re-implement functionality provided by inset locking
2876
2877         * BufferView.[Ch]:
2878         * BufferView_pimpl.[Ch]:
2879         * LyXAction.C:
2880         * bufferview_funcs.[Ch]:
2881         * factory.C:
2882         * funcrequest.[Ch]:
2883         * iterators.C:
2884         * lyx_cb.C:
2885         * lyxfind.C:
2886         * lyxfunc.C:
2887         * text.C:
2888         * text2.C:
2889         * text3.C:
2890         * undo.C: adjust
2891
2892 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2893
2894         * PosIterator.[Ch]: replace the stack with a vector, add inset
2895         accesor
2896         * iterators.[C]: adjust
2897
2898 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2899
2900         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2901         replaced
2902         * paragraph_funcs.C (readParToken): put the correct id in the
2903         error item, not the id of the top paragraph
2904
2905 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2906
2907         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2908         * bufferview_funcs.C (put_selection_at): use the above
2909
2910 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2913
2914 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2915
2916         * output_linuxdoc.h:
2917         * output_plaintext.h:
2918         * output.h:
2919         * output_docbook.h: add #include statements
2920
2921 2003-11-05  José Matos  <jamatos@lyx.org>
2922
2923         * output_docbook.[Ch]:
2924         * output_latex.[Ch]:
2925         * output_linuxdoc.[Ch]:
2926         * output_plaintext.[Ch]: New files for output formats.
2927         * output.[Ch]: New file for helper functions.
2928
2929         * buffer.[Ch]:
2930         * paragraph_funcs.[Ch]: output functions moved to new files.
2931
2932         * outputparams.h: rename of latexrunparams.h
2933
2934         * LaTeX.[Ch]:
2935         * buffer.[Ch]:
2936         * bufferlist.[Ch]:
2937         * converter.[Ch]:
2938         * exporter.C:
2939         * paragraph.[Ch]:
2940         * paragraph_funcs.[Ch]:
2941         * paragraph_pimpl.[Ch]:
2942         * tabular.[Ch]: rename ascii to plaintext
2943         and LatexRunParams to OutputParams.
2944
2945 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2946
2947         * iterators.[Ch] (text): require bv argument
2948         * undo.C (recordUndo):
2949         * lyxfunc.C (dispatch):
2950         * bufferview_funcs.C (put_selection_at): adjust
2951
2952 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2953
2954         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2955
2956 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2957
2958         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2959         nestings
2960
2961 2003-11-04  André Pönitz  <poenitz@gmx.net>
2962
2963         * cursor.[Ch]: restructure
2964
2965         * BufferView.[Ch]:
2966         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2967
2968         * iterators.[Ch] (asCursor): remove
2969
2970         * lfuns.h: remove LFUN_INSET_EDIT
2971
2972         * lyxfunc.C:
2973         * tabular.C:
2974         * text.C:
2975         * text2.C:
2976         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2977
2978 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * lyxfind.[Ch]: complete overhaul
2981         * BufferView_pimpl.C:
2982         * lyxfunc.C: adjust
2983         * paragraph.[Ch] (insert): add
2984
2985 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2986
2987         * BufferView.[Ch]:
2988         * lyxtext.h:
2989         * text.C: remove dead spellcheck code
2990
2991 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2992
2993         * dispatchresult.h: add a val setter
2994
2995         * cursor.C (dispatch): use a tempvar for data_[i]
2996
2997 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2998
2999         * PosIterator.[Ch]: compile fix
3000
3001 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * text.C (cursorPar): deactivate the cursor cache
3004
3005 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3008
3009 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * text3.C (dispatch): adjust for new DisptchResult semantics.
3012
3013         * lyxfunc.C (dispatch): handle update when return from
3014         Cursor::dispatch, adjust for new DispatchResult semantics.
3015
3016         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3017         DispatchResult(true) mean to not update. Add class functions for
3018         setting dispatched and update, as well as reading.
3019
3020         * cursor.C (dispatch): don't handle update here
3021
3022 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3025         * trans_mgr.C: adjust
3026
3027         * paragraph_funcs.C (readParToken): exception safety
3028
3029         * lyxvc.h: store the vcs pointer in a scoped_ptr
3030         * lyxvc.C: adjust
3031
3032         * lyxsocket.C (serverCallback): exception safety
3033
3034         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3035
3036         * ispell.C (clone): make it return a auto_ptr
3037
3038         * factory.C (createInset): exception safety
3039         (readInset): exception safety
3040
3041         * bufferlist.C (newBuffer): exception safety
3042
3043         * Thesaurus.C (Thesaurus): use initialization for aik_
3044
3045         * MenuBackend.C (expandToc): exception safety.
3046
3047 2003-11-03  André Pönitz  <poenitz@gmx.net>
3048
3049         * buffer.C:
3050         * buffer.h:
3051         * bufferview_funcs.C: remove getInsetFromId()
3052
3053         * lyxcursor.[Ch]:
3054         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3055
3056         * lyxfunc.C:
3057         * text2.C:
3058         * text3.C: adjust
3059
3060 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3061
3062         * PosIterator.C (distance, advance): new
3063         * bufferview_funcs.[Ch] (put_selection_at): new
3064         * iterators.[Ch] (lockPath): new
3065
3066 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3067
3068         * iterators.[Ch] (asPosIterator): added
3069         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3070         * PosIterator.[Ch]: added
3071
3072 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * text3.C:
3075         * lyxfunc.C:
3076         * cursor.C (dispatch):
3077         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3078
3079         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3080         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3081         contructor, add a class function dispatched. Remove operator>=
3082
3083 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3084
3085         * debug.C: only use the default constructor for debugstream
3086         (lyxerr) here.
3087
3088         * main.C (main): include debug.h and setup the lyxerr streambuf
3089         here.
3090
3091 2003-10-31  José Matos  <jamatos@lyx.org>
3092
3093         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3094
3095         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3096         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3097         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3098         * paragraph_pimpl.C (simpleTeXSpecialC):
3099         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3100         add LatexRunParams argument.
3101
3102         * exporter.C (Export): change call accordingly.
3103
3104         * latexrunparams.h: add new member to take care of the other backends.
3105 2003-10-30  José Matos  <jamatos@lyx.org>
3106
3107         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3108         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3109         factorise code for paragraph output.
3110         * buffer.[Ch]:
3111         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3112         move functions.
3113
3114 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3115
3116         * text3.C (dispatch):
3117         * lyxfunc.C (dispatch):
3118         * cursor.C (dispatch):
3119         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3120
3121         * dispatchresult.h: make the dispatch_result_t ctor explicit
3122
3123 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3124
3125         * sgml.[Ch]:
3126         * buffer.C: small refactoring of docbook stuff
3127
3128 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3131         meaning.
3132
3133 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3136         operator dispatch_result_t, and operators for == != and >=
3137
3138         * cursor.C (dispatch): adjust for operator dispatch_result_t
3139         removal. comment out call to update
3140
3141         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3142
3143 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * text3.C:
3146         * text2.C:
3147         * text.C:
3148         * lyxtext.h:
3149         * lyxfunc.C:
3150         * cursor.C:
3151         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3152         (dispatch):
3153
3154         * dispatchresult.h: new file, DispatchResult broken out of
3155         insets/insetbase.h
3156
3157         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3158
3159 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3160
3161         * text.C (rowBreakPoint): put a hack inside #if 0
3162
3163 2003-10-28  André Pönitz  <poenitz@gmx.net>
3164
3165         * lyxtext.h:
3166         * metricsinfo.C:
3167         * paragraph_funcs.C:
3168         * rowpainter.C:
3169         * text.C:
3170         * text2.C: general cleanup (lots of small stuff)
3171
3172 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * text2.C (cursorEnd): simple fix to the "end key goes to one
3175         before the end on last row" bug
3176
3177 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3178
3179         * text.C (backspace): fix the "zombie characters"
3180
3181 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3182
3183         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3184
3185 2003-10-27  André Pönitz  <poenitz@gmx.net>
3186
3187         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3188
3189         * factory.C: handle new InsetPagebreak, InsetLine
3190
3191         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3192         and move handling into new InsetPagebreak, InsetLine
3193
3194         * BufferView_pimpl.C:
3195         * LyXAction.C:
3196         * ParagraphParameters.C:
3197         * ParameterStruct.h:
3198         * lyxfunc.C:
3199         * lyxtext.h:
3200         * paragraph.C:
3201         * paragraph.h:
3202         * paragraph_funcs.C:
3203         * paragraph_pimpl.C:
3204         * rowpainter.C:
3205         * text.C:
3206         * text2.C:
3207         * text3.C: adjust
3208
3209 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * text.C:
3212         * lyxrow_funcs.[Ch]:
3213         * Bidi.C:
3214         * paragraph.C:
3215         * lyxtext.h:
3216         * rowpainter.C:
3217         * text2.C:
3218         * text3.C: remove lastPos uses in favour of Row::endpos
3219
3220 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3221
3222         * undo.C (performUndoOrRedo): fix two crashes by setting a
3223         cursor by hand and reordering some calls. Use bv->lockInset instead
3224         of inset->edit because the latter loses cursor information
3225
3226 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3229         by Martin
3230         (rowBreakPoint): fix width. change point to point + 1.
3231         Add a missing check.
3232
3233 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3234
3235         * MenuBackend.C:
3236         * lyxfunc.C: fix (at least partly) the problems
3237         with the Nav menu and headers inside branch insets
3238         reported by Kayvan
3239
3240 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3241
3242         * paragraph.C (getChar): add strong asserts
3243
3244         * lyxrow_funcs.C (lastPos): remove hideous hack
3245
3246         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3247         (fill): adjust to that (avoid an infinite loop)
3248
3249 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3250
3251         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3252
3253 2003-10-23  André Pönitz  <poenitz@gmx.net>
3254
3255         * RowList_fwd.h: change list<> to vector<> to gain speed
3256         after suggestion from Alfredo
3257
3258 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3259
3260         * lyxtext.h: move the bidi stuff from here...
3261         * text.C: and here
3262         * text2.C: and here
3263         * Bidi.[Ch]: ... to here
3264
3265 2003-10-23  André Pönitz  <poenitz@gmx.net>
3266
3267         * lyxtext.h:
3268         * text.C (isLastRow, isFirstRow): new functions
3269
3270         * paragraph.h: new width cache member
3271
3272         * rowpainter.C: replace RowList::iterator with Row & where possible
3273
3274         * lyxfunc.C: replace several view()->text with a single call
3275
3276         * toc.C: fix 'unused' warning
3277
3278 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3279
3280         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3281         when woring with stream::pos_type
3282         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3283
3284 2003-10-22  André Pönitz  <poenitz@gmx.net>
3285
3286         * lyxtext.h:
3287         * text.C: use Row & instead of RowList::iterator
3288
3289         * lyxrow.h: rename end() to endpos()
3290
3291         * rowpainter.C:
3292         * text.C:
3293         * text2.C: adjust
3294
3295 2003-10-22  Angus Leeming  <leeming@lyx.org>
3296
3297         * buffer.[Ch] (fully_loaded): new member function, returning true
3298         only when the file has been loaded fully.
3299         Used to prevent the premature generation of previews and by the
3300         citation inset to prevent computation of the natbib-style label.
3301
3302         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3303         templates are all set up.
3304
3305         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3306
3307 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * text.C: fixed an "oops" in the "is a bit silly"
3310         bug fix
3311
3312 2003-10-21  André Pönitz  <poenitz@gmx.net>
3313
3314         * FuncStatus.[Ch]: small stuff, whitespace
3315
3316         * lyxfont.[Ch]: operator<<() for debug reasons
3317
3318         * lyxfunc.C:
3319         * lyxrow_funcs.C:
3320         * lyxtext.h: whitespace, spelling
3321
3322         * paragraph.C: naming of variables
3323
3324         * text.C:
3325         * text2.C: small stuff
3326
3327
3328 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3329
3330         * text.C: (1) finish off the inset display() work;
3331         (2) fix the "is a bit silly" bug (accessing char
3332         past end of par).
3333
3334 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3335
3336         * text.C: re-introduce display() for insets, fixing the
3337         various bugs (stretch of line above, math inset
3338         positioning, ...)
3339
3340 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3341
3342         * text.C (rightMargin): remove spurious semicolon
3343
3344         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3345         1415)
3346
3347 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3348
3349         * text3.C: fix one crash due to wrong cursor def
3350
3351 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3352
3353         * vc-backend.C (scanMaster): make the regex static
3354
3355         * LaTeX.C (scanAuxFile): make the regexs static
3356
3357         * text3.C (doInsertInset, dispatch, dispatch):
3358         * text2.C (cursorUp, cursorDown):
3359         * text.C (selectNextWordToSpellcheck):
3360         * BufferView_pimpl.C (dispatch):
3361         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3362
3363 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3364
3365         * lyxsocket.C: include <cerrno>
3366
3367 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3368
3369         * lyxfunc.C (dispatch): remove textcache stuff
3370
3371         * bufferlist.C (release): remove textcache stuff
3372         (closeAll): ditto
3373
3374         * TextCache.C: delete file
3375         * TextCache.h: delete file
3376
3377         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3378
3379         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3380         delete of the bv_->text.
3381         (resizeCurrentBuffer): remove texcache stuff
3382         (workAreaResize): ditto
3383
3384 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3385
3386         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3387         action.
3388
3389 2003-10-16  André Pönitz  <poenitz@gmx.net>
3390
3391         * lyxrow.[Ch]:
3392         * paragraph.h:
3393         * rowpainter.C:
3394         * text.C:
3395         * text2.C:
3396         * text3.C: speed up by storing y positions per paragraph plus per-row
3397         offset instead of having a 'full' y position in the row.
3398
3399 2003-10-15  André Pönitz  <poenitz@gmx.net>
3400
3401         * iterators.[Ch]:
3402         * iterators.[Ch]:
3403         * undo.[Ch]: make undo aware of inner insets
3404
3405 2003-10-14  Angus Leeming  <leeming@lyx.org>
3406
3407         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3408         static member functions LyX::ref() and LyX::cref.
3409         (lastfiles): new accessor functions for the new lastfiles_ member var.
3410         (addLyXView, views_): add a new LyXView to the list of views_.
3411         (updateInset): loop over all LyXViews to call their own updateInset
3412         member function, returning a pointer to the Buffer owning the inset.
3413
3414         * BufferView_pimpl.C (loadLyXFile):
3415         * MenuBackend.C (expandLastfiles):
3416         * bufferlist.C (MenuWrite, QuitLyX):
3417         lastfiles is no longer a global variable.
3418         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3419
3420         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3421         static function. Access through LyX::cref().emergencyCleanup().
3422
3423 2003-10-14  André Pönitz  <poenitz@gmx.net>
3424
3425         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3426
3427         * undo.[Ch]: restoring part of 'undo in insets'
3428
3429         * Makefile.am:
3430         * undo_funcs.[Ch]: merge with undo.[Ch]
3431
3432         * tabular.C: small cleansing stuff
3433
3434 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3435
3436         * paragraph_funcs.C (readParToken): report unknown insets as error
3437         boxes. Use the outer paragraph as location (also for unknown
3438         tokens).
3439
3440         * factory.C (readInset): do not abort on reading an unknown inset.
3441         Eat it and return 0.
3442
3443 2003-10-13  Angus Leeming  <leeming@lyx.org>
3444
3445         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3446
3447         * lyxrc.C: displayTranslator is now a function,
3448         declared in GraphicsTypes.h.
3449
3450 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3451
3452         * format.C: new placeholder $$a to pass the socket address.
3453
3454         * bufferlist.[Ch]: new function getBufferFromTmp.
3455
3456         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3457           files in the temporary dir.
3458
3459 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3460
3461         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3462
3463         * Makefile.am: add lyxsocket.[Ch].
3464
3465         * lyx_main.C (error_handler): handle SIGPIPE.
3466
3467 2003-10-13  André Pönitz  <poenitz@gmx.net>
3468
3469         * BufferView_pimpl.C:
3470         * lyxtext.h:
3471         * text.C:
3472         * text2.C:
3473         * text3.C:
3474         * undo_funcs.[Ch]: use paroffset_type instead of
3475           ParagraphList::iterators to prevent multiple conversion
3476           (and get a more robust interface)
3477
3478 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3481         * lyxtext.h: ditto
3482         * text3.C (dispatch): ditto
3483
3484 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3485
3486         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3487         move the onlyfile, use onlyfile instead of foundfile in a couple
3488         of places.
3489
3490         * DepTable.C (update): flush the error stream a bit more
3491
3492 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3493
3494         * lyxserver.C (callback): adjust
3495
3496         * lyxfunc.C (getStatus): add a missing brace in commented code
3497         (ensureBufferClean): reindent
3498         (dispatch): delete version taking a string
3499
3500 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3501
3502         * LaTeX.C (deplog): move found file handlig from here...
3503         (handleFoundFile): .. to new function here.
3504         (deplog): make sure to discover several files mentioned on the
3505         same log line.
3506
3507 2003-10-10  André Pönitz  <poenitz@gmx.net>
3508
3509         * lyxfunc.C:
3510         * lyxtext.h:
3511         * tabular.C:
3512         * text.C:
3513         * text2.C:
3514         * text3.C: fix some of the tabular crashes
3515
3516 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3517
3518         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3519
3520         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3521
3522 2003-10-09  André Pönitz  <poenitz@gmx.net>
3523
3524         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3525
3526         * BufferView.C:
3527         * BufferView_pimpl.C:
3528         * bufferview_funcs.C:
3529         * lyx_cb.C:
3530         * lyxcursor.C:
3531         * lyxfind.C:
3532         * lyxfunc.C:
3533         * lyxtext.h:
3534         * text.C:
3535         * text2.C:
3536         * text3.C:
3537         * text_funcs.[Ch]:
3538         * textcursor.[Ch]:
3539         * undo_funcs.C: adjust
3540
3541 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3542
3543         * text2.C (incrementItemDepth): new function, use a backtracking
3544         algorithm to discover the correct item depth.
3545         (resetEnumCounterIfNeeded): new function, use a backtracking
3546         algorithm to discover if counter reset is needed.
3547         (setCounter): use them. Simplify a bit. Add different labels for
3548         different item depths for itemize.
3549
3550         * paragraph.C (Paragraph): remove initialization of enumdepth
3551         (operator=): ditto
3552
3553         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3554         enumerate and itemize. Change the type of itemdepth to signed char.
3555
3556 2003-10-08  André Pönitz  <poenitz@gmx.net>
3557
3558         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3559           thing assignable.
3560         * text.C:
3561         * text2.C: adjust
3562
3563         * tabular.[Ch]: fix crash after 'row-insert'
3564
3565 2003-10-08  Angus Leeming  <leeming@lyx.org>
3566
3567         Fix doxygen warnings.
3568
3569         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3570         Remove CutAndPaste:: prefix from header file declaration.
3571
3572         * LColor.h (fill): remove LColor:: prefix from declaration.
3573
3574         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3575         use lyx::depth_type rather than Paragraph::depth_type so that
3576         header file and .C file match.
3577
3578         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3579
3580         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3581         * aspell.C: \file aspell_local.C -> \file aspell.C
3582         * gettext.C: \file gettext.C -> \file src/gettext.C
3583         * gettext.h: \file gettext.h -> \file src/gettext.h
3584         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3585         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3586         * text.C: \file text.C -> \file src/text.C
3587
3588         * toc.C: move comment so that doxygen is not confused.
3589
3590 2003-10-07  Angus Leeming  <leeming@lyx.org>
3591
3592         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3593
3594 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3595
3596         * aspell.C:
3597         * aspell_local.h: add forgotten std::string's.
3598
3599 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3600
3601         * LaTeXFeatures.C:
3602         * LyXAction.C:
3603         * factory.C:
3604         * lfuns.h:
3605         * lyxfunc.C:
3606         * text3.C: The Box patch. Fancybox support, minipage, parbox
3607
3608 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3609
3610         * CutAndPaste.h:
3611         * DepTable.h:
3612         * FloatList.h:
3613         * LaTeXFeatures.h:
3614         * ParagraphParameters.h:
3615         * TextCache.h:
3616         * Thesaurus.h:
3617         * bufferlist.h:
3618         * exporter.h:
3619         * importer.h:
3620         * lastfiles.h:
3621         * lyxfind.h:
3622         * lyxfont.h:
3623         * lyxlex.h:
3624         * lyxtextclasslist.h:
3625         * messages.h:
3626         * paragraph.h:
3627         * paragraph_pimpl.C:
3628         * textcursor.h: add <string> and other small fixes to make Lars'
3629         std::string patch compile with STLport.
3630
3631 2003-10-06  Angus Leeming  <leeming@lyx.org>
3632
3633         * LColor.h: Add missing #include <string>.
3634
3635 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3636
3637         * All most all file in all subdirs: Make <string> be the prefered
3638         way of getting to std::string, add using declarations.
3639
3640 2003-10-06  André Pönitz  <poenitz@gmx.net>
3641
3642         * metricsinfo.C: initialize LyXFont before changing attribute.
3643         (fixes the 'math in \emph is upright' bug)
3644
3645 2003-10-06  André Pönitz  <poenitz@gmx.net>
3646
3647         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3648
3649 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3650
3651         * graph.C:
3652         * paragraph_pimpl.C: Small fixes to build using STLport
3653
3654 2003-10-02  André Pönitz  <poenitz@gmx.net>
3655
3656         * lyxfunc.C:
3657         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3658
3659 2003-10-01  André Pönitz  <poenitz@gmx.net>
3660
3661         * factory.C: assert early
3662
3663 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3664
3665         * lyx_main.C: remove the global debug object
3666
3667         * debug.h: adjust for new debugstream
3668
3669         * debug.C: adjust for new debugstream and keep the global debug
3670         object here.
3671
3672 2003-09-22  Angus Leeming  <leeming@lyx.org>
3673
3674         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3675         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3676         an incomplete class LyXFont.
3677
3678 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3679
3680         * factory.C: bug fix in branches
3681
3682 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3683
3684         * lyxfunc.C (processKeySym): adjust
3685         (dispatch): adjust
3686         (dispatch): change arg name from ev to func, adjust
3687         (sendDispatchMessage): ditto
3688
3689         * lyx_main.C (defaultKeyBindings): adjust keybindings
3690         (deadKeyBindings): ditto
3691
3692         * kbsequence.C (addkey): return a FuncRequest
3693
3694         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3695
3696         * kbmap.C (bind): take a FuncRequest as arg, adjust
3697         (read): adjust
3698         (lookup): adjust
3699         (defkey): change to take a FuncRequest as arg, adjust
3700         (findbinding): take a FuncRequest as arg, adjust.
3701
3702         * funcrequest.h (operator=): added
3703
3704         * funcrequest.C (FuncRequest): default kb_action changed from
3705         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3706
3707         * buffer.C (dispatch): simplify
3708         (dispatch): adjust to take a FuncRequest as arg, adjust
3709
3710         * boost.C (assertion_failed): change assertion message slightly
3711
3712         * ToolbarBackend.C (read): simplify
3713
3714         * MenuBackend.C (binding): adjust call to findbinding, add a
3715         message if no binding is found.
3716         (read): simplify
3717         (expandToc): correct by adding a empty FuncRequest
3718
3719         * LyXAction.C: include <boost/assert.hpp>
3720         (isPseudoAction): delete function
3721         (LookupFunc): change name to...
3722         (lookupFunc): this. change return type to FuncRequest.
3723         (getActionName): take kb_action as arg, simplify
3724         (funcHasFlag): add an assert, simplify.
3725
3726 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3727
3728         * toc.C (action): return a FuncRequest, simplify
3729
3730         * lyxfunc.C (processKeySym): adjust
3731         (getStatus): delete version that takes an int.
3732         (getStatus): adjust
3733         (dispatch): delete version that takes action as int
3734         (dispatch): adjust
3735         (sendDispatchMessage): simplify and adjust
3736
3737         * funcrequest.C (getArg): take unsigned int as arg
3738
3739         * ToolbarBackend.C (read): adjust
3740         (add): delete version that takes func as a string.
3741         (getIton): take a FuncRequest as arg
3742
3743         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3744         action.
3745
3746         * MenuBackend.C (MenuItem): add a new construct that only takes a
3747         Kind, simplify the constructor use for submenus.
3748         (add): adjust
3749         (expandLastfiles): adjust
3750         (expandDocuments): adjust
3751         (expandFormats): adjust
3752         (expandFloatListInsert): adjust
3753         (expandFloatInsert): adjust
3754         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3755
3756         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3757         Remove class variables lyx_pseudo_map and lyx_arg_map
3758
3759         * LyXAction.C (searchActionArg): delete function
3760         (getPseudoAction): delete function
3761         (retrieveActionArg): delete function
3762         (LookupFunc): make it return kb_action, simplify.
3763         (getActionName): simplify
3764
3765         * factory.C (createInset): fix new bug
3766
3767 2003-09-19  Angus Leeming  <leeming@lyx.org>
3768
3769         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3770         masterFilename_ parameter in the include inset.
3771
3772         * factory.C (createInset): changes due to the changes to InsetInclude.
3773
3774 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3775
3776         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3777
3778 2003-09-18  Angus Leeming  <leeming@lyx.org>
3779
3780         * buffer.C:
3781         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3782         Inset::fillWithBibKeys.
3783         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3784
3785 2003-09-18  Angus Leeming  <leeming@lyx.org>
3786
3787         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3788         variables.
3789         (ctor): pass and store a 'Buffer const &'
3790         (buffer): new member function.
3791
3792         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3793         '*this' to the LaTeXFeatures ctor.
3794
3795 2003-09-18  Angus Leeming  <leeming@lyx.org>
3796
3797         * LColor.h:
3798         * lyxfont.C:
3799         * lyxfont.h:
3800         * lyxtext.h:
3801         * text.C: rename EnumLColor as LColor_color.
3802
3803 2003-09-18  Angus Leeming  <leeming@lyx.org>
3804
3805         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3806         remove #include "insets/insetbase.h" from cursor.h.
3807
3808 2003-09-18  Angus Leeming  <leeming@lyx.org>
3809
3810         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3811         InsetOld_code to remove #include "inset.h".
3812
3813         * iterators.C: add #include "insets/inset.h"
3814
3815 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3816
3817         * BufferView.C: remove more locking stuff that apparently doesn't
3818         do anything sensible.
3819
3820 2003-09-16  André Pönitz  <poenitz@gmx.net>
3821
3822         * paragraph.[Ch]:
3823         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3824           performance boost.
3825
3826 2003-09-16  Angus Leeming  <leeming@lyx.org>
3827
3828         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3829
3830         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3831         arg/return type.
3832
3833         * paragraph.h: remove #include "lyxfont.h". Forward declare
3834         LyXFont_size.
3835
3836 2003-09-16  Angus Leeming  <leeming@lyx.org>
3837
3838         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3839         of support/textutils.h.
3840         (isWord): move the contents of support/textutils.h's IsWordChar here.
3841
3842         * buffer.C:
3843         * lyxfind.C:
3844         * rowpainter.C:
3845         * text.C:
3846         * text2.C: add #include "paragraph.h".
3847
3848         * rowpainter.C:
3849         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3850
3851 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3852
3853         * main.C:
3854         * lyx_main.C:
3855         * lyx_cb.C:
3856         * buffer.C:
3857         * LaTeX.C: use namespace alias for lyx::support::os
3858
3859 2003-09-16  Angus Leeming  <leeming@lyx.org>
3860
3861         * bufferparams.C:
3862         * bufferview_funcs.C:
3863         * factory.C:
3864         * lyxfunc.C:
3865         * paragraph_pimpl.C:
3866         * rowpainter.C:
3867         * text.C: add #include "LColor.h".
3868
3869 2003-09-16  Angus Leeming  <leeming@lyx.org>
3870
3871         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3872         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3873         return LyXFont &.
3874         Store the FontBits::color variable as an int rather than as an
3875         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3876         file.
3877
3878         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3879         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3880         string calls together.
3881
3882         * lyxrc.C: add #include "LColor.h".
3883
3884 2003-09-15  Angus Leeming  <leeming@lyx.org>
3885
3886         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3887         a cow_ptr.
3888
3889 2003-09-15  Angus Leeming  <leeming@lyx.org>
3890
3891         * LColor.h: add an EnumLColor wrapper for LColor::color.
3892
3893         * lyxfont.[Ch] (color, setColor, realColor):
3894         * lyxtext.h, text.C (backgroundColor):
3895         pass EnumLColor args to/from the functions, rather than LColor::color
3896         ones.
3897
3898         * lyxfont.h:
3899         * lyxtext.h: forward declare EnumLColor.
3900
3901         * lyx_main.C: add #include "LColor.h".
3902
3903 2003-09-15  Angus Leeming  <leeming@lyx.org>
3904
3905         * .cvsignore: add lyx-gtk.
3906
3907 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * Chktex.C
3910         * LaTeX.C
3911         * LaTeXFeatures.C
3912         * ParagraphParameters.C
3913         * Spacing.C
3914         * buffer.C
3915         * bufferparams.C
3916         * bufferview_funcs.C
3917         * chset.C
3918         * counters.C
3919         * funcrequest.C
3920         * lyxfont.C
3921         * lyxgluelength.C
3922         * lyxlength.C
3923         * paragraph.C
3924         * paragraph_funcs.C
3925         * text3.C
3926         * vc-backend.C: remove usage of STRCONV
3927
3928 2003-09-15  Angus Leeming  <leeming@lyx.org>
3929
3930         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3931         explicitly define the color passed to the painter.
3932
3933 2003-09-15  Angus Leeming  <leeming@lyx.org>
3934
3935         * bufferparams.C (BufferParams): reorder member initializers to avoid
3936         compiler warning.
3937
3938 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3941         * text.C (updateRowPositions): remove an unusual nop
3942
3943 2003-09-12  André Pönitz  <poenitz@gmx.net>
3944
3945         * BufferView_pimpl.C:
3946         * Bullet.C:
3947         * layout.h:
3948         * lyxfunc.C:
3949         * lyxlayout.[Ch]:
3950         * lyxtextclass.C:
3951         * rowpainter.C:
3952         * text.C:
3953         * text2.C:
3954         * Counters.[Ch]: finish the 'automatic counters' job
3955
3956 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3957
3958         * aspell.C: include <boost/assert.cpp> (compile fix)
3959
3960 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3961
3962         * boost.C (assertion_failed): use lyx::support::abort instead of
3963         assert.
3964
3965 2003-09-10  Angus Leeming  <leeming@lyx.org>
3966
3967         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3968         with their _fwd progeny.
3969
3970 2003-09-09  Angus Leeming  <leeming@lyx.org>
3971
3972         134 files throughtout the source tree: replace 'using namespace abc;'
3973         directives with the appropriate 'using abc::xyz;' declarations.
3974
3975 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3976
3977         * boost.C (emergencyCleanup): moved here from LAssert.c
3978         (assertion_failed): new function, called by BOOST_ASSERT
3979
3980         * several files: change Assert to BOOST_ASSERT
3981
3982 2003-09-09  Angus Leeming  <leeming@lyx.org>
3983
3984         * buffer.[Ch]: Add an Impl class and move Buffer's member
3985         variables into it. As a result move several header files out of
3986         buffer.h.
3987
3988         Add header files to lots of .C files all over the tree as a result.
3989
3990 2003-09-09  Angus Leeming  <leeming@lyx.org>
3991
3992         * buffer.[Ch]: make Buffer's member variables private. Add
3993         accessor functions.
3994
3995         Lots of changes all over the tree as a result.
3996
3997 2003-09-08  Angus Leeming  <leeming@lyx.org>
3998
3999         * graph.C: #include <config.h>.
4000
4001 2003-09-08  Angus Leeming  <leeming@lyx.org>
4002
4003         * BranchList.C:
4004         * BufferView.C:
4005         * BufferView_pimpl.C:
4006         * CutAndPaste.C:
4007         * DepTable.C:
4008         * LaTeX.C:
4009         * LaTeXFeatures.C:
4010         * LyXAction.C:
4011         * MenuBackend.C:
4012         * TextCache.C:
4013         * aspell.C:
4014         * buffer.C:
4015         * bufferlist.C:
4016         * changes.C:
4017         * chset.C:
4018         * converter.C:
4019         * counters.C:
4020         * debug.C:
4021         * graph.C:
4022         * ispell.C:
4023         * lyx_cb.C:
4024         * lyxfind.C:
4025         * lyxfunc.C:
4026         * lyxlex_pimpl.C:
4027         * lyxrc.C:
4028         * lyxrow.C:
4029         * paragraph.C:
4030         * rowpainter.C:
4031         * texrow.C:
4032         * text.C:
4033         * text2.C:
4034         * toc.C: remove redundant using directives.
4035
4036 2003-09-07  Angus Leeming  <leeming@lyx.org>
4037
4038         * LaTeXFeatures.h: remove #include "support/types.h".
4039         * ToolbarBackend.h: remove #include <algorithm>.
4040         * changes.h: remove #include <ctime>.
4041         * debug.h: remove #include <iosfwd>.
4042         * graph.h: remove #include "support/std_string.h".
4043         * lyx_main.h: remove #include <csignal>.
4044         * lyxlex_pimpl.h: remove #include <fstream>.
4045         * sgml.h: remove #include <algorithm>, <utility>.
4046         * toc.h: remove #include "support/std_ostream.h".
4047         Add #include <iosfwd>.
4048
4049 2003-09-07  Angus Leeming  <leeming@lyx.org>
4050
4051         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4052
4053         * converter.h: forward declare LatexRunParams.
4054         * encoding.h: remove #include "lyxrc.h".
4055         * lyxtext.h: remove #include "LColor.h".
4056         * lyxtextclass.h: remove #include "support/types.h".
4057         * trans.h: remove #include "tex-accent.h".
4058         * trans_mgr.h: remove #include "tex-accent.h".
4059         * insets/inset.h: remove #include "support/types.h", <vector>.
4060         * insets/insetcollapsable.h: remove #include "LColor.h".
4061         * insets/insetinclude.h: remove #include "dimension.h".
4062         * insets/insetlatexaccent.h: remove #include "dimension.h".
4063         * insets/insetoptarg.h:: remove #include "insettext.h".
4064         * insets/insettext.h: remove #include "dimension.h",
4065         <boost/shared_ptr.hpp>
4066
4067         * insets/renderers.h: add #include "dimension.h".
4068         * insets/updatableinset.h: add #include "support/types.h".
4069
4070         * many .C files: Associated changes.
4071
4072 2003-09-06  Angus Leeming  <leeming@lyx.org>
4073
4074         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4075         one, inside testInvariant.
4076
4077         * PrinterParams.C: new file.
4078         * PrinterParams.[Ch]: move the function bodies out of line.
4079
4080 2003-09-06  Angus Leeming  <leeming@lyx.org>
4081
4082         * ParagraphParameters.h: forward declare ParameterStruct rather than
4083         including its header file.
4084         (depth): moved out-of-line.
4085
4086 2003-09-06  Angus Leeming  <leeming@lyx.org>
4087
4088         * BufferView_pimpl.h:
4089         * kbmap.h:
4090         * kbsequence.h:
4091         * lyxfunc.h: forward declare LyXKeySym rather than
4092         #include "frontends/LyXKeySym.h".
4093
4094         * BufferView_pimpl.C:
4095         * kbmap.C:
4096         * kbsequence.C:
4097         * lyxfunc.C: associated changes.
4098
4099 2003-09-06  Angus Leeming  <leeming@lyx.org>
4100
4101         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4102         As a result, can remove the #include "insets/inset.h" from BufferView.h
4103
4104 2003-09-06  Angus Leeming  <leeming@lyx.org>
4105
4106         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4107         As a result, can remove the #include "insets/inset.h" from BufferView.h
4108
4109 2003-09-06  Angus Leeming  <leeming@lyx.org>
4110
4111         * buffer_funcs.C:
4112         * buffer.h:
4113         * bufferlist.C:
4114         * BufferView.C:
4115         * bufferview_funcs.C:
4116         * BufferView_pimpl.C:
4117         * CutAndPaste.C:
4118         * lyx_cb.C:
4119         * lyxfunc.C:
4120         * paragraph.h:
4121         * ParagraphParameters.C:
4122         * tabular.C:
4123         * text3.C:
4124         * toc.C:
4125         * undo_funcs.C:
4126         * frontends/controllers/ControlDocument.C:
4127         * insets/insetcaption.C: rearrange the #includes into some sort of
4128         coherent order.
4129
4130         * buffer.h: remove #includes ErrorList.h, undo.h
4131
4132 2003-09-06  Angus Leeming  <leeming@lyx.org>
4133
4134         * support/types.h: add a 'depth_type' typedef, used to store the
4135         nesting depth of a paragraph.
4136
4137         * paragraph.h:
4138         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4139         defining explicitly.
4140
4141         * buffer.h:
4142         * paragraph_funcs.h:
4143         * ParagraphParameters.h:
4144         * sgml.h: use lyx::depth_type rather than Paragraph or
4145         ParameterStruct's depth_type.
4146
4147         * buffer.h
4148         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4149
4150         * BufferView.C:
4151         * BufferView_pimpl.C:
4152         * CutAndPaste.C:
4153         * ParagraphParameters.C:
4154         * buffer_funcs.C:
4155         * bufferlist.C:
4156         * bufferview_funcs.C:
4157         * lyx_cb.C:
4158         * lyxfunc.C:
4159         * tabular.C:
4160         * text3.C:
4161         * toc.C:
4162         * undo_funcs.C:
4163         * frontends/LyXView.C:
4164         * frontends/controllers/ControlDocument.C:
4165         * frontends/controllers/ControlErrorList.C:
4166         * insets/insetbibitem.C:
4167         * insets/insetbranch.C:
4168         * insets/insetcaption.C:
4169         * insets/insetcollapsable.C:
4170         * insets/insetenv.C:
4171         * insets/insetert.C:
4172         * insets/insetfloat.C:
4173         * insets/insetfoot.C:
4174         * insets/insetfootlike.C:
4175         * insets/insetnewline.C:
4176         * insets/insetquotes.C:
4177         * insets/insettabular.C:
4178         * insets/insettext.C:
4179         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4180
4181         * frontends/controllers/ControlChanges.C: #include "changes.h".
4182
4183 2003-09-06  Angus Leeming  <leeming@lyx.org>
4184
4185         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4186         than #including paragraph.h.
4187
4188         * ParagraphList.h:
4189         * RowList.h: deleted. Superfluous.
4190
4191         * CutAndPaste.h:
4192         * iterators.h:
4193         * lyxcursor.h:
4194         * lyxtext.h:
4195         * text_funcs.h:
4196         * undo.h:
4197         * undo_funcs.h:
4198         * insets/inset.h:
4199         * insets/insettext.h: use ParagraphList_fwd.h rather than
4200         ParagraphList.h.
4201
4202         * paragraph.h: don't forward declare ParagraphList.
4203
4204         * buffer.h:
4205         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4206         rather than ParagraphList.h. paragraph.h is still needed for the
4207         Paragraph::depth_type parameters.
4208
4209         * textcursor.h: enable it to compile stand-alone in light of the
4210         above changes.
4211
4212         * bufferview_funcs.C:
4213         * iterators.C:
4214         * lyxfunc.C:
4215         * lyxrow_funcs.C:
4216         * paragraph.C:
4217         * rowpainter.C:
4218         * text.C:
4219         * text2.C:
4220         * text3.C:
4221         * text_funcs.C:
4222         * textcursor.C:
4223         * undo.C:
4224         * frontends/controllers/ControlParagraph.C:
4225         * frontends/controllers/ControlTabular.C:
4226         * insets/insetmarginal.C:
4227         * insets/insetminipage.C:
4228         * insets/insetnote.C:
4229         * insets/insetoptarg.C: add header files needed to compile again.
4230
4231 2003-09-06  Angus Leeming  <leeming@lyx.org>
4232
4233         * RowList_fwd.h: new file, forward-declaring Row rather than
4234         #including lyxrow.h.
4235
4236         * lyxrow_funcs.h:
4237         * lyxtext.h:
4238         * paragraph.h:
4239         * insets/insettext.h: use it instead of RowList.h
4240
4241         * bufferview_funcs.C:
4242         * lyxfunc.C:
4243         * lyxrow_funcs.C:
4244         * paragraph.C:
4245         * rowpainter.C:
4246         * text.C:
4247         * text2.C:
4248         * text3.C: #include "RowList.h".
4249
4250 2003-09-05  Angus Leeming  <leeming@lyx.org>
4251
4252         * factory.C (createInset):
4253         * vspace.C (c-tor): replace sscanf call with an istringstream.
4254         * ispell.C: re-add missing HP/UX headers.
4255         * lyxserver.C: re-add missing  os2 headers.
4256
4257 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4258
4259         * BranchList.C:
4260         * graph.C:
4261         * ispell.C:
4262         * lastfiles.C:
4263         * lyx_cb.C:
4264         * lyxserver.C:
4265         * texrow.C:
4266         * text3.C: re-add missing system headers, needed for 2.95.2.
4267
4268 2003-09-05  Angus Leeming  <leeming@lyx.org>
4269
4270         Changes most place everywhere due to the removal of using directives
4271         from support/std_sstream.h.
4272
4273 2003-09-05  Angus Leeming  <leeming@lyx.org>
4274
4275         Replace LString.h with support/std_string.h,
4276         Lsstream.h with support/std_sstream.h,
4277         support/LIstream.h with support/std_istream.h,
4278         support/LOstream.h with support/std_ostream.h.
4279
4280         Changes resulting throughout the tree.
4281
4282 2003-09-05  Angus Leeming  <leeming@lyx.org>
4283
4284         * sgml.h: ensure that the header file can be compiled stand-alone.
4285         * *.C: strip out redundant #includes. (320 in total.)
4286
4287 2003-09-04  Angus Leeming  <leeming@lyx.org>
4288
4289         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4290         here (from getPackages).
4291
4292         * debug.[Ch]: add a new EXTERNAL tag.
4293
4294 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4295
4296         * text2.C (cursorEnd): simplify
4297         (setCursor): adjust
4298         (getColumnNearX): adjust
4299
4300         * text.C (computeBidiTables): adjust
4301         (fill): adjust
4302
4303         * rowpainter.C (paintChars): adjust
4304         (paintSelection): adjust
4305         (paintChangeBar): adjust
4306         (paintText): adjust
4307
4308         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4309         lastPos instead.
4310         (numberOfSeparators): adjust
4311
4312 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4313
4314         * LyXAction.C:
4315         * box.[Ch]:
4316         * lfuns.h:
4317         * lyxfunc.C:
4318         * text3.C: Restricts the mouse click functionality
4319         of insets like bibtex, include, toc and floatlist to the visible
4320         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4321         up the dialogs. Cursor has to be in front of the inset (i.e.
4322         start of row) for this to function.
4323
4324 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4325
4326         * bufferview_funcs.C (currentState): output row information
4327
4328 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4329
4330         * bufferview_funcs.C (currentState): output paragraph position
4331
4332 2003-09-04  Angus Leeming  <leeming@lyx.org>
4333
4334         * FloatList.h: move out #include "Floating.h".
4335         * LaTeX.h: move out #include "DepTable.h".
4336         * LyXAction.h: move out #include "funcrequest.h".
4337         * buffer.h: move out #include "author.h", "iterators.h".
4338         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4339         * lyx_main.h: move out #include "errorlist.h".
4340         * lyxfunc.h: move out #include "FuncStatus.h".
4341         * lyxtext: move out #include "lyxcursor.h".
4342         * paragraph_pimpl.h: move out #include "counters.h".
4343
4344 2003-09-03  Angus Leeming  <leeming@lyx.org>
4345
4346         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4347         preamble_snippets list, enabling us to add snippets to the preamble
4348         only if the snippet was not there already.
4349
4350 2003-09-04  Angus Leeming  <leeming@lyx.org>
4351
4352         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4353
4354 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4357         update
4358
4359 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4360
4361         * BranchList.C: point fix, earlier forgotten
4362
4363 2003-09-02  Angus Leeming  <leeming@lyx.org>
4364
4365         * box.C (contains): renamed from 'contained' after a fantastic
4366         amount of hot air.
4367
4368 2003-09-02  John Levon  <levon@movementarian.org>
4369
4370         * BufferView.C:
4371         * lyxcursor.h:
4372         * lyxcursor.C:
4373         * lyxfunc.C:
4374         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4375
4376 2003-09-02  John Levon  <levon@movementarian.org>
4377
4378         * text2.C: simplification of cursorEnd(), including partial
4379         fix for bug 1376
4380
4381 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * buffer.C (readFile): add a space
4384
4385 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4386
4387         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4388
4389 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * buffer.C (readFile): new function, take a filename and a
4392         ParagraphList::iterator
4393         (readFile): adjust
4394         (readFile): adjust, make it private. don't use setStream, make
4395         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4396         always contain the filename.
4397
4398         * BufferView.C (insertLyXFile): simplify and make it work for
4399         gzipped files.
4400
4401 2003-08-30  John Levon  <levon@movementarian.org>
4402
4403         * Makefile.am: fix dist (from Kayvan)
4404
4405 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4406
4407         * most files: change to use const Buffer refs
4408
4409 2003-08-27  André Pönitz  <poenitz@gmx.net>
4410
4411         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4412         on top of ownerPar().
4413
4414 2003-08-27  John Levon  <levon@movementarian.org>
4415
4416         * funcrequest.C: properly initialise POD members
4417
4418 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * lyxtext.h (top_y): move top_y from here
4421         * text.C:
4422         * text2.C:
4423         * text3.C:
4424         * BufferView.[Ch]:
4425         * BufferView_pimpl.[Ch]: to here
4426         * frontends/screen.C:
4427         * insets/insettabular.C:
4428         * insets/insettext.C: adjust
4429         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4430
4431 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4432
4433         * BufferView.[Ch]:
4434         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4435
4436 2003-08-26  André Pönitz  <poenitz@gmx.net>
4437
4438         * paragraph_func.[Ch] (outerPar): new function
4439
4440         * paragraph.C:
4441         * paragraph_funcs.C:
4442         * paragraph_funcs.h:
4443         * paragraph_pimpl.C:
4444         * text2.C: remove Inset::par_owner
4445
4446 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4447
4448         * lyxrow_funcs.C:
4449         * lyxtext.h:
4450         * text.C:
4451         * text2.C: eliminates the needFullRow/display() stuff
4452         altogether, putting the logic in metrics/draw in the insets.
4453
4454 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4455
4456         * text2.C (redoParagraphInternal, redoParagraphs):
4457         * text.C (redoParagraph): add a call to updateRowPositions at the
4458         end of each 'metrics-like' call. Remove all others.
4459         (getRow): remove the 'y-computing' version.
4460         (getRowNearY): do not compute nor return the real y. Solve the
4461         'y < 0' problem and simplify.
4462
4463 2003-08-22  Angus Leeming  <leeming@lyx.org>
4464
4465         * *.[Ch]: clean-up of licence and author blurbs.
4466         Also move config.h out of a few .h files and into a few .C files.
4467
4468 2003-08-22  André Pönitz  <poenitz@gmx.net>
4469
4470         * lyxrow.[Ch]: add x_ and *fill_ members
4471
4472         * lyxtext.h:
4473         * text.C:
4474         * rowpainter.C:
4475         * text2.C: adjust/remove prepareToPrint() calls
4476
4477 2003-08-22  André Pönitz  <poenitz@gmx.net>
4478
4479         * lyxrow.[Ch]: add  end_ member
4480
4481         * lyxrow_funcs.C: use LyXRow::end_
4482
4483         * lyxtext.h (singleWidth): add LyXFont parameter
4484
4485         * rowpainter.C:
4486         * text2.C: adjust LyXText::singleWidth() calls
4487
4488         * text.C (redoParagraph): simplify row breaking logic
4489
4490
4491 2003-08-19  André Pönitz  <poenitz@gmx.net>
4492
4493         * funcrequest.C: initialize button_ member
4494
4495         * text3.C:
4496         * rowpainter.[Ch]: interface consolidation
4497
4498 2003-08-18  André Pönitz  <poenitz@gmx.net>
4499
4500         * BufferView.C:
4501         * BufferView_pimpl.C:
4502         * lyxfind.C:
4503         * paragraph_funcs.C:
4504         * rowpainter.C:
4505         * text3.C: remove LyXScreen::draw() and fitCursor calls
4506
4507         * BranchList.h: remove spurious semicolons
4508
4509         * MenuBackend.C: fix branchlist related crash
4510
4511 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4512
4513         * BranchList.[Ch]:
4514         * InsetList.[Ch]:
4515         * LColor.[Ch]:
4516         * LyXAction.C:
4517         * Makefile.am:
4518         * MenuBackend.[Ch]:
4519         * bufferparams.[Ch]:
4520         * factory.C:
4521         * lfuns.h:
4522         * lyxfunc.C:
4523         * text3.C: implements the 'branch inset'
4524         idea. This allows the output of various versions of a document
4525         from a single source version, selectively outputing or suppressing
4526         output of parts of the text.
4527         This implementation contains a 'branch list editor' in a separate
4528         tab of the document settings dialog. Branches are user definable
4529         and have a "display colour" to distinguish them on-screen.
4530
4531         ColorHandler was somewhat cleaned up.
4532         (1) make possible a dynamically growing LColor list by allowing
4533         the graphic context cache to grow along (vector);
4534         (2) eliminate an IMHO unnecessary step in colour allocation.
4535
4536 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4537
4538         * BufferView_pimpl.C: compile fix
4539
4540 2003-08-15  André Pönitz  <poenitz@gmx.net>
4541
4542         * rowpainter.C: remove extra metrics calls
4543
4544         * lyxtext.h: merge the two constructors into a single one,
4545           pass reference to owner's par list
4546
4547         * BufferView_pimpl.C:
4548         * text.C:
4549         * text2.C: adjust
4550
4551 2003-08-15  André Pönitz  <poenitz@gmx.net>
4552
4553         * lyxrow_funcs.[Ch]:
4554         * lyxtext.h:
4555         * paragraph.h:
4556         * paragraph_funcs.C:
4557         * rowpainter.C:
4558         * text.C:
4559         * text2.C:
4560         * text3.C:
4561         * text_funcs.C: split LyXText::rowlist_ into individual
4562         Paragraph::rows_ chunks
4563
4564         * BufferView.[Ch]:
4565         * BufferView_pimpl.[Ch]:
4566         * lyxfind.C:
4567         * lyxtext.h:
4568         * text3.C: remove toggleSelection()
4569
4570 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4571
4572         * bufferlist.C: beautify two alerts (shorter text of buttons)
4573         * buffer.C: Remove redundant ' ' from message
4574         * tabular.h:
4575         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4576         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4577         rename VALIGN_CENTER to VALIGN_MIDDLE
4578
4579 2003-08-11  André Pönitz  <poenitz@gmx.net>
4580
4581         * lyxtext.h (getPar):
4582         * text.C: new function
4583
4584 2003-08-11  André Pönitz  <poenitz@gmx.net>
4585
4586         * Makefile.am:
4587         * tracer.[Ch]: remove unneeded files
4588
4589         * InsetList.[Ch]: remove resizeInsetsLyXText()
4590
4591         * lyxtext.h:
4592         * text.C:
4593         * text2.C:
4594         * text3.C: merge insertParagraphs() and appendParagraph()
4595         remove breakAgain(), update()
4596
4597         * BufferView_pimpl.[Ch]:
4598         * bufferview_funcs.[Ch]:
4599         * lyxfunc.C:
4600         * paragraph.[Ch]:
4601         * rowpainter.C:
4602         * tabular.C: adjust after text & InsetList changes.
4603
4604 2003-08-08  André Pönitz  <poenitz@gmx.net>
4605
4606         * text.C (insertChar, backspace): replace rowlist fiddling
4607         with rebreak of full par
4608
4609         * lyxtext.h:
4610         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4611         checkParagraph, updateInset): removed
4612
4613 2003-08-07  André Pönitz  <poenitz@gmx.net>
4614
4615         * paragraph.C:
4616         * text3.C: merge some LFUN handlers, remove dead code
4617
4618 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4619
4620         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4621
4622 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4623
4624         * text2.C (DEPM): fix part of bug 1255 and 1256
4625
4626 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4627
4628         * BufferView_pimpl.C (workAreaDispatch): change to use
4629         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4630         that are no mouse related.
4631
4632 2003-08-05  André Pönitz  <poenitz@gmx.net>
4633
4634         * BufferView.[Ch]:
4635         * BufferView_pimpl.[Ch]:
4636         * bufferview_funcs.C:
4637         * text2.C:
4638         * text3.C: rip out "deep update"
4639
4640         * textcursor.[Ch] (last_sel_cursor): remove unused member
4641
4642 2003-08-04  André Pönitz  <poenitz@gmx.net>
4643
4644         * BufferView.[Ch]:
4645         * BufferView_pimpl.[Ch]:
4646         * ParagraphParameters.C:
4647         * bufferview_funcs.C:
4648         * lyx_cb.C:
4649         * lyxfind.C:
4650         * lyxfunc.C:
4651         * text.C:
4652         * text2.C:
4653         * text3.C: replace "complicated" BufferView::update(...) calls with
4654         simpler ones.
4655
4656         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4657
4658 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4659
4660         * Makefile.am (lyx_SOURCES): add paper.h
4661
4662 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4663
4664         * Makefile.am: move things around so that both lyx-qt and
4665         lyx-xforms can be built (according to --with-frontend). Then lyx
4666         is a symbolic link to lyx-[firstfrontend]
4667
4668 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4669
4670         * Always use std::endl with lyxerr
4671
4672 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4673
4674         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4675
4676 2003-08-01  André Pönitz  <poenitz@gmx.net>
4677
4678         * BufferView.[Ch]:
4679         * BufferView_pimpl.[Ch]:
4680         * lyxfunc.C:
4681         * text3.C: merge BufferView::repaint() and BufferView::update()
4682
4683 2003-08-01  José Matos  <jamatos@lyx.org>
4684
4685         * buffer.[Ch]: file_format is no longer a buffer data element.
4686
4687 2003-08-01  André Pönitz  <poenitz@gmx.net>
4688
4689         * BufferView.C:
4690         * lyxtext.h:
4691         * text.C:
4692         * text2.C: make redoParagraph more independent of current cursor
4693
4694         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4695         * text.C:
4696         * text2.C: remove unneeded members
4697
4698 2003-07-30  André Pönitz  <poenitz@gmx.net>
4699
4700         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4701
4702         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4703           create a single function...
4704
4705         * paragraph_funcs.C (moveItem): ... here.
4706
4707         * text.C:
4708           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4709
4710 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4711
4712         * LColor.[Ch]: Add comment and greyedout logical colors.
4713
4714 2003-07-30  André Pönitz  <poenitz@gmx.net>
4715
4716         * tabular.C: don't use Assert too heavily. This crashes where it
4717           shouldn't
4718
4719 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4720
4721         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4722         is disabled (bug 1232)
4723
4724 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4725
4726         * factory.C: limited 'arg' scope
4727
4728 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4729
4730         * factory.C: fixed Note submenu issues
4731
4732 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4733
4734         * factory.C: submenu for Note/Comment/Greyedout
4735
4736 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * lyx_main.C (LyX):
4739         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4740
4741 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4742
4743         * LaTeXFeatures.C:
4744         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4745         greyedout. Patch provided by Jürgen Spitzmüller.
4746
4747 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4748
4749         * kbmap.C (read): fix error message when reading bind files
4750
4751 2003-07-29  Angus Leeming  <leeming@lyx.org>
4752
4753         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4754         certainly does not do what it purports to do. I am doing it, and
4755         us, a favour by killing it.
4756
4757 2003-07-28  José Matos  <jamatos@lyx.org>
4758
4759         * buffer.C (readBody, do_writeFile):
4760         * paragraph.C(readParagraph): \end_document replaces \the_end.
4761
4762 2003-07-29  André Pönitz  <poenitz@gmx.net>
4763
4764         * BufferView.[Ch]:
4765         * BufferView_pimpl.[Ch]:
4766         * lyxfunc.C:
4767         * text2.C:
4768         * text3.C:
4769         * textcursor.[Ch]: remove toggleToggle & Co
4770
4771 2003-07-28  José Matos  <jamatos@fep.up.pt>
4772
4773         * buffer.C (readParagraph):
4774         * params_func (readParToken, readParagraph):
4775         * paragraph.C (write): \layout -> \begin_layout.
4776
4777 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4778
4779         * lyxlex_pimpl.C (setFile): clean up slightly.
4780
4781         * bufferparams.h: add compressed var
4782
4783         * buffer_funcs.C (readFile): adjust for LyXLex change
4784         (newFile): ditto + simplify
4785
4786         * buffer.C (writeFile): handle writing of compressed files
4787
4788         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4789         Check if the file is compressed and set a bufferparm if so.
4790
4791         * Makefile.am (lyx_LDADD): remove explicit -lz
4792
4793 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4794
4795         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4796         makeDocBookFile): put the real LyX version in the first line of
4797         the file
4798
4799         * version.h:
4800         * version.C.in: remove lyx_docversion
4801
4802         * tabular.C (write_attribute): add a template-based version to
4803         write enums properly
4804
4805 2003-07-28  André Pönitz  <poenitz@gmx.net>
4806
4807         * lyxtext.h:
4808         * text.C:
4809         * text2.C:
4810         * text3.C: use doubles again for x-coordinates. They are needed.
4811
4812 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4813
4814         * messages.C (getLocaleDir): use lyx_localedir()
4815
4816         * lyxlex_pimpl.C (setFile): compress stuff
4817
4818         * buffer.C (writeFile): add some compression stuff
4819         (do_writeFile): new func, dont call expliti close... will this
4820         breake anything?
4821
4822         * Makefile.am (lyx_LDADD): add -lz
4823
4824 2003-07-28  José Matos  <jamatos@fep.up.pt>
4825
4826         * buffer.C: increment file format.
4827         * paragraph_funcs (readParagraph, readParToken):
4828         * paragraph.C (readParagraph): add \end_layout.
4829
4830 2003-07-27  Angus Leeming  <leeming@lyx.org>
4831
4832         * Makefile.am: remove special casing for configure-time setting of
4833         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4834
4835         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4836         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4837
4838 2003-07-26  André Pönitz  <poenitz@gmx.net>
4839
4840         * paragraph_func.[Ch]:
4841         * paragraph.C (realizeFont): inline it whereever it is used
4842
4843         * rowpainter.C:
4844         * text.C:
4845         * text2.C:
4846         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4847
4848
4849 2003-07-26  André Pönitz  <poenitz@gmx.net>
4850
4851         *       lyxtext.h:
4852         * text.C:
4853         * text2.C: get rid of LyXText::need_break_row
4854
4855 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * toc.[Ch]: put namespace toc inside namespace lyx
4858
4859         * MenuBackend.C (expandToc2): adjust for lyx::toc
4860         (expandToc): ditto
4861
4862         * lyxfunc.C (dispatch): adjust for lyx::find
4863
4864         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4865         lyx::find instead. Reorganize a bit.
4866         (LyXReplace): rename to replace
4867         (LyXFind): rename to find
4868
4869         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4870         (dispatch): ditto
4871
4872 2003-07-26  André Pönitz  <poenitz@gmx.net>
4873
4874         * text.C (setHeightOfRow): restrict scope of temporary variable
4875
4876         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4877           code (never has been used?)
4878
4879 2003-07-27  Asger Alstrup  <alstrup@local>
4880
4881         * text.C (fill): Optimise algorithm to exploit that we can reuse
4882         the LyXFont for many characters.
4883         (setHeightOfRow): Same thing.
4884         (rowBreakPoint): Same thing.
4885
4886 2003-07-26  Asger Alstrup  <alstrup@local>
4887
4888         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4889
4890         * text.C (singleWidth): Spurious font copying in hot-spot
4891         singleWidth avoided. Reorder tests for arabic for efficiency.
4892
4893         * text.C (fill): handle empty paragraphs better.
4894
4895 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4896
4897         * ispell.C:
4898         * encoding.h: add includes
4899
4900         * lyxrc.C: remove reading of bind files
4901
4902         * lyx_main.C (init): setup bindings and menus only if we have a
4903         gui.
4904
4905         * kbmap.C (read): new method. Do the actual reading of bind
4906         files.
4907
4908         * converter.C (dvipdfm_options):
4909         * bufferparams.C:
4910         * lyxrc.C (read):
4911         (output): adapt PAPER_* enums.
4912
4913         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4914
4915         * bufferparams.h: remove paper-related enums from there
4916
4917         * paper.h: New file. A trivial header file to hold paper-related
4918         enums. It should later expand to contain many paper-related
4919         horrors access.
4920
4921         * lyxrc.C: declare extern displayTranslator
4922
4923 2003-07-27  José Matos  <jamatos@fep.up.pt>
4924
4925         * tabular.[Ch] (linuxdoc): add support for tables and figures
4926         (linuxdoc).
4927
4928 2003-07-27  José Matos  <jamatos@fep.up.pt>
4929
4930         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4931         consistency in both functions.
4932         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4933
4934 2003-07-26  Asger Alstrup  <alstrup@local>
4935
4936         * rowpainter.C (paintRows): Change algorithm to work directly on
4937         the insets rather than asking every character in the document
4938         whether its an inset.
4939
4940 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * buffer.C (openFileWrite): factorize some code
4943
4944 2003-07-26  Angus Leeming  <leeming@lyx.org>
4945
4946         * lyx_cb.C:
4947         * lyx_main.[Ch]: replace occurances of system_tempdir with
4948         os::getTmpDir().
4949
4950 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * rename Inset to InsetOld
4953
4954 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4955
4956         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4957         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4958         which I think is a bit clearer. EDIT is gone, since it was
4959         premature optimisation, and broken for mathed anyway.
4960         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4961         with cursor positioning in insets as well (math insets still do not
4962         work, but that's a different story anyway.) It mysteriously
4963         crashes sometimes with undo in the first paragraph, but I'm fairly
4964         confident that this is a compiler bug.
4965
4966 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4967
4968         * paragraph.C (Paragraph): adjust for new clone return type
4969         (operator==): ditto
4970         (copyIntoMinibuffer): ditto
4971
4972 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4973
4974         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4975         by not having a special case, and always doing a full rebreak of
4976         the document after undo.
4977
4978 2003-07-23  Angus Leeming  <leeming@lyx.org>
4979
4980         * factory.C (createInset): InsetExternal::setParams now takes a
4981         Buffer const * arg.
4982
4983 2003-07-23  Angus Leeming  <leeming@lyx.org>
4984
4985         * factory.C (createInset): changed interface to the external and
4986         graphics mailers' string2params functions.
4987
4988 2003-07-23  Angus Leeming  <leeming@lyx.org>
4989
4990         * factory.C (createInset): pass a
4991         Buffer const * parameter to InsetExternalMailer's string2params.
4992
4993 2003-07-22  John Levon  <levon@movementarian.org>
4994
4995         * Thesaurus.h: include the right aiksaurus header
4996
4997 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4998
4999         * MenuBackend.C (expand): check menu shortcuts unconditionally
5000
5001 2003-07-21  Angus Leeming  <leeming@lyx.org>
5002
5003         * factory.C (createInset): pass a
5004         buffer_path parameter to InsetGraphicsMailer's string2params.
5005
5006 2003-07-21  Angus Leeming  <leeming@lyx.org>
5007
5008         * BufferView_pimpl.C (buffer):
5009         * buffer.C (d-tor):
5010         * lyx_main.C (LyX):
5011         * lyxfunc.C (dispatch):
5012         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5013         rather than the grfx shortcut.
5014
5015 2003-07-21  André Pönitz  <poenitz@gmx.net>
5016
5017         * rowpainter.C: remove unused variables
5018
5019         * tabular_funcs.C:
5020         * tabular_funcs.h: move to tabular.C
5021         * Makefile.am: adjust
5022
5023         * tabular.[Ch]: basic optical cleaning
5024
5025         * author.h: pass references, not values
5026
5027 2003-07-18  André Pönitz  <poenitz@gmx.net>
5028
5029         * lyxtext.h:
5030         * metricsinfo.C:
5031         * metricsinfo.h:
5032         * rowpainter.C:
5033         * text.C:
5034         * text2.C:
5035         * text3.C: two-phase drawing for InsetText and InsetTabular
5036         some float -> int changes.
5037
5038 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5039
5040         * lyx_main.C: fix the fix
5041
5042 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5043
5044         * lyx_main.C: fix a crash in batch mode if no files specified
5045         * converter.C: ws
5046
5047 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5048
5049         * format.[Ch] (papersize): moved to BufferParams
5050         * converter.[Ch] (dvips_options): moved to BufferParams
5051         (dvipdfm_options): moved to anon namespace
5052         * bufferparams.[Ch]: added above functions.
5053
5054 2003-07-17  André Pönitz  <poenitz@gmx.net>
5055
5056         * lyxtext.h:
5057         * rowpainter.C:
5058         * text2.C: don't call inset->update() anymore
5059
5060         * metricsinfo.[Ch]: add convenience constructor
5061
5062 2003-07-16  André Pönitz  <poenitz@gmx.net>
5063
5064         * lyxcursor.[Ch]:
5065         * lyxfunc.[Ch]:
5066         * text.C:
5067         * text2.C: replace the LyXCursor::irow_ member with
5068          on-demand computation of the value
5069
5070 2003-07-16  John Levon  <levon@movementarian.org>
5071
5072         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5073
5074 2003-07-15  André Pönitz  <poenitz@gmx.net>
5075
5076         * text.C:
5077         * text2.C: remove no more needed refresh_row
5078
5079 2003-07-15  André Pönitz  <poenitz@gmx.net>
5080
5081         * lyxtext.h:
5082         * rowpainter.C:
5083         * text2.C:
5084         * text3.C: refresh_status tristate -> need_update bool
5085
5086 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5087
5088         * lyxtext.h (init): remove reinit argument (act as if always true)
5089         * text2.C: adjust to that
5090
5091 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5092
5093         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5094         * text3.C: use it to delete selections in some cases
5095         (bugs 441, 673, 702, 954).
5096
5097 2003-07-14  André Pönitz  <poenitz@gmx.net>
5098
5099         * rowpainter.[Ch]: reduce interface
5100
5101 2003-07-14  André Pönitz  <poenitz@gmx.net>
5102
5103         * BufferView_pimpl.C:
5104         * text2.C: adjust after removing unused BufferView * argument
5105
5106 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text2.C (init): fix a crash fired on resize
5109
5110 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5111
5112         * buffer.[Ch]: added new closing signal
5113         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5114         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5115         BufferView::Pimpl via the closing the signal
5116
5117 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5118
5119         * buffer.[Ch]: take out all bv-related from buffer
5120         * BufferView.C:
5121         * BufferView_pimpl.[Ch]: connect to new signals
5122         * CutAndPaste.C: removed useless asserts
5123         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5124         * lyxvc.[Ch]:
5125         * vc-backend.[Ch]:
5126         * lyxfunc.C: moved view-related funciontality from vc here
5127         * paragraph.C: removed outdated comments
5128         * text.C: ws
5129
5130 2003-07-10  André Pönitz  <poenitz@gmx.net>
5131
5132         * BufferView_pimpl.C:
5133         * tabular.h:
5134         * tabular_funcs.C:
5135         * text.C:
5136         * text2.C: remove InsetText::InnerCache, clean up consequences
5137
5138 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5139
5140         * ispell.C: fix two typos in error messages
5141
5142 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5143
5144         * Extend Note inset to other forms of annotation like Comment
5145         and Greyedout. Right button click gives dialog.
5146
5147         Files modified or added (+):
5148
5149         * insetnote.[Ch]
5150         * FormNote.[Ch]      +
5151         * ControlNote.[Ch]   +
5152         * form_note.fd       +
5153         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5154         frontends/controllers
5155         * xforms/Dialogs.C
5156         * factory.C
5157
5158 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5159
5160         * aspell.C: add missing namespace lyx::support
5161
5162 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * BufferView.[Ch] (newFile): Add
5165         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5166         * LaTeX.[Ch] (message): added this signal and use it
5167         * buffer.[Ch] (busy, message): added these signals and use them
5168         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5169         * converter.C:
5170         * exporter.C:
5171         * format.C:
5172         * importer.C: use buffer signals instead of direct bv calling
5173         * lyx_cb.[Ch] (ShowMessage): removed
5174         * lyx_main.C:
5175         * lyxfunc.C:
5176         * paragraph_funcs.C:
5177         * text2.C: use buffer signals
5178
5179 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5180
5181         * introduce namespace lyx::graphics
5182
5183 2003-07-02  André Pönitz  <poenitz@gmx.net>
5184
5185         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5186
5187 2003-07-01  André Pönitz  <poenitz@gmx.net>
5188
5189         * text.C:
5190         * text2.C:
5191         * text3.C:
5192         * text_funcs.[Ch]:
5193         * textcursor.h:
5194         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5195           text*.C to text_func.C
5196
5197 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * introduce namespace lyx::support
5200
5201 2003-06-30  André Pönitz  <poenitz@gmx.net>
5202
5203         * Chktex.C:
5204         * funcrequest.C:
5205         * lyxtext.h:
5206         * text.C: re-enable --with-included-string
5207
5208 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * textcursor.C: add <config.h>
5211
5212         * text.C (getWord): remove const from word_location arg
5213
5214         * lyxvc.C (getLogFile): fix const type order
5215
5216         * lyxtext.h: remove const from word_location arg, add arg name
5217
5218         * lyxlayout.h: currect type on labeltype.
5219
5220         * importer.C: correct \file
5221
5222         * converter.C (intToFormat): use std:: on ret val, ws changes
5223
5224         * bufferlist.h: correct \file
5225
5226         * buffer.C (makeLinuxDocFile): fix const type order
5227         (makeDocBookFile): ditto
5228         (fillWithBibKeys): use std:: on stdlib args.
5229
5230         * CutAndPaste.C: fix authors.
5231         (availableSelections): use std:: on return vector
5232
5233 2003-06-27  André Pönitz  <poenitz@gmx.net>
5234
5235         * BufferView_pimpl.C:
5236         * bufferview_funcs.C:
5237         * lyxcursor.C:
5238         * lyxcursor.h:
5239         * lyxfunc.C:
5240         * lyxtext.h:
5241         * rowpainter.C:
5242         * text.C:
5243         * text2.C:
5244         * text3.C: remove LyXCursor::row_ member
5245
5246         * lyxtext.h:
5247         * text.C: rename fullRebreak() to partialRebreak() and implement
5248           a fullRebreak() that really bereks fully
5249
5250         * textcursor.h: new struct for cursor-related data
5251
5252 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5253
5254         * lyx_main.C (LyX): get full path of document loaded on the
5255         command line
5256
5257 2003-06-26  André Pönitz  <poenitz@gmx.net>
5258
5259         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5260           remove unused/broken operator>,<,>=.
5261
5262         *       text.C: remove only use of broken operator<= in an Assert().
5263
5264 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5265
5266         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5267         moved errorlist_.clear to showErrorList
5268
5269 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5270
5271         * converter.C (scanLog, runLaTeX):
5272         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5273         move the bv->showErrorList call to the callers
5274         * lyxfunc.C: i.e. here...
5275         * text2.C: and here
5276         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5277         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5278         namespace, the second to...
5279         * buffer_funcs (BufferFormat, parseErrors): added
5280         * errorlist.C (ErrorList(TeXErrors const &)): removed
5281
5282 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5283
5284         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5285
5286 2003-06-24  "Garst R. Reese" <reese@isn.net>
5287
5288         * debug.C: fix typo
5289
5290 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5291
5292         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5293
5294         * version.C.in: change docversion to 1.4
5295
5296 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5297
5298         * buffer.C: fix a bug just introduced
5299
5300 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5301
5302         * buffer.[Ch]: added the parseError signal and use it, removed
5303         sgmlError
5304         * BufferView.[Ch] (addError): moved to ...
5305         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5306         to the Buffer::parseError signal to catch (guess what) parse errors
5307         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5308
5309 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5310
5311         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5312         ability to create a buffer and to return an existing one from
5313         the list. Moved these functions to...
5314         * buffer_funcs.[Ch]: added
5315         * BufferView.[Ch] (loadLyXFile): added
5316         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5317         job removed from bufferlist::loadLyXFile.
5318         * buffer.C (setReadOnly): make it work without view
5319         (i.e added an if (users))
5320
5321 2003-06-19  Angus Leeming  <leeming@lyx.org>
5322
5323         * lfuns.h:
5324         * LyXAction.C (init):
5325         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5326         with LFUN_DIALOG_SHOW <name> <data>.
5327
5328 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5329
5330         * CutAndPaste.C (availableSelections): small compilation fix for
5331         ancient (gcc 2.9x) compilers
5332
5333 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5334
5335         * text3.C (cursorNext): add tmp var
5336
5337         * text2.C (updateCounters): for function calling out of for clause
5338         (replaceSelectionWithString): ditto
5339         (insertStringAsParagraphs): ditto
5340         (getColumnNearX): add tmp var
5341         (setCursorFromCoordinates): add tmp var
5342         (cursorDownParagraph): add tmp var
5343         (deleteEmptyParagraphMechanism): add tmp var
5344
5345         * text.C (insertChar): add tmp var
5346
5347         * rowpainter.C (paintDepthBar): add tmp var
5348
5349         * CutAndPaste.C (availableSelections): potentially check all
5350         paragraphs in a cut to fill the shown strings.
5351
5352 2003-06-18  André Pönitz  <poenitz@gmx.net>
5353
5354         * kbmap.[Ch]: use vector<> instead of list<>
5355
5356 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5357
5358         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5359         pasteSelection with index
5360
5361         * text2.C (pasteSelection): modify, call pasteSelection with index
5362
5363         * paragraph.C (asString): reimplement version with no interval to
5364         call the one with interval.
5365
5366         * lyxtext.h: add index arg to pasteSelection
5367
5368         * MenuBackend.C (MenuItem): handle PasteRecent
5369         (Menu::read::Menutags): add md_pasterecent
5370         (read): handle it
5371         (expandPasteRecent): new function
5372         (expand): use it
5373
5374         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5375
5376         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5377         the limited stack
5378         (availableSelections): new function
5379
5380 2003-06-17  Angus Leeming  <leeming@lyx.org>
5381
5382         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5383
5384 2003-06-17  Angus Leeming  <leeming@lyx.org>
5385
5386         * lfuns.h:
5387         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5388
5389         * lyxfunc.C (dispatch): invoke it.
5390
5391 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5392
5393         * iterators.C (operator++, ParPosition): reintroduce some
5394         const_cast for the benefit of older compilers.
5395
5396 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5397
5398         * text3.C (dispatch): do not modify clipboard when doing
5399         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5400         LFUN_DELETE_SKIP on a selection selection
5401
5402 2003-06-16  André Pönitz  <poenitz@gmx.net>
5403
5404         * BufferView.C:
5405         * buffer.C:
5406         * buffer.h:
5407         * paragraph.C:
5408         * tabular.[Ch]: IU of clone() and getLabelList();
5409
5410 2003-06-13  André Pönitz  <poenitz@gmx.net>
5411
5412         * tabular.h: compactification
5413
5414 2003-06-12  André Pönitz  <poenitz@gmx.net>
5415
5416         * tabular.C:
5417         * tabular.h:
5418         * tabular_funcs.h: some renaming plus whitespace
5419
5420 2003-06-12  André Pönitz  <poenitz@gmx.net>
5421
5422         * BufferView.C:
5423         * BufferView_pimpl.C:
5424         * CutAndPaste.C:
5425         * buffer.C:
5426         * iterators.[Ch]:
5427         * lyxfunc.C:
5428         * text.C:
5429         * toc.C: Return a Paragraph & for ParIterator::operator*()
5430
5431 2003-06-11  John Levon  <levon@movementarian.org>
5432
5433         * lyx_main.C:
5434         * ToolbarBackend.h:
5435         * ToolbarBackend.C: add "Toolbars" section and
5436         put the flags there
5437
5438 2003-06-10  Angus Leeming  <leeming@lyx.org>
5439
5440         * lfuns.h:
5441         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5442
5443         * lyxfunc.C (dispatch): invoke it.
5444
5445 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5446
5447         * main.C: protect <ios> with HAVE_IOS
5448         (main): protect sync_with_stdio with HAVE_IOS
5449
5450 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5451
5452         * text2.C (cutSelection): adjust
5453         (pasteSelection): adjust
5454
5455         * messages.C: handle get of empty string
5456
5457         * main.C (main): use sync_with_stdio(false)
5458
5459         * lyxfunc.C (dispatch): adjust
5460
5461         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5462         (WriteAs): remove unneeded BufferView arg.
5463
5464         * bufferparams.h: use correct types on papersize, papersize2 and
5465         paperpackage.
5466
5467         * bufferparams.C (readToken): adjust for type
5468         (writeLaTeX): add missing cases to switch.
5469
5470         * bufferlist.C (quitWriteBuffer): adjust
5471         (close): adjust
5472
5473         * buffer.C (asciiParagraph): remove some commented code.
5474
5475         * CutAndPaste.C: remove current_view extern variable.
5476         (cutSelection): add BufferParams arg.
5477         (eraseSelection): add BufferParams arg.
5478         (pasteSelection): add Buffer const & arg
5479
5480 2003-06-07  John Levon  <levon@movementarian.org>
5481
5482         * buffer.C:
5483         * paragraph_funcs.C:
5484         * paragraph_pimpl.C:
5485         * text.C:
5486         * text2.C:
5487         * paragraph.h:
5488         * paragraph.C: allow InsetERT to freely space lines,
5489         and some consolidation of code
5490
5491 2003-06-06  José Matos  <jamatos@fep.up.pt>
5492
5493         * buffer.C (makeDocBookFile): fix bug #821
5494
5495 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5498
5499 2003-06-04  Angus Leeming  <leeming@lyx.org>
5500
5501         * buffer.C: bump format to 224.
5502
5503 2003-06-05  André Pönitz  <poenitz@gmx.net>
5504
5505         * text2.C (redoParagraphs): remove two const_cast<>
5506
5507 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5508
5509         * ParagraphList.h: remove last remnants of NO_STD_LIST
5510
5511 2003-06-03  Angus Leeming  <leeming@lyx.org>
5512
5513         * factory.C (createInset): small change to the way InsetExternal's params
5514         are set.
5515
5516 2003-06-04  André Pönitz  <poenitz@gmx.net>
5517
5518         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5519
5520         * paragraph_pimpl.h:
5521         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5522
5523         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5524
5525         * undo_funcs.C: make some simple cases of undo work again
5526
5527 2003-06-03  John Levon  <levon@movementarian.org>
5528
5529         * ispell.C: HPUX doesn't have sys/select.h
5530         (from Albert Chin)
5531
5532 2003-06-03  John Levon  <levon@movementarian.org>
5533
5534         * CutAndPaste.C: update tabular and include inset
5535         buffer references
5536
5537         * buffer.h:
5538         * paragraph.h:
5539         * paragraph.C: remove owningBuffer(), don't pass Buffer
5540         to clone()
5541
5542         * factory.C: insetGraphicsParams changed
5543
5544 2003-06-02  John Levon  <levon@movementarian.org>
5545
5546         * LyXAction.C:
5547         * factory.C:
5548         * lfuns.h:
5549         * lyxfunc.C:
5550         * text3.C: remove insetparent
5551
5552 2003-06-02  John Levon  <levon@movementarian.org>
5553
5554         * buffer.h:
5555         * buffer.C: fix inset_iterator.end(), move out of line
5556         (bug 1149)
5557
5558 2003-06-01  John Levon  <levon@movementarian.org>
5559
5560         * text3.C: use a proper cut/paste when doing inset
5561         insert (from Jürgen Spitzmüller)
5562
5563 2003-06-01  John Levon  <levon@movementarian.org>
5564
5565         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5566
5567 2003-05-30  André Pönitz  <poenitz@gmx.net>
5568
5569         * rowpainter.C: unify second drawing phase
5570
5571 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5572
5573         * trans_mgr.C: remove one case of current_view
5574
5575         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5576
5577         * paragraph_funcs.h: remove paragraph.h include
5578
5579         * paragraph.h: delete NO_STD_LIST stuff
5580
5581         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5582
5583         * buffer.h: remove paragraph.h include
5584
5585         * ParagraphList.C: delete file
5586
5587         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5588
5589         * toc.C (getTocList): adjust
5590
5591         * paragraph_pimpl.C (validate): adjust
5592
5593         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5594
5595         * paragraph.C (Paragraph): adjust
5596         (getPositionOfInset): use const_iterator, adjust
5597         (bibitem): use const_iterator, adjust
5598         (setInsetOwner): adjust
5599
5600         * iterators.C (operator++): adjust
5601
5602         * InsetList.[Ch]: Replace selfmade iterator with standard
5603         vector::iterator also introduce const_iterator. Remove getPos,
5604         getInset and setInset from InsetTable. Adjust accordingly.
5605
5606         * BufferView.C (lockInset): adjust
5607         (ChangeInsets): adjust
5608
5609         * tabular.[Ch]: delete commented same_id functions
5610
5611 2003-05-28  John Levon  <levon@movementarian.org>
5612
5613         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5614
5615 2003-05-28  André Pönitz  <poenitz@gmx.net>
5616
5617         * metricsinfo.[Ch]: remove 'fullredraw' member
5618
5619 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5620
5621         * lyxtextclass.C (operator): remove caching.
5622
5623 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * text3.C: adjust
5626
5627         * text2.C (cursorBottom): adjust
5628         (setCounter): use ParagraphList::find, adjust
5629
5630         * text.C (workWidth): use ParagraphList::find, adjust
5631
5632         * lyxcursor.C (LyXCursor): adjust
5633
5634         * buffer.C (inset_iterator): adjust
5635
5636         * ParagraphList.h: make iterator(value_type) private, make
5637         ParagraphList a friend of iterator.
5638
5639         * ParagraphList.C (find): new function
5640
5641         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5642
5643 2003-05-27  André Pönitz  <poenitz@gmx.net>
5644
5645         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5646
5647 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5648
5649         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5650
5651 2003-05-26  John Levon  <levon@movementarian.org>
5652
5653         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5654
5655 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * remove same_id from function signatures, adjust.
5658
5659 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5660
5661         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5662
5663         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5664
5665         * paragraph.C (Paragraph): get rid of same_ids parameter
5666
5667         * ParagraphList.C (insert): adjust
5668         (push_back): adjust
5669
5670 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * paragraph_funcs.C (breakParagraph): adjust
5673         (breakParagraphConservative): adjust
5674
5675         * buffer.C (readParagraph): adjust
5676
5677         * ParagraphList.C (insert): take a reference instead of a pointer
5678         (insert): adjust
5679
5680         * paragraph.[Ch] (id): new function
5681
5682         * bufferlist.C (newFile): adjust
5683
5684         * ParagraphList.C (ParagraphList): adjust
5685         (assign): adjust
5686         (push_back): take a reference instead of a pointer.
5687
5688         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5689
5690         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5691         instead.
5692
5693         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5694         set else use old code.
5695
5696         * ParagraphList.C: remove all NO_NEXT code and only compile this
5697         code of NO_STD_LIST is set.
5698
5699 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5700
5701         * BufferView_pimpl.C:
5702         * TextCache.C:
5703         * TextCache.h:
5704         * bufferlist.C:
5705         * errorlist.h:
5706         * format.C:
5707         * format.h:
5708         * graph.C:
5709         * lyxfunc.C:
5710         * lyxrc.C:
5711         * graphics/GraphicsConverter.C:
5712         * graphics/PreviewLoader.C: header adjustment
5713
5714 2003-05-23  Angus Leeming  <leeming@lyx.org>
5715
5716         * LaTeXFeatures.[Ch] (useBabel): new method.
5717         * bufferparams.C (writeLaTeX): use it.
5718
5719 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5720
5721         * ParagraphList.h (set): remove unused function.
5722
5723 2003-05-23  André Pönitz  <poenitz@gmx.net>
5724
5725         * BufferView.C:
5726         * BufferView_pimpl.C:
5727         * buffer.C:
5728         * buffer.h:
5729         * lyxfunc.C:
5730         * undo_funcs.C: setUndo reworked
5731
5732         * iterators.[Ch]: add access to topmost ParagraphList
5733
5734         * lyxtext.[Ch] (workWidth): add a const
5735
5736 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5737
5738         * texrow.[Ch] (increasePos): remove function
5739         * exporter.C (export): removed unused var and outdated comment
5740
5741 2003-05-23  Angus Leeming  <leeming@lyx.org>
5742
5743         * latexrunparams.h: rename fragile as moving_arg.
5744         * paragraph.C (simpleTeXOnePar): ditto.
5745         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5746
5747 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5750         (createUndo): ditto
5751         (textUndoOrRedo): comment out a currently unused var.
5752
5753         * paragraph.h (NO_NEXT): enable NO_NEXT
5754
5755         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5756
5757         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5758
5759         * exporter.C (Export): adjust for removeAutoInsets removal.
5760
5761         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5762
5763         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5764
5765         * BufferView.[Ch] (removeAutoInsets): delete function
5766
5767 2003-05-22  Angus Leeming  <leeming@lyx.org>
5768
5769         * latexrunparams.h: add a free_spacing variable.
5770
5771         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5772         to pass moving_arg, as the data is stored in runparams.fragile.
5773
5774         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5775         to Inset::latexOptional or to simpleTeXOnePar.
5776
5777         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5778         free_spacing arg to Inset::latexOptional.
5779
5780         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5781         free_spacing arg.
5782
5783 2003-05-22  Angus Leeming  <leeming@lyx.org>
5784
5785         * latexrunparams.h: add fragile and use_babel variables.
5786
5787         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5788         * buffer.C (makeLaTeXFile): store this returned value in
5789         runparams.use_babel, thus passing it to the inset::latex methods.
5790
5791         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5792         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5793
5794         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5795         longer has a fragile arg, as it is stored in runparams.fragile.
5796
5797         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5798         moving_arg parameter as the data is stored in runparams.fragile.
5799
5800         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5801         a fragile parameter as the data is stored in runparams.fragile.
5802
5803 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5804
5805         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5806
5807 2003-05-22  Angus Leeming  <leeming@lyx.org>
5808
5809         * latexrunparams.h: add a 'bool nice' which defaults to false.
5810
5811         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5812         now encapsulated within runparams.
5813
5814         * bufferlist.C (updateIncludedTeXfiles):
5815         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5816
5817 2003-05-22  Angus Leeming  <leeming@lyx.org>
5818
5819         * latexrunparams.h: new file containing struct LatexRunParams.
5820         * Makefile.am: add new file.
5821
5822         * LaTeX.[Ch] (c-tor, run):
5823         * buffer.[Ch] (makeLaTeXFile):
5824         * bufferlist.[Ch] (updateIncludedTeXfiles):
5825         * converter.C (convert, scanLog):
5826         * converter.[Ch] (runLaTeX):
5827         * exporter.C (Export):
5828         * paragraph.[Ch] (simpleTeXOnePar):
5829         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5830         * paragraph_funcs.[Ch] (latexParagraphs):
5831         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5832         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5833         pass around a LatexRunParams parameter.
5834
5835 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5836
5837         * paragraph.[Ch]: remove unused constructor
5838
5839         * ParagraphList.C (erase): new function, taking two iterators
5840
5841 2003-05-22  André Pönitz  <poenitz@gmx.net>
5842
5843         * undo_funcs.C: remove duplicated code
5844
5845         * iterator.[Ch]: operator=
5846
5847 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5848
5849         * tabular.C (SetMultiColumn): ws changes
5850
5851         * rowpainter.C (paintFirst): get rid of a ->previous
5852
5853         * lyx_cb.C (getPossibleLabel): parlist simplification
5854
5855         * BufferView.C (ChangeInsets): simplify slightly.
5856
5857 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5858
5859         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5860         * lfuns.h: new LFUN_SPACE
5861         * lyxfunc.C: protected space has a new lfun
5862         * paragraph_funcs.C: read new space insets
5863         * text3.C:
5864         * factory.C: handle new space insets
5865
5866 2003-05-22  André Pönitz  <poenitz@gmx.net>
5867
5868         * BufferView.C:
5869         * BufferView_pimpl.C:
5870         * buffer.[Ch]:
5871         * lyxfunc.C:
5872         * undo_funcs.C: return a ParIterator from getParFromID.
5873
5874         * iterators.[Ch]: add two const's
5875
5876 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * toc.C (getTocList): adjust
5879
5880         * iterators.[Ch]: rework for parlist
5881
5882         * buffer.C (par_iterator_begin): adjust
5883         (par_iterator_end): adjust
5884
5885         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5886
5887         * BufferView.C (removeAutoInsets): adjust
5888         (ChangeInsets): adjust
5889
5890 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5891
5892         * text.C (top_y): fix bug 1110
5893
5894 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5895
5896         * errorlist.[Ch]: added
5897         * buffer.C:
5898         * BufferView.[Ch]:
5899         * BufferView_pimpl.C:
5900         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5901         instead
5902
5903 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5904
5905         * Makefile.am: ensure that lyx is relinked upon changes to the
5906         various "convenience" libs.
5907
5908 2003-05-20  Angus Leeming  <leeming@lyx.org>
5909
5910         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5911         files are compiled in alphabetical order again.
5912
5913         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5914
5915 2003-05-19  Angus Leeming  <leeming@lyx.org>
5916
5917         * gettext.[Ch]: remove "char const * _(char const *)".
5918
5919 2003-05-19  André Pönitz  <poenitz@gmx.net>
5920
5921         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5922
5923         * Makefile.am:
5924         * BufferView.C:
5925         * DepTable.h:
5926         * LaTeXFeatures.C:
5927         * buffer.C:
5928         * lyxfont.C:
5929         * lyxlex.h:
5930         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5931
5932 2003-05-19  André Pönitz  <poenitz@gmx.net>
5933
5934         * buffer.C:
5935         * lyxlayout.[Ch]:
5936         * lyxtextclass.[Ch]:
5937         * paragraph.C:
5938         * paragraph_funcs.[Ch]:
5939         * text2.C:
5940         * text3.C: more insetenv work
5941
5942 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5943
5944         * ParagraphParameters.C (params2string): small bug fixed
5945
5946 2003-05-16  André Pönitz  <poenitz@gmx.net>
5947
5948         * debug.C:
5949         * bufferview_funcs.C: patch from Kornel Benko to prevent
5950           crash when _(...) is called twice in a statement
5951
5952 2003-05-16  André Pönitz  <poenitz@gmx.net>
5953
5954         * BufferView.C:
5955         * lyxfunc.C:
5956         * text.C:
5957         * text2.C:
5958         * text3.C:
5959         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5960
5961 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5962
5963         * lyx_main.C (init): remove spurious static_cast
5964
5965 2003-05-14  André Pönitz  <poenitz@gmx.net>
5966
5967         * BufferView.C: fix format string
5968
5969 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5970
5971         * BufferView.[Ch] (insertErrors): removed
5972         * BufferView.[Ch] (showErrorList): added
5973         * buffer.C (runChkTeX):
5974         * converter.C (scanLog): call showErrorList instead of inserterrors
5975
5976 2003-05-13  André Pönitz  <poenitz@gmx.net>
5977
5978         * BufferView_pimpl.C:
5979         * buffer.C:
5980         * bufferview_func.C:
5981         * MenuBackend.C:
5982         * lyxfunc.C:
5983         * lyxrc.C:
5984         * tex-accent.C:
5985         * text3.C:
5986         * toc.C:
5987         * tabular_funcs.h: tostr() from its own header
5988
5989         * ParagraphParameters.C:
5990         * ToolbarBackend.C:
5991         * bufferparams.C:
5992         * format.C:
5993         * lyxlex_pimpl.C:
5994         * text3.C: STRCONV()
5995
5996 2003-05-12  André Pönitz  <poenitz@gmx.net>
5997
5998         * BufferView.C:
5999         * BufferView_pimpl.C:
6000         * CutAndPaste.C:
6001         * LaTeX.C:
6002         * LaTeXFeatures.C:
6003         * ParagraphParameters.C:
6004         * buffer.C:
6005         * bufferlist.C:
6006         * bufferparams.C:
6007         * bufferview_funcs.C:
6008         * converter.C:
6009         * counters.C:
6010         * debug.C:
6011         * exporter.C:
6012         * format.C:
6013         * importer.C:
6014         * lyx_cb.C:
6015         * lyx_main.C:
6016         * lyxfont.C:
6017         * lyxfunc.C:
6018         * lyxvc.C:
6019         * paragraph.C:
6020         * paragraph_funcs.C:
6021         * tabular.C:
6022         * tabular_funcs.C:
6023         * text2.C:
6024         * text3.C:  boost::format -> bformat  all over the place
6025
6026
6027 2003-05-09  André Pönitz  <poenitz@gmx.net>
6028
6029         * LColor.[Ch]: Pimpl the #include <map> away
6030
6031 2003-05-09  John Levon  <levon@movementarian.org>
6032
6033         * bufferlist.C: never remove emergency saves
6034
6035 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * Makefile.am: better lib building
6038
6039 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6042         instead.
6043         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6044         (simpleTeXSpecialChars): adjust
6045         (simpleTeXSpecialChars): adjust
6046         * paragraph.C (simpleTeXOnePar): adjust
6047         * buffer.C (makeLaTeXFile): adjust
6048
6049         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6050
6051         * text2.C (changeDepth): parlist cleanup
6052         (getColumnNearX): ditto
6053
6054         * rowpainter.C (getLabelFont): parlist cleanup
6055
6056         * bufferlist.C (newFile): parlist cleanup
6057
6058         * CutAndPaste.C (eraseSelection): parlist cleanup
6059
6060         * BufferView_pimpl.C (trackChanges): parlist cleanup
6061         (dispatch): ditto
6062
6063         * BufferView.C (lockInset): parlist cleanup.
6064         (ChangeInsets): ditto
6065
6066 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * CutAndPaste.h: Update file header.
6069
6070         * CutAndPaste.C: Update file header.
6071         Store the parts cut out of the Document in a limited_stack.
6072         (copySelection): adjust
6073         (pasteSelection): new function, takes the index in the limited stack.
6074         (nrOfParagraphs): adjust
6075         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6076         simplify error inset insertion.
6077         (checkPastePossible): adjust
6078
6079 2003-05-06  John Levon  <levon@movementarian.org>
6080
6081         * text2.C: don't cast wrap inset to float
6082
6083 2003-05-05  André Pönitz  <poenitz@gmx.net>
6084
6085         * iterator.C:
6086         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6087
6088         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6089           few naked Paragraph *.
6090
6091 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6092
6093         * bufferparams.C: Output warning if a document with missing
6094         TeX document class is loaded
6095         * exporter.C: Disable TeX exports if the document class is missing
6096         * lyxtextclass.C:
6097         * lyxtextclass.h:
6098         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6099         isTeXClassAvailable()
6100
6101 2003-05-03  John Levon  <levon@movementarian.org>
6102
6103         * BufferView.h:
6104         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6105         explicit cursor show/hide
6106
6107         * BufferView_pimpl.h:
6108         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6109         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6110
6111         * lyxfunc.C: hide cursor before dispatching.
6112
6113         * lyx_cb.C:
6114         * lyxfind.C:
6115         * text.C:
6116         * text3.C: remove explicit cursor hides
6117
6118 2003-05-02  André Pönitz  <poenitz@gmx.net>
6119
6120         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6121
6122         * undo_funcs.C:
6123         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6124           linked lists
6125
6126         * text2.C: tiny whitespace
6127
6128 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6129
6130         * undo_funcs.C: almost only ws changes.
6131
6132         * ParagraphList.C (splice): just return if pl is empty.
6133
6134 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * ParagraphList.C (splice): new function.
6137
6138         * CutAndPaste.C (pasteSelection): use it
6139
6140 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * CutAndPaste.C (pasteSelection): remove the last next and
6143         previous from this file.
6144
6145 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6146
6147         * CutAndPaste.C (pasteSelection): more clean up, user proper
6148         ParagraphList functions for pasteing.
6149
6150         * ParagraphList.C (insert): new function, three arg insert
6151
6152 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6153
6154         * ParagraphList.C (insert): new function, three arg insert
6155
6156         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6157         not on paragraphs.
6158
6159 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6162
6163 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6166
6167 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6170         (copySelection): clean up a bit.
6171         (pasteSelection): use make_pair
6172
6173         * ParagraphList.C (ParagraphList): implement copy constructor
6174         (operator=): implement, base on copy constructor.
6175         (assign): new func
6176
6177         * paragraph.C (erase): return a bool
6178
6179         * paragraph_pimpl.C (erasePos): remove function, move contents...
6180         (erase): ... here. Return a bool.
6181         (erase): call erase instead of erasePos.
6182
6183 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * ParagraphList.h: define PitPosPair
6186         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6187         ParagraphList, fix a bug on pasting multiple pars
6188         * text2.C: change interface to C&P
6189
6190 2003-04-30  André Pönitz  <poenitz@gmx.net>
6191
6192         * undo_func.C: revert part of yesterday's patch 2
6193
6194 2003-04-30  John Levon  <levon@movementarian.org>
6195
6196         * LColor.C: s/tabular/table/
6197
6198 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6199
6200         * text3.C (dispatch): do not convert iterator -> pointer
6201         * undo_funcs.C (setCursorParUndo): ditto
6202         * text_funcs.C (transposeChars): ditto
6203
6204         * text2.C (setLayout): ws changes only
6205
6206         * text.C (breakParagraph): do not convert iterator -> pointer
6207         (insertChar): ditto
6208         (acceptChange): ditto
6209         (rejectChange): ditto
6210         (changeCase): ditto
6211         (Delete): ditto
6212         (backspace): ditto
6213
6214         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6215         pointer
6216
6217 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6218
6219         * text3.C (gotoInset): YABG (yet another bad getChar)
6220
6221 2003-04-29  André Pönitz  <poenitz@gmx.net>
6222
6223         * paragraph.h: make operator= private unimplemented as long as
6224           it is unusable
6225
6226         * ParagraphList.C: whitespace
6227
6228         * paragraph.[Ch]:
6229         * paragraph_pimpl.[Ch]:
6230         * paragraph_funcs.C:
6231         * CutAndPaste.C:
6232         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6233
6234         * text2.C:
6235           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6236
6237 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6238
6239         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6240         * paragraph.[Ch] (erase):
6241         * paragraph_pimpl.[Ch] (erase): change return type and value
6242         * text2.C (cutSelection): some rework
6243
6244 2003-04-28  John Levon  <levon@movementarian.org>
6245
6246         * bufferlist.C: changes for unsaved changes dialog
6247
6248 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * bufferlist.C (newFile): set language (messages_) for new
6251         documents also.
6252
6253         * buffer.C (readFile): ws changes only.
6254
6255 2003-04-28  André Pönitz  <poenitz@gmx.net>
6256
6257         * undo_funcs.C:
6258         * lyxfunc.C:
6259         * buffer.[Ch]:
6260         * BufferView_pimpl.C:
6261         * BufferView.C: getParFromID related ParagraphList::iterator changes
6262
6263 2003-04-28  André Pönitz  <poenitz@gmx.net>
6264
6265         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6266           Changes
6267
6268 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6269
6270         * messages.C: remove one more localedir class variable.
6271
6272 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6273
6274         * messages.C (getLocaleDir): singleton generation function
6275         (Pimpl): use it.
6276         (Messages): add a default constructor.
6277
6278         * main.C (main): do not setup localedir here, do not call
6279         gettext_init.
6280
6281         * gettext.C (_): use it.
6282         (gettext_init): delete funciton
6283
6284 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * gettext.C (getLyXMessages): new singleton generating function.
6287
6288         * buffer.C (updateDocLang): adjust
6289
6290         * Makefile.am (messages.o): add target
6291         (main.o): remove target
6292
6293 2003-04-27  John Levon  <levon@movementarian.org>
6294
6295         * bufferlist.C:
6296         * lyx_cb.C:
6297         * lyxfunc.C:
6298         * lyxvc.C: specify cancel button in Alert::prompt
6299
6300 2003-04-26  John Levon  <levon@movementarian.org>
6301
6302         * text3.C:
6303         * lyxfunc.C:
6304         * lfuns.h:
6305         * LyXAction.C: add LFUN_INSET_SETTINGS
6306
6307         * lyxfunc.C: don't enable tabular-feature when there's
6308         just any locking inset
6309
6310 2003-04-26  John Levon  <levon@movementarian.org>
6311
6312         * bufferlist.C: re-add Cancel to buffer close question
6313
6314         * lyxfunc.C: fix import UI a bit
6315
6316 2003-04-25  John Levon  <levon@movementarian.org>
6317
6318         * gettext.C: remove the broken asserts for now
6319
6320 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * messages.C: make case where setlocale cannot comply work better.
6323
6324         * buffer.C (updateDocLang): new function
6325         (changeLanguage): use it
6326         (readFile): use it
6327
6328         * text2.C (setCounter): use B_ a bit.
6329
6330         * lyxlayout.C (Read): be sure to trim the label strings.
6331
6332         * messages.C (Messages): fix typo in comment
6333
6334         * buffer.C (readFile): set message_ after file is loaded.
6335         (makeDocBookFile): remove double return
6336         (changeLanguage): reset message_ upon language change.
6337         (B_): new func, use this to get translated buffer strings.
6338
6339         * main.C: add myself and Jean Marc as authors.
6340
6341 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6342
6343         * messages.[hC]: pimplify Messages, and three different pimpls to be
6344         used in different circumstances.
6345
6346         * gettext.[Ch]: change for use with new message code.
6347
6348 2003-04-24 André Pönitz <poenitz@gmx.net>
6349
6350         * factory.C: support for eqref
6351
6352 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * messages.[Ch]: add missing char
6355
6356         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6357
6358         * messages.[Ch]: New files
6359
6360 2003-04-18  John Levon  <levon@movementarian.org>
6361
6362         * BufferView.h:
6363         * BufferView.C:
6364         * BufferView_pimpl.C:
6365         * lfuns.h:
6366         * LyXAction.C:
6367         * lyxtext.h:
6368         * text2.C: remove layout-copy/paste (bug 778)
6369
6370 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6373
6374 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6375
6376         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6377         if they succeed. Act accordingly.
6378
6379 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * text2.C (setCharFont): adjust
6382         (setCounter): adjust
6383         (insertStringAsLines): adjust
6384
6385         * text.C (leftMargin): adjust
6386         (setHeightOfRow): adjust
6387
6388         * rowpainter.C (paintFirst): adjust
6389         (paintLast): adjust
6390
6391         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6392         (outerHook): ditto
6393         (isFirstInSequence): ditto
6394         (getEndLabel): ditto
6395         (outerFont): adjust
6396
6397         * paragraph.C (getParLanguage): comment out some hard stuff.
6398
6399         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6400         (sgmlError): ditto
6401         (simpleDocBookOnePar): ditto
6402         (makeDocBookFile): use ParagraphList::iterator
6403
6404         * CutAndPaste.C (pasteSelection): adjust
6405
6406 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6407
6408         * text2.C (getFont): adjust
6409         (getLayoutFont): adjust
6410         (getLabelFont): adjust
6411
6412         * paragraph_funcs.C (TeXOnePar): adjust
6413
6414         * buffer.C (simpleLinuxDocOnePar): adjust
6415         (simpleDocBookOnePar): adjust
6416
6417         * CutAndPaste.C (pasteSelection): adjust
6418
6419         * BufferView.C (getEncoding): adjust
6420
6421         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6422
6423 2003-04-16  John Levon  <levon@movementarian.org>
6424
6425         * lyxfind.C: use parlist stuff for search/changes
6426
6427 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6428
6429         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6430
6431         * text2.C (deleteEmptyParagraphMechanism): adjust
6432
6433         * text2.[Ch] (ownerParagraph): delete func (both of them
6434
6435 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6436
6437         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6438
6439 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * ParagraphList.C: prepare for NO_NEXT
6442
6443 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6444
6445         * text2.C (getFont): adjust
6446         (getLayoutFont): adjust
6447         (getLabelFont): adjust
6448
6449         * paragraph.C (getFont): adjust
6450         (getLabelFont): adjust
6451         (getLayoutFont): adjust
6452
6453         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6454
6455 2003-04-15  John Levon  <levon@movementarian.org>
6456
6457         From Angus Leeming
6458
6459         * lyx_main.C: handle Include in .ui files
6460
6461 2003-04-15  John Levon  <levon@movementarian.org>
6462
6463         * MenuBackend.C: make the doc files length shorter
6464
6465         * ToolbarBackend.h:
6466         * ToolbarBackend.C: handle toolbar placement flags,
6467         Minibuffer
6468
6469 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6472         adjust
6473
6474         * paragraph_funcs.C (TeXOnePar): adjust
6475
6476         * paragraph.C (getLabelFont): add outerfont arg, adjust
6477         (getLayoutFont): ditto
6478         (simpleTeXOnePar): adjust
6479
6480         * paragraph_pimpl.C (realizeFont): delete func
6481
6482 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6483
6484         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6485         row argument, constify cur argument.
6486
6487 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * text2.C (getFont): adjust
6490         (getLayoutFont): adjust
6491         (getLabelFont): adjust
6492
6493         * paragraph_funcs.C (TeXOnePar): adjust
6494         (outerFont): new func...
6495         (realizeFont): ...moved out from here, changed this to facilitate
6496         transition
6497
6498         * paragraph.C (getFont): take outerfont as arg, adjust
6499         (simpleTeXOnePar): add outerfont arg, adjust
6500
6501         * buffer.C (simpleLinuxDocOnePar): adjust
6502         (simpleDocBookOnePar): adjust
6503
6504         * CutAndPaste.C (pasteSelection): adjust
6505
6506         * BufferView.C (getEncoding): adjust
6507
6508 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * text2.C (setCharFont): adjust
6511         (setCounter): adjust
6512
6513         * text.C (leftMargin): adjust
6514         (setHeightOfRow): adjust
6515
6516         * rowpainter.C (paintFirst): adjust
6517         (paintLast): adjust
6518
6519         * paragraph_pimpl.C (realizeFont): adjust
6520
6521         * paragraph.C (isFirstInSequence): move from here...
6522         * paragraph_funcs.C (isFirstInSequence): ...to here
6523
6524         * paragraph.C (outerHook): move from here...
6525         * paragraph_funcs.C (outerHook): ...to here
6526
6527         * paragraph.C (depthHook): move from here...
6528         * paragraph_funcs.C (depthHook): ...to here
6529
6530         * paragraph.C (getEndLabel): move from here...
6531         * paragraph_funcs.C (getEndLabel): ...to here
6532
6533         * text2.C (realizeFont): move from here...
6534         * paragraph_funcs.C (realizeFont): ...to here
6535
6536 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6537
6538         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6539
6540 2003-04-14  Angus Leeming  <leeming@lyx.org>
6541
6542         * LColor.[Ch]: scrap LColor mathcursor.
6543
6544 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6545
6546         * lyxlex.[Ch] (text): delete function
6547         * trans.C (Load): adjust
6548         * paragraph_funcs.C (readParToken): adjust
6549
6550 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6551
6552         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6553         vector<char> instead of a char[].
6554
6555         * lyxlex_pimpl.C (getString): adjust
6556         (next): adjust
6557         (lex): use getString
6558         (eatLine): adjust
6559         (nextToken): adjust
6560
6561         * lyxlex.C (text): use pimpl_->getString()
6562         (getBool): ditto
6563         (findToken): ditto
6564
6565 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6566
6567         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6568         (makeFontEntriesLayoutSpecific): temp var for par.size()
6569         (setLayout): temp var for ownerParagraphs().end()
6570         (fullRebreak): temp var for rows().end()
6571         (selectionAsString): temp var for boost::next(startpit), realize
6572         that the while really is a regular for loop.
6573         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6574         setCursor in one place.
6575         (setParagraph): temp vr for ownerParagraphs().end()
6576         (updateCounters): make the while loop a for loop
6577         (cutSelection): temp var for ownerParagraphs().end()
6578         (updateInset): make the do {} while() a regular for loop
6579         (getCursorX): use temp vars
6580         (setCurrentFont): use temp vars
6581         (getColumnNearX): use temp vars
6582
6583 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * text.C (transformChar): use temp var for getChar
6586         (computeBidiTables): use temp var for row->par()
6587         (fill): move temp vars for row->par() and pit->layout() earlier in
6588         the function.
6589         (labelFill): use temp var for row->par()
6590         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6591         asc and desc, realize that pit never changes and that firstpit is
6592         just a duplicate and not needed. Exchange rit->par() with pit in a
6593         lot of places.
6594         (breakAgain): use a temp var for boost::next(rit)
6595         (breakAgainOneRow): ditto
6596         (breakParagraph): use a temp var for rows().begin()
6597         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6598         (cursorRightOneWord): use temp var for cursor.par() and
6599         cursor.pos(), remove usage of tmpcursor.
6600         (cursorLeftOneWord): use temp var for cursor.par() and
6601         cursor.pos() only set cur at end of function.
6602
6603 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6604
6605         * text.C, text2.C: exchange all usage of Paragraph::next with
6606         boost::next(ParagraphList::iterator)
6607
6608         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6609
6610         * text2.C (cursorTop): simplify implementation
6611         (cursorBottom): ditto
6612         (setParagraph): use ParagraphList::iterator
6613         (setCurrentFont): adjust
6614         (getColumnNearX): adjust
6615         (cursorRight): adjust
6616         (cursorLeft): remove usage of Paragraph::previous
6617         (cursorUpParagraph): ditto
6618         (deleteEmptyParagraphMechanism): slight cleanup
6619
6620         * text.C (isBoundary): take a Paragraph const & instead of a
6621         pointer as arg.
6622         (addressBreakPoint): ditto
6623         (leftMargin): remove usage of Paragraph::previous.
6624         (setHeightOfRow): ditto
6625         (cursorLeftOneWord): ditto
6626         (selectNextWordToSpellcheck): ditto
6627         (Delete): ditto
6628         (backspace): ditto
6629         (breakParagraph): remove one usage of Paragraph::next
6630         (redoParagraph): ditto
6631         (acceptChange): ditto
6632         (insertChar): adjust
6633         (rowBreakPoint): adjust
6634
6635         * bufferview_funcs.C (toggleAndShow): adjust
6636
6637 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6638
6639         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6640         methods to access it.
6641         * lyxtext.h:
6642         * text.C: Added updateRowPositions to compute all row positions.
6643         Make top_y and getRowNearY() to use the cached y position
6644
6645 2003-04-11  John Levon  <levon@movementarian.org>
6646
6647         * text.C (rowBreakPoint): reintroduce the labelEnd
6648         checks, code copied from the row fill stuff. Deep voodoo.
6649
6650         * text.C (fill): add a comment and debugging for the
6651         next poor soul.
6652
6653 2003-04-11  John Levon  <levon@movementarian.org>
6654
6655         * text.C: make sure fullrow insets get wrapped to the next line,
6656         even when they're in a manual label
6657
6658 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * text2.C (insertParagraph): make it take ParagraphList::iterator
6661         as arg.
6662         (setLayout): make it return ParagraphList::iterator
6663         (redoParagraphs): ditto
6664         (setCounter): ditto
6665         (checkParagraph): ditto
6666
6667         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6668
6669         * text2.C: adjust several funcs.
6670         (realizeFont): take a ParagraphList::iterator as arg.
6671         (getLayoutFont): ditto
6672         (getLabelFont): ditto
6673         (setCharFont): ditto
6674
6675         * text.C: adjust several funcs.
6676
6677 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6678
6679         * text.C (selectNextWordToSpellcheck): don't accidentally
6680         skip insets
6681
6682 2003-04-10  John Levon  <levon@movementarian.org>
6683
6684         * ToolbarBackend.C (getIcon): special handling for
6685         LFUN_MATH_DELIM
6686
6687 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6688
6689         * text2.C (cursorRight): a getChar assert fixed
6690
6691 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6692
6693         * text2.C (getFont): change to take a ParagraphList::iterator
6694         instead of Paragraph*
6695         Adjust several functions.
6696
6697         * text.C (transformChar): change to take a ParagraphList::iterator
6698         instead of Paragraph*
6699         (singleWidth): ditto
6700         Adjust several functions.
6701
6702         * rowpainter.C: adjust several functions
6703         * rowpainter.h:store a ParagraphList::iterator and not a
6704         Paragraph&.
6705
6706
6707 2003-04-09  John Levon  <levon@movementarian.org>
6708
6709         * lyxfunc.C:
6710         * lfuns.h:
6711         * LyXAction.h:
6712         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6713         and the "help" bits as well
6714
6715 2003-04-09  John Levon  <levon@movementarian.org>
6716
6717         * ToolbarBackend.h:
6718         * ToolbarBackend.C: allow multiple toolbars
6719
6720 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6721
6722         * undo_funcs.C (setCursorParUndo): adjust
6723
6724         * text_funcs.C (transposeChars): adjust
6725
6726         * text3.C (gotoNextInset): adjust
6727         (dispatch): adjust
6728
6729         * text2.C (setLayout): adjust
6730         (changeDepth): adjust
6731         (setFont): adjust
6732         (redoParagraphs): adjust
6733         (selectionAsString): adjust
6734         (setParagraph): adjust
6735         (insertInset): adjust
6736         (cutSelection): adjust
6737         (copySelection): adjust
6738         (pasteSelection): adjust
6739         (insertStringAsLines): adjust
6740         (updateInset): adjust
6741         (setCursor): change to take a ParagraphList::iterator parameter
6742         (setCursorIntern): change to take a ParagraphList::iterator parameter
6743         (setCurrentFont): adjust
6744         (cursorLeft): adjust
6745         (cursorRight): adjust
6746         (deleteEmptyParagraphMechanism): adjust
6747
6748         * text.C (breakParagraph): adjust
6749         (insertChar): adjust
6750         (acceptChange): adjust
6751         (rejectChange): adjust
6752         (selectNextWordToSpellcheck): adjust
6753         (changeCase): adjust
6754         (Delete): adjust
6755         (backspace): adjust
6756
6757         * lyxfind.C (SearchForward): adjust
6758         (SearchBackward): adjust
6759         (nextChange): adjust
6760
6761         * lyxcursor.C (par): adjust
6762
6763         * lyxcursor.h: store a ParagraphList::iterator instead of a
6764         Paragraph*
6765
6766         * lyx_cb.C (getPossibleLabel): adjust
6767
6768         * bufferview_funcs.C (toggleAndShow): adjust
6769
6770         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6771         (dispatch): adjust
6772
6773         * BufferView.C (removeAutoInsets): adjust
6774         (lockedInsetStoreUndo): adjust
6775
6776 2003-04-09  John Levon  <levon@movementarian.org>
6777
6778         * ToolbarBackend.C: try icon without argument
6779         if with argument fails
6780
6781 2003-04-08  John Levon  <levon@movementarian.org>
6782
6783         * ToolbarBackend.h:
6784         * ToolbarBackend.C: add getIcon(), handle tooltip,
6785         and change from "Icon" to "Item".
6786
6787 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6788
6789         * BufferView.C (lockInset): another bad getchar crunched
6790
6791 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6792
6793         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6794         again)
6795
6796 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6797
6798         * lyxfind.C (searchForward, searchBackwards): bug 782
6799
6800 2003-04-07  John Levon  <levon@movementarian.org>
6801
6802         * paragraph.C: remove dead comment
6803
6804         * text.C: remove troublesome depth-fiddling code
6805         in leftMargin() and rightMargin() (bug 1017)
6806
6807         * text.C: fix breaking of rows in nested lists
6808         (bug 1004)
6809
6810         * text2.C (updateCounters): fix up depth values
6811         (bug 1013)
6812
6813 2003-04-07  John Levon  <levon@movementarian.org>
6814
6815         * BufferView_pimpl.C: clear message when doc finishes resizing,
6816         and after a mouse event
6817
6818         * lyxfunc.C: clear message after exiting inset
6819
6820 2003-04-07  John Levon  <levon@movementarian.org>
6821
6822         * bufferview_funcs.C: show math status not outside
6823         status in the statusbar
6824
6825 2003-04-07  John Levon  <levon@movementarian.org>
6826
6827         * lyxfunc.C: note status changed after a depth change
6828
6829 2003-04-04  Angus Leeming  <leeming@lyx.org>
6830
6831         * LaTeX.h: move AuxInfo operator==, != out of line.
6832         Remove LaTeX virtual destructor; nothing derives from it.
6833         Move operator()() out of public area and rename it startscript().
6834         Change protected for private.
6835
6836 2003-04-04  Angus Leeming  <leeming@lyx.org>
6837
6838         * lyxfunc.C:
6839         * text2.C: remove unneeded #includes.
6840
6841 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6842
6843         * text2.C (dEPM): fix the heigth of the next row
6844
6845 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6846
6847         * text.C: squashed an invalid getChar requester + some ws changes
6848
6849 2003-04-03  John Levon  <levon@movementarian.org>
6850
6851         * bufferview_funcs.h:
6852         * bufferview_funcs.C:
6853         * lyxfunc.C:
6854         * lyxtext.h:
6855         * text2.C: make getStatus work for the env depth lfuns
6856
6857 2003-04-03  John Levon  <levon@movementarian.org>
6858
6859         * bufferview_funcs.h:
6860         * bufferview_funcs.C:
6861         * lyxfunc.C:
6862         * lyxtext.h:
6863         * text2.C: parlistize decDepth(), by merging it with incDepth()
6864
6865 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * lyxrow.h: store a ParagraphList::iterator instead of a
6868         Paragraph* and adjust other class functions to suit.
6869
6870         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6871         above.
6872
6873 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6874
6875         * text2.C (setCursor): do not anchor to cursor row for the time being
6876
6877 2003-04-02  John Levon  <levon@movementarian.org>
6878
6879         * LyXAction.C:
6880         * lfuns.h:
6881         * lyx_main.C:
6882         * lyxtext.h:
6883         * text.C:
6884         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6885
6886 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6887
6888         * paragraph.h: make ParagraphList and ParagraphList::iterator
6889         friends of Paragraph.
6890
6891         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6892
6893         * ParagraphList.C: Use the private next_ and previous_ from
6894         Paragraph.
6895
6896 2003-04-01  John Levon  <levon@movementarian.org>
6897
6898         * ToolbarBackend.h:
6899         * ToolbarBackend.C:
6900         * Makefile.am: rename, remove defaults gunk
6901
6902         * MenuBackend.h:
6903         * MenuBackend.C: remove defaults gunk
6904
6905         * Languages.h:
6906         * Languages.C: remove defaults gunk
6907
6908         * lyx_main.h:
6909         * lyx_main.C: error out if files couldn't be found.
6910
6911 2003-04-02  John Levon  <levon@movementarian.org>
6912
6913         * text2.C: make incDepth() use parlist
6914
6915 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6916
6917         * undo_funcs.C (firstUndoParagraph): adjust
6918
6919         * text3.C (gotoInset): adjust
6920         (dispatch): adjust, and rewrite loop.
6921
6922         * text2.C (init): adjust, and rewrite loop.
6923         (redoParagraphs): adjust
6924         (updateInset): adjust, and rewrite loop.
6925         (deleteEmptyParagraphMechanism): adjust
6926
6927         * tabular.C (LyXTabular): adjust
6928         (SetMultiColumn): adjust
6929         (TeXRow): adjust
6930
6931         * lyxtext.[Ch] (ownerParagraph): delete function
6932         (ownerParagraphs): new function returns a ParagraphList.
6933
6934         * BufferView.C (removeAutoInsets): adjust
6935         (insertErrors): adjust
6936         (setCursorFromRow): adjust
6937
6938 2003-04-01  Angus Leeming  <leeming@lyx.org>
6939
6940         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6941         in the frontends.
6942
6943 2003-04-02  John Levon  <levon@movementarian.org>
6944
6945         * lyxtext.h:
6946         * text.C:
6947         * Makefile.am:
6948         * text_funcs.h:
6949         * text_funcs.C: make transposeChars a free function
6950
6951         * lyxrow_funcs.C: remove wrong comment
6952
6953 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6954
6955         * lyxtext.h: adjust
6956         * rowpainter.C: adjust
6957         * text.C: adjust
6958         * text2.C: adjust
6959         * text3.C: adjust
6960
6961         * lyxrow_funcs. [Ch]: new files
6962
6963         * lyxrow.[Ch]: remove next and previous pointers
6964         (next,previous): remove accessor functions
6965         (isParEnd): move to lyxrow_funcs
6966         (lastPos): move to lyxrow_funcs
6967         (nextRowIsAllInset): move to lyxrow_funcs
6968         (lastPrintablePos): move to lyxrow_funcs
6969         (numberOfSeparators): move to lyxrow_funcs
6970         (numberOfHfills): move to lyxrow_funcs
6971         (numberOfLabelHfills): move to lyxrow_funcs
6972         (hfillExpansion): move to lyxrow_funcs
6973
6974         * lyxfunc.C: adjust
6975
6976         * bufferview_funcs.C (toggleAndShow): adjust
6977
6978         * RowList.h: Remove class RowList from file leave just a
6979         std::list<Row>.
6980
6981         * RowList.C: delete file
6982
6983         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6984         and lyxrow_funcs.h
6985
6986 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6987
6988         * text3.C (cursorPrevious): adjust
6989         (cursorNext): adjust
6990         (dispatch): adjust
6991
6992         * text2.C (redoHeightOfParagraph): adjust
6993         (redoDrawingOfParagraph): adjust
6994         (setCursor): adjust
6995
6996         * text.C (breakParagraph): adjust
6997         (insertChar): adjust
6998         (backspace): adjust
6999
7000         * rowpainter.C (RowPainter): adjust
7001         (leftMargin): simplify and adjust
7002         (most rowpainter functions): adjust.
7003
7004         * rowpainter.h: store the row as RowList::iterator not as Row*
7005
7006         * lyxcursor.C (row): taka RowList::iterator as arg
7007         (irow): ditto
7008
7009         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7010         of Row*.
7011
7012 2003-04-01  Angus Leeming  <leeming@lyx.org>
7013
7014         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7015         stuff like bool Bool.
7016
7017 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7018
7019         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7020         rewrite a loop
7021
7022 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7025         RowList::iterator.
7026
7027         * lyxtext.h (rows): drop one version and leve a const variant that
7028         returns a RowList::iterator.
7029
7030 2003-03-31  Angus Leeming  <leeming@lyx.org>
7031
7032         * text.C (fill): ensure that the signature is the same as that in the
7033         header file.
7034
7035 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7036
7037         * text2.C (redoParagraphs): adjust
7038         (updateCounters): adjust
7039         (checkParagraph): adjust
7040         (getColumnNearX): adjust and reformat a bit.
7041
7042         * text.C (top_y): adjust
7043         (workWidth): adjust
7044         (leftMargin): adjust
7045         (prepareToPrint): adjust
7046         (getRow): adjust
7047         (getRowNearY): adjust
7048
7049         * lyxtext.h: make rowlist_ mutable.
7050
7051         * RowList.h: add const_iterator
7052         * RowList.C: adjust for RowList::const_iterator.
7053
7054         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7055         adjust.
7056
7057 2003-03-31  John Levon  <levon@movementarian.org>
7058
7059         * lyxrc.h:
7060         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7061
7062         * lyx_main.C: set default fonts from using lyx_gui funcs
7063
7064         * exporter.C: pdf_mode moved from lyxrc
7065
7066         * lyx_cb.C:
7067         * lyxfunc.C: changes from above
7068
7069 2003-03-31  John Levon  <levon@movementarian.org>
7070
7071         * lyx_main.C: fix to the last fix
7072
7073 2003-03-31  John Levon  <levon@movementarian.org>
7074
7075         * bufferlist.C: "Load original" -> "Load Original"
7076
7077         * converter.C:
7078         * exporter.C:
7079         * importer.C:
7080         * lyx_main.C:
7081         * format.C: more Alert cleanups
7082
7083 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7084
7085         * text2.C (removeParagraph): make it take a RowList::iterator as
7086         arg, adjust.
7087         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7088         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7089
7090         * text.C (anchor_row): make it take a RowList::iterator as arg,
7091         adjust.
7092         (computeBidiTables): make it take a const reference to Row instead
7093         of Row pointer, adjust.
7094         (leftMargin): make it take a RowList::iterator as arg, adjust.
7095         (rowBreakPoint): adjust
7096         (breakAgainOneRow): make it take a RowList::iterator as arg,
7097         adjust.
7098         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7099
7100         * bufferview_funcs.C (toggleAndShow): adjust
7101
7102 2003-03-30  John Levon  <levon@movementarian.org>
7103
7104         * Makefile.am:
7105         * BoostFormat.h:
7106         * boost-inst.C: moved to support
7107
7108         * several files: changes as a result
7109
7110 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * text2.C (LyXText): adjust.
7113         (init): adjust
7114         (removeRow): make it take a RowList::iterator as arg, adjust.
7115         (fullRebreak): adjust
7116         (deleteEmptyParagraphMechanism): adjust
7117         (clearPaint): adjust
7118         (postPaint): adjust
7119
7120         * text.C (top_y): adjust
7121         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7122         (breakAgain): make it take a RowList::iterator as arg, adjust.
7123         (breakParagraph): adjust
7124         (insertChar): adjust
7125         (backspace): adjust
7126
7127         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7128         need_break_row, and refresh_row.
7129
7130         * text3.C (dispatch): adjust
7131
7132         * text2.C (checkParagraph): adjust
7133         (setCursor): adjust
7134         (setCursorFromCoordinates): adjust
7135
7136         * text.C (top_y): adjust
7137         (workWidth): adjust
7138         (getRow): make it return a RowList::iterator, adjust
7139         (getRowNearY): make it return a RowList::iterator, adjust
7140
7141         * text2.C (init): adjust
7142         (insertRow): remove function
7143         (insertParagraph): adjust
7144         (redoParagraphs): adjust
7145         (fullRebreak): adjust
7146         (updateCounters): adjust
7147
7148         * text.C (top_y): rewrite to use RowList iterators.
7149         (top_y): adjust
7150         (setHeightOfRow): rewrite to sue RowList iterators.
7151         (appendParagraph): adjust
7152         (breakAgain): adjust
7153         (breakAgainOneRow): adjust
7154         (breakParagraph): adjust
7155         (getRow): adjust
7156         (getRowNearY): adjust, and remove commented code.
7157
7158         * lyxtext.h (firstRow): delete function
7159         (lastRow): delete function
7160         (rows): new function (const and non-const versions.)
7161         (insertRow): delete function
7162
7163         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7164
7165 2003-03-29  John Levon  <levon@movementarian.org>
7166
7167         * BufferView_pimpl.C: always update scrollbar top
7168         because pasting text when we're anchored could mean we
7169         miss an update altogether
7170
7171 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7172
7173         * text2.C (init): use rowlist_.end() and not 0.
7174         (insertRow): change to take a RowList::iterator as arg, adjust
7175         for this.
7176         (insertParagraph): change to take a RowList::iterator as arg,
7177         adjust for this.
7178         (redoParagraphs): remove some debug msgs.
7179
7180         * text.C (appendParagraph): change to take a RowList::iterator
7181         arg, adjust for this.
7182         (breakAgain): add an assert
7183         (breakAgainOneRow): ditto
7184
7185 2003-03-29  John Levon  <levon@movementarian.org>
7186
7187         * text2.C: do not clear selection after inc/decDepth
7188         (bug 550)
7189
7190 2003-03-29  John Levon  <levon@movementarian.org>
7191
7192         * BufferView.C:
7193         * buffer.C: fix broken strerrors according to Lars
7194
7195 2003-03-29  John Levon  <levon@movementarian.org>
7196
7197         * converters.C: more Alert cleanups
7198
7199 2003-03-29  John Levon  <levon@movementarian.org>
7200
7201         * bufferview_funcs.C: remove pointless Alert
7202
7203         * buffer.C: fix confusing error message when
7204         a template is chmoded 000
7205
7206 2003-03-29  John Levon  <levon@movementarian.org>
7207
7208         * BufferView.C:
7209         * BufferView.h:
7210         * BufferView_pimpl.C: Alert fixes
7211
7212         * Makefile.am:
7213         * tabular.C:
7214         * tabular-old.C: remove unused table compat reading
7215
7216 2003-03-29  John Levon  <levon@movementarian.org>
7217
7218         * BufferView.C:
7219         * buffer.C:
7220         * lyx_cb.h:
7221         * lyx_cb.C: more Alert cleanups
7222
7223         * lyxfunc.C: don't allow chktex if not latex document
7224
7225 2003-03-29  John Levon  <levon@movementarian.org>
7226
7227         * lyx_cb.C:
7228         * BufferView.C:
7229         * buffer.C: warnings pushed down from support/,
7230         kill err_alert
7231
7232 2003-03-29  John Levon  <levon@movementarian.org>
7233
7234         * lyxfunc.C: safety check for C-r (revert)
7235
7236 2003-03-29  John Levon  <levon@movementarian.org>
7237
7238         * bufferlist.h:
7239         * bufferlist.C: several UI fixes using Alert::prompt.
7240         Fix the pointless looping quit code. Fix stupid revert
7241         behaviour (bug 938)
7242
7243         * lyxvc.h:
7244         * lyxvc.C:
7245         * lyx_cb.C: use Alert::prompt
7246
7247         * lyx_main.C: remove a silly question
7248
7249         * lyxfunc.C: remove a couple of silly questions,
7250         use Alert::prompt
7251
7252 2003-03-28  John Levon  <levon@movementarian.org>
7253
7254         * text2.C: fix bug 974 (End on empty par)
7255
7256 2003-03-28  John Levon  <levon@movementarian.org>
7257
7258         * BufferView_pimpl.C:
7259         * LyXAction.C:
7260         * lfuns.h: remove do-nothing math greek lfuns
7261
7262 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7263
7264         * lyxgluelength.h (isValidGlueLength): add default arg on
7265         parameter 2. Remove default arg from friend in class.
7266
7267         * lyxlength.h (isValidLength): add default arg on parameter 2.
7268         Remove default arg from friend in class.
7269
7270         * text2.C (LyXText): adjust, initialize refresh_row.
7271         (init): adjust
7272         (removeRow): adjust
7273         (insertRow): adjust
7274         (insertParagraph): adjst
7275         (redoParagraphs): adjust
7276         (fullRebreak): adjust
7277         (updateCounters): adjust
7278         (deleteEmptyParagraphMechanism): first attempt at fixing a
7279         crashing bug.
7280
7281         * text.C (top_y): adjust
7282         (setHeightOfRow): adjust
7283         (getRow): adjust
7284         (getRowNearY): adjust
7285
7286         * lyxtext.h: include RowList.h
7287         (~LyXText): not needed anymore, deleted.
7288         (firstRow): modify for RowList
7289         (lastRow): new function
7290         Delete firstrow and lastrow class variables, add a Rowlist
7291         rowlist_ class variable.
7292
7293         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7294         paragraph is empty.
7295
7296         * RowList.C (insert): fix case where it == begin().
7297
7298 2003-03-26  Angus Leeming  <leeming@lyx.org>
7299
7300         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7301         the thesaurus dialog.
7302
7303 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7304
7305         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7306
7307         * RowList.[Ch]: new files
7308
7309         * ParagraphList.C (erase): handle the case where it == begin
7310         correctly.
7311
7312 2003-03-25  John Levon  <levon@movementarian.org>
7313
7314         * Makefile.am:
7315         * aspell_local.h:
7316         * aspell.C: add new aspell support
7317
7318         * lyxrc.h:
7319         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7320         have it accessible.
7321
7322 2003-03-25  Angus Leeming  <leeming@lyx.org>
7323
7324         * lfuns.h:
7325         * LyXAction.C (init): new LFUN_INSET_INSERT.
7326
7327         * BufferView_pimpl.C (dispatch): split out part of the
7328         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7329
7330         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7331         LFUN_INSET_APPLY.
7332
7333 2003-03-25  Angus Leeming  <leeming@lyx.org>
7334
7335         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7336
7337 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7338
7339         * text2.C:
7340         * text3.C: remove useless row->height(0)
7341
7342 2003-03-25  John Levon  <levon@movementarian.org>
7343
7344         * lyxtext.h:
7345         * text2.C:
7346         * text3.C: rename the refreshing stuff to better names
7347
7348 2003-03-24  John Levon  <levon@movementarian.org>
7349
7350         * BufferView_pimpl.h:
7351         * BufferView_pimpl.C: update layout choice on a mouse
7352         press/release
7353
7354 2003-03-23  John Levon  <levon@movementarian.org>
7355
7356         * Makefile.am: fix commandtags.h reference
7357
7358 2003-03-22  John Levon  <levon@movementarian.org>
7359
7360         * BufferView_pimpl.C:
7361         * lyxtext.h:
7362         * rowpainter.C:
7363         * rowpainter.h:
7364         * text.C:
7365         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7366
7367 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7368
7369         * lyxtext.h:
7370         * text.C: take the rtl methods out of line
7371
7372 2003-03-21 André Pönitz <poenitz@gmx.net>
7373
7374         * metricsinfo.[Ch]: new files containing structures to be passed around
7375         during the two-phase-drawing...
7376
7377 2003-03-21 André Pönitz <poenitz@gmx.net>
7378
7379         * lyxtextclass.C: read 'environment' tag.
7380
7381 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7382
7383         * text2.C (removeRow): fix bug 964
7384
7385 2003-03-20  John Levon  <levon@movementarian.org>
7386
7387         * rowpainter.C:
7388         * text.C:
7389         * text2.C: paint cleanups. Inset::update() dropped font
7390         parameter
7391
7392 2003-03-19  John Levon  <levon@movementarian.org>
7393
7394         * lyxfunc.C: only fitcursor/markDirty if available()
7395
7396 2003-03-19  John Levon  <levon@movementarian.org>
7397
7398         * commandtags.h: rename to ...
7399
7400         * lfuns.h: ... this, and renumber / cleanup
7401
7402 2003-03-19  John Levon  <levon@movementarian.org>
7403
7404         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7405         fit the cursor after an lfun
7406
7407         * BufferView.h:
7408         * BufferView.C:
7409         * BufferView_pimpl.h:
7410         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7411
7412         * LyXAction.C: layout-character should have ReadOnly
7413
7414         * ParagraphParameters.C:
7415         * buffer.C:
7416         * bufferview_funcs.C:
7417         * lyx_cb.C:
7418         * lyxfind.C:
7419         * lyxtext.h:
7420         * text.C:
7421         * text2.C:
7422         * text3.C:
7423         * undo_funcs.C: changes from above
7424
7425 2003-03-18  John Levon  <levon@movementarian.org>
7426
7427         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7428         remove it from update()
7429
7430         * lyxfunc.C: update layout choice after an lfun
7431
7432         * text3.C: remove extra updateLayoutChoice()s
7433
7434 2003-03-18  John Levon  <levon@movementarian.org>
7435
7436         * text.C: top_y change means full repaint, fix
7437         a drawing bug with cursor movement
7438
7439 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7440
7441         * lyxtext.h:
7442         * text.C:
7443         * text2.C: anchor row on setCursor
7444
7445 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7446
7447         * lyxtext.h: remove almost all mutable keywords
7448         * text.C:
7449         * text2.C:
7450         * text3.C: remove const keywords accordingly
7451
7452 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7453
7454         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7455         anon namespace
7456         (TeXEnvironment): ditto
7457         (TeXOnePar): ditto
7458
7459 2003-03-17  John Levon  <levon@movementarian.org>
7460
7461         * text.C (rowBreakPoint): remove attempt to fix displayed
7462         math insets inside a manual label
7463
7464 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * lyxtext.h: remove BufferView* as first arg from almost all class
7467         functions.
7468         * other files: adjust.
7469
7470 2003-03-17  John Levon  <levon@movementarian.org>
7471
7472         * lyxtext.h:
7473         * undo_funcs.C:
7474         * text2.C: more paint cleanups
7475
7476         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7477
7478         * rowpainter.h:
7479         * rowpainter.C: remove "smart" background painting code
7480
7481 2003-03-16  John Levon  <levon@movementarian.org>
7482
7483         * lyxtext.h:
7484         * text.C:
7485         * text2.C:
7486         * text3.C: add helper functions for setting refresh_row/y
7487
7488 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7489
7490         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7491         newline inset which *can* get inserted in the pass_thru layouts.
7492         This is primarily for literate documents.
7493
7494 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7495
7496         * buffer.C: increment LYX_FORMAT to 223
7497
7498 2003-03-14 André Pönitz <poenitz@gmx.net>
7499
7500         * textclass.h: prepare for environment handling, ws changes
7501         * lyxlayout.C: read latexheader and latexfooter tags
7502
7503 2003-03-14  John Levon  <levon@movementarian.org>
7504
7505         * text2.C: rewrite ::status() a bit
7506
7507 2003-03-13  John Levon  <levon@movementarian.org>
7508
7509         * lyxtext.h: add some docs
7510
7511 2003-03-13  John Levon  <levon@movementarian.org>
7512
7513         * lyxtext.h:
7514         * text.C:
7515         * text2.C:
7516         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7517
7518 2003-03-13  John Levon  <levon@movementarian.org>
7519
7520         * text3.C: fix appendix redrawing
7521
7522 2003-03-13  John Levon  <levon@movementarian.org>
7523
7524         * text.C (setHeightOfRow):
7525         * rowpainter.h:
7526         * rowpainter.C: make appendix mark have the text
7527           "Appendix" so the user knows what it is
7528
7529         * LColor.h:
7530         * LColor.C: s/appendixline/appendix/ from above
7531
7532 2003-03-13  John Levon  <levon@movementarian.org>
7533
7534         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7535
7536         * text.C: fix a getChar(pos) bug properly
7537
7538 2003-03-13  Angus Leeming  <leeming@lyx.org>
7539
7540         * commandtags.h:
7541         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7542         Probably only temporary. Let's see how things pan out.
7543
7544         * BufferView.C (unlockInset):
7545         * BufferView_pimpl.C (fitCursor):
7546         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7547
7548         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7549         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7550
7551         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7552         new functions that convert ParagraphParameters to and from a string.
7553
7554         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7555         BufferView::Pimpl's dispatch.
7556         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7557
7558 2003-03-13 André Pönitz <poenitz@gmx.net>
7559
7560         * lyxfunc.C:
7561         * text3.C:
7562         * factory.C: make it aware of InsetEnv
7563
7564 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7565
7566         * text2.C (setCursor): never ask for one past last
7567         (setCursor): add some debugging messages.
7568
7569         * text.C (singleWidth): never ask for one past last
7570         (singleWidth): ditto
7571         (leftMargin): ditto
7572         (rightMargin): ditto
7573         (rowBreakPoint): ditto
7574         (setHeightOfRow): ditto
7575         (prepareToPrint): ditto
7576
7577         * rowpainter.C (paintBackground): never ask for one past last
7578         (paintText): never ask for one past last
7579
7580         * paragraph_pimpl.C (getChar): make the assert stricter, never
7581         allow the one past last pos to be taken
7582
7583         * paragraph.C (getChar): ws changes only
7584
7585         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7586         (numberOfSeparators): ditto
7587         (numberOfHfills): ditto
7588
7589 2003-03-12  John Levon  <levon@movementarian.org>
7590
7591         * author.h:
7592         * author.C:
7593         * bufferparams.h:
7594         * bufferparams.C:
7595         * paragraph_funcs.C: fix per-buffer authorlists
7596
7597 2003-03-12  John Levon  <levon@movementarian.org>
7598
7599         * text.C: fix newline in right address
7600
7601 2003-03-12  Angus Leeming  <leeming@lyx.org>
7602
7603         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7604         duplicate those in LyXFunc::dispatch.
7605
7606         * commandtags.h:
7607         * LyXAction.C:
7608         * ToolbarDefaults.C:
7609         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7610         Add LFUN_FONTFREE_UPDATE.
7611
7612         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7613         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7614
7615         * bufferview_func.[Ch]: several new functions to facilliate
7616         transfer of data to and from the character dialog.
7617
7618 2003-03-12  John Levon  <levon@movementarian.org>
7619
7620         * buffer.C:
7621         * paragraph.h:
7622         * paragraph.C:
7623         * paragraph_funcs.C:
7624         * paragraph_pimpl.C:
7625         * sgml.C:
7626         * tabular.C:
7627         * text.C:
7628         * text3.C: remove META_NEWLINE in favour of an inset
7629
7630         * rowpainter.h:
7631         * rowpainter.C: remove paintNewline (done by inset)
7632
7633 2003-03-12  John Levon  <levon@movementarian.org>
7634
7635         * paragraph_pimpl.C: complain about bad getChar()s
7636         for a while at least
7637
7638 2003-03-12  John Levon  <levon@movementarian.org>
7639
7640         * buffer.h:
7641         * buffer.C: move paragraph read into a separate function,
7642         a little renaming to reflect that.
7643
7644         * bufferparams.h:
7645         * bufferparams.C: remove the author_ids map, not necessary now
7646
7647         * factory.h:
7648         * factory.C: moved Buffer::readInset to here
7649
7650         * paragraph_funcs.h:
7651         * paragraph_funcs.C: readParagraph free function moved from
7652         buffer.C
7653
7654         * tabular.C: name change
7655
7656 2003-03-12  John Levon  <levon@movementarian.org>
7657
7658         * buffer.C:
7659         * ParagraphParameters.C: move par params input to
7660         a read() method
7661
7662         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7663         behave like a normal read from the stream wrt reading
7664         a line vs. a \\token
7665
7666 2003-03-12  John Levon  <levon@movementarian.org>
7667
7668         * paragraph.C:
7669         * ParagraphParameters.h:
7670         * ParagraphParameters.C: move output code to a
7671         ::write() method
7672
7673 2003-03-12  John Levon  <levon@movementarian.org>
7674
7675         * BufferView.C (insertLyXFile):
7676         * buffer.h:
7677         * buffer.C:
7678         * tabular.C: use a parlist iterator for creating the
7679           document.
7680
7681 2003-03-12  John Levon  <levon@movementarian.org>
7682
7683         * buffer.C: make current_change static local not
7684           static file-scope
7685
7686 2003-03-12  John Levon  <levon@movementarian.org>
7687
7688         * buffer.C: fix insertStringAsLines for change tracking
7689
7690 2003-03-12  John Levon  <levon@movementarian.org>
7691
7692         * BufferView.C:
7693         * tabular.C:
7694         * buffer.h:
7695         * buffer.C:
7696         * bufferparams.h:
7697         * bufferparams.C: move author list into params. Rename some
7698           functions. Move the header reading into a separate token
7699           loop. Move the header token reading into BufferParams.
7700
7701 2003-03-12  John Levon  <levon@movementarian.org>
7702
7703         * changes.C: put debug inside lyxerr.debugging() checks
7704
7705 2003-03-11 André Pönitz <poenitz@gmx.net>
7706
7707         * factory.C: make it aware of InsetHFill
7708
7709 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7710
7711         * buffer.C (latexParagraphs): move function from here...
7712         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7713         args.
7714
7715 2003-03-10  Angus Leeming  <leeming@lyx.org>
7716
7717         * LyXAction.C (init): fix bug in poplating array with multiple entries
7718         with the same LFUN (spotted by JMarc).
7719
7720 2003-03-10  John Levon  <levon@movementarian.org>
7721
7722         * text.C:
7723         * text2.C: move getColumnNearX() near its
7724         only call site
7725
7726 2003-03-10  John Levon  <levon@movementarian.org>
7727
7728         * text.C: fix break before a minipage
7729
7730 2003-03-10  John Levon  <levon@movementarian.org>
7731
7732         * text.C: fix the last commit
7733
7734 2003-03-09  John Levon  <levon@movementarian.org>
7735
7736         * lyxtext.h:
7737         * text.C:
7738         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7739         bug 365 (don't break before insets unless needed). Don't
7740         return a value > last under any circumstances.
7741
7742 2003-03-09  Angus Leeming  <leeming@lyx.org>
7743
7744         * BufferView_pimpl.C (trackChanges, dispatch): call
7745         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7746
7747 2003-03-09  Angus Leeming  <leeming@lyx.org>
7748
7749         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7750         than Dialogs::showAboutlyx().
7751
7752 2003-03-09  Angus Leeming  <leeming@lyx.org>
7753
7754         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7755         than Dialogs::showTabularCreate().
7756
7757 2003-03-09  John Levon  <levon@movementarian.org>
7758
7759         * lyxtext.h:
7760         * text.C:
7761         * text2.C: 3rd arg to nextBreakPoint was always the same.
7762           Use references.
7763
7764 2003-03-08  John Levon  <levon@movementarian.org>
7765
7766         * lyxrow.C:
7767         * paragraph.C:
7768         * paragraph.h:
7769         * rowpainter.C:
7770         * text.C:
7771         * text2.C: Remove the "main" bit from the "main body"
7772           notion.
7773
7774 2003-03-08  John Levon  <levon@movementarian.org>
7775
7776         * text.C (leftMargin): The left margin of an empty
7777         manual label paragraph should not include the label width
7778         string length.
7779
7780         * text.C (prepareToPrint): don't attempt to measure hfills
7781         for empty manual label paragraphs - the answer should be 0
7782
7783 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * CutAndPaste.C: remove commented code and reindent.
7786
7787 2003-03-08  John Levon  <levon@movementarian.org>
7788
7789         * lyxfunc.h:
7790         * lyxfunc.C: move reloadBuffer()
7791
7792         * BufferView.h:
7793         * BufferView.C: to here
7794
7795         * lyxvc.C: add comment
7796
7797         * vc-backend.h:
7798         * vc-backend.C: call bv->reload() to avoid
7799           getStatus() check on MENURELOAD
7800
7801 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7802
7803         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7804         to an old format .dep file.
7805
7806 2003-03-07  Angus Leeming  <leeming@lyx.org>
7807
7808         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7809         when the LFUN_MOUSE_RELEASE should have been handled by
7810         inset->localDispatch.
7811
7812 2003-03-07  Angus Leeming  <leeming@lyx.org>
7813
7814         * BufferView_pimpl.C (dispatch):
7815         * LyXAction.C (init):
7816         * ToolbarDefaults.C (init):
7817         * commandtags.h:
7818         * lyxfunc.C (getStatus):
7819         remove LFUN_INSET_GRAPHICS.
7820
7821         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7822
7823 2003-03-07  Angus Leeming  <leeming@lyx.org>
7824
7825         * commandtags.h:
7826         * LyXAction.C (init):
7827         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7828
7829         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7830
7831         * commandtags.h:
7832         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7833
7834         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7835         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7836
7837 2003-03-07  Angus Leeming  <leeming@lyx.org>
7838
7839         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7840         remove "ert".
7841
7842 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7843
7844         * ParagraphList.C (front): new function
7845         (back): implement
7846
7847 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7848
7849         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7850         and top_row_offset_. removed var first_y.
7851         * text.C (top_y):
7852         * text2.C (LyXText, removeRow):
7853         * text3.C:
7854         * BufferView_pimpl.C:
7855         use these methods instead of using first_y
7856
7857 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7858
7859         * text2.C (pasteSelection): adjust for checkPastePossible
7860
7861         * CutAndPaste.C: remove Paragraph * buf and replace with
7862         ParagraphList paragraphs.
7863         (DeleteBuffer): delete
7864         (cutSelection): change the tc type to textclass_type
7865         (copySelection): change the tc type to textclass_type
7866         (copySelection): adjust for ParagraphList
7867         (pasteSelection): change the tc type to textclass_type
7868         (pasteSelection): adjust for Paragraphlist
7869         (nrOfParagraphs): simplify for ParagraphList
7870         (checkPastePossible): simplify for ParagraphList
7871         (checkPastePossible): remove unused arg
7872
7873         * ParagraphList.C (insert): handle the case where there are no
7874         paragraphs yet.
7875
7876         * CutAndPaste.h: make CutAndPaste a namespace.
7877
7878         * text3.C (dispatch): adjust
7879
7880         * text.C (breakParagraph): add a ParagraphList as arg
7881
7882         * paragraph_funcs.C (breakParagraph): change to take a
7883         BufferParams and a ParagraphList as args.
7884         (breakParagraphConservative): ditto
7885         (mergeParagraph): ditto
7886         (TeXDeeper): add a ParagraphList arg
7887         (TeXEnvironment): ditto
7888         (TeXOnePar): ditto
7889
7890         * buffer.C (readLyXformat2): adjust
7891         (insertStringAsLines): adjust
7892         (latexParagraphs): adjust
7893
7894         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7895         (cutSelection): adjust
7896         (pasteSelection): adjust
7897
7898         * BufferView_pimpl.C (insertInset): adjust
7899
7900 2003-03-05  Angus Leeming  <leeming@lyx.org>
7901
7902         * commandtags.h:
7903         * LyXAction.C (init):
7904         * BufferView_pimpl.C (dispatch):
7905         * lyxfunc.C (getStatus):
7906         remove LFUN_CHILD_INSERT.
7907
7908         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7909
7910 2003-03-05  Angus Leeming  <leeming@lyx.org>
7911
7912         * commandtags.h:
7913         * LyXAction.C (init):
7914         * src/factory.C (createInset):
7915         * lyxfunc.C (getStatus):
7916         * text3.C (dispatch):
7917         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7918
7919         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7920
7921 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * ParagraphList.C (insert): handle insert right before end()
7924         (erase): fix cases where it can be first or last paragraph.
7925
7926 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7927
7928         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7929         Paragraph::next and Paragraph::previous
7930         (TeXOnePar): ditto
7931
7932         * text.C (breakParagraph): adjust
7933
7934         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7935         BufferParams& as arg.
7936         (breakParagraph): use ParagraphList::insert
7937         (breakParagraphConservative): take a Buffer* instead of a
7938         BufferParams& as arg.
7939         (breakParagraphConservative): use ParagraphList::insert.
7940
7941         * buffer.C (insertStringAsLines): un-const it
7942         (insertStringAsLines): adjust
7943
7944         * ParagraphList.C (insert): new function
7945
7946         * CutAndPaste.C (pasteSelection): adjust
7947
7948         * text.C (backspace): adjust
7949
7950         * tabular.C (SetMultiColumn): adjust
7951
7952         * CutAndPaste.C (cutSelection): adjust
7953         (pasteSelection): adjust
7954
7955         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7956         Buffer const * as arg
7957
7958         * ParagraphList.C (erase): new function
7959         * paragraph_funcs.C (mergeParagraph): use it
7960         (mergeParagraph): make it take a Buffer* instead of a
7961         BufferParams* as arg
7962
7963         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7964         as arg
7965         (breakParagraphConservative): ditto
7966
7967         * paragraph.h: remove the breakParagraph friend
7968
7969         * paragraph.C (eraseIntern): new function
7970         (setChange): new function
7971
7972         * paragraph_funcs.C (mergeParagraph): make it take a
7973         ParagraphList::iterator instead of a Paragraph *, adjust
7974         accordingly.
7975
7976         * paragraph.h: move an #endif so that the change tracking stuff
7977         also works in the NO_NEXT case.
7978
7979 2003-03-04  Angus Leeming  <leeming@lyx.org>
7980
7981         * commandtags.h:
7982         * LyXAction.C: new LFUN_INSET_MODIFY.
7983
7984         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7985         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7986
7987 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * several files: ws changes only
7990
7991         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7992         (TeXEnvironment): ditto
7993         (TeXDeeper): ditto
7994
7995         * buffer.C (makeLaTeXFile): adjust
7996         (latexParagraphs): make it take ParagraphList::iterator as args
7997
7998 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7999
8000         * buffer.C (latexParagraphs): adjust
8001
8002         * paragraph.C (TeXOnePar): move function...
8003         (optArgInset): move function...
8004         (TeXEnvironment): move function...
8005         * paragraph_pimpl.C (TeXDeeper): move function...
8006         * paragraph_funcs.C: ...here
8007
8008         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8009
8010 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8011
8012         * buffer.C (readInset): remove compability code for old Figure and
8013         InsetInfo insets
8014
8015 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * buffer.C: ws changes
8018         (readInset):
8019
8020         * BufferView_pimpl.C: ditto
8021         * author.C: ditto
8022         * buffer.h: ditto
8023         * bufferlist.h: ditto
8024         * changes.h: ditto
8025         * lyxfunc.C: ditto
8026
8027 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8028
8029         * converter.[Ch]: split into itself +
8030         * graph.[Ch]
8031         * format.[Ch]
8032         * Makefile.am: += graph.[Ch] + format.[Ch]
8033         * MenuBackend.C
8034         * buffer.C
8035         * exporter.C
8036         * importer.C
8037         * lyx_main.C
8038         * lyxfunc.C
8039         * lyxrc.C: added #include "format.h"
8040
8041 2003-02-27  Angus Leeming  <leeming@lyx.org>
8042
8043         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8044           a label.
8045
8046         * factory.C (createInset): add "label" to the factory.
8047
8048         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8049           string and do no more.
8050
8051 2003-02-27  Angus Leeming  <leeming@lyx.org>
8052
8053         * commandtags.h:
8054         * LyXAction.C (init):
8055         * factory.C (createInset):
8056         * BufferView_pimpl.C (dispatch):
8057           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8058
8059         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8060
8061         * lyxfunc.C (dispatch):
8062         * text3.C (dispatch): pass name to params2string.
8063
8064 2003-02-26  Angus Leeming  <leeming@lyx.org>
8065
8066         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8067           blocks together.
8068           Rearrange the ~includes. Strip out the unnecessary ones.
8069
8070         * factory.C (createInset): reformat.
8071           create new insets for the various LFUN_XYZ_APPLY lfuns.
8072
8073 2003-02-26  John Levon  <levon@movementarian.org>
8074
8075         * lyxrow.h:
8076         * lyxrow.C: add isParStart,isParEnd helpers
8077
8078         * paragraph.h: make isInserted/DeletedText take refs
8079
8080         * paragraph_funcs.h:
8081         * paragraph_funcs.C: remove #if 0'd code
8082
8083         * lyxtext.h:
8084         * text3.C:
8085         * text2.C:
8086         * text.C: use lyxrow helpers above.
8087           Move draw and paint routines to RowPainter.
8088           Make several methods use refs not pointers.
8089           Make backgroundColor() const.
8090           Add markChangeInDraw(), isInInset().
8091           Merge changeRegionCase into changeCase.
8092           Make workWidth() shouldn't-happen code into an Assert.
8093
8094         * rowpainter.h:
8095         * rowpainter.C: new class for painting a row.
8096
8097         * vspace.h:
8098         * vspace.C: make inPixels take a ref
8099
8100 2003-02-26  Angus Leeming  <leeming@lyx.org>
8101
8102         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8103         LFUN_REF_APPLY.
8104
8105 2003-02-25  John Levon  <levon@movementarian.org>
8106
8107         * ispell.C: give the forked command a more accurate name
8108
8109 2003-02-22  John Levon  <levon@movementarian.org>
8110
8111         * toc.h:
8112         * toc.C: make TocItem store an id not a Paragraph *
8113           (bug #913)
8114
8115 2003-02-21  Angus Leeming  <leeming@lyx.org>
8116
8117         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8118           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8119           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8120           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8121           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8122           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8123
8124         * BufferView_pimpl.C (dispatch):
8125         * LyXAction.C (init):
8126         * factory.C (createInset):
8127         * lyxfunc.C (getStatus, dispatch):
8128         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8129
8130 2003-02-21  Angus Leeming  <leeming@lyx.org>
8131
8132         * BufferView_pimpl.C (MenuInsertLyXFile):
8133         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8134         * lyxfunc.C (menuNew, open, doImport):
8135           no longer pass a LyXView & to fileDlg.
8136
8137 2003-02-21  Angus Leeming  <leeming@lyx.org>
8138
8139         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8140         * LyXAction.C: change, BIBKEY to BIBITEM.
8141         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8142         Change InsetBibKey to InsetBibitem.
8143         Change BIBKEY_CODE to BIBITEM_CODE.
8144         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8145         * factory.C: replace insetbib.h with insetbibitem.h.
8146         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8147         * paragraph.C: replace insetbib.h with insetbibitem.h.
8148         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8149         Change bibkey() to bibitem().
8150         * text.C: remove insetbib.h.
8151         * text2.C: replace insetbib.h with insetbibitem.h.
8152         change bibkey() to bibitem().
8153         * text3.C: remove insetbib.h.
8154         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8155
8156 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8157
8158         * lyxrc.C (output): enclose user email in quotes (in case there are
8159         several words)
8160
8161 2003-02-18  John Levon  <levon@movementarian.org>
8162
8163         * buffer.h: add std::
8164
8165 2003-02-17  John Levon  <levon@movementarian.org>
8166
8167         * SpellBase.h:
8168         * ispell.h:
8169         * ispell.C:
8170         * pspell.h:
8171         * pspell.C: reworking. Especially in ispell, a large
8172           number of clean ups and bug fixes.
8173
8174         * lyxfunc.C: fix revert to behave sensibly
8175
8176 2003-02-17 André Pönitz <poenitz@gmx.net>
8177
8178         * LyXAction.C:
8179         * commandtags.h: new LFUN_INSERT_BIBKEY
8180
8181         * layout.h:
8182         * lyxlayout.C:
8183         * buffer.C:
8184         * factory.C:
8185         * text.C:
8186         * text2.C:
8187         * text3.C:
8188         * paragraph.[Ch]:
8189         * paragraph_func.C: remove special bibkey handling
8190
8191 2003-02-17  John Levon  <levon@movementarian.org>
8192
8193         * text.C (Delete): fix case where delete at the end of
8194           the very first paragraph would not merge the pars
8195
8196 2003-02-17  John Levon  <levon@movementarian.org>
8197
8198         * lyxrow.C: fix lastPrintablePos()
8199
8200 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * bufferparams.C (writeLaTeX): add a std:here
8203
8204         * buffer.C: and remove a using directive there
8205
8206 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8207
8208         * buffer.C (makeLaTeXFile): move the code that generates the
8209           preamble...
8210
8211         * bufferparams.C (writeLaTeX): ... in this new method
8212
8213         * LaTeXFeatures.C (getEncodingSet): make const
8214           (getLanguages): make const
8215
8216         * MenuBackend.C (binding): returns the binding associated to this
8217           action
8218           (add): sets the status of each item by calling getStatus. Adds
8219           some intelligence.
8220           (read): add support for OptSubMenu
8221           (expand): remove extra separator at the end of expanded menu
8222
8223 2003-02-15  John Levon  <levon@movementarian.org>
8224
8225         * BufferView.C:
8226         * BufferView_pimpl.C:
8227         * bufferlist.h:
8228         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8229           inset code that had no actual effect. Remove unneeded status
8230           code.
8231
8232 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8233
8234         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8235           in preamble
8236
8237 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8238
8239         * text.C (drawLengthMarker): also draw an arrow marker for
8240           symbolic lengths (medskip...)
8241
8242 2003-02-14  John Levon  <levon@movementarian.org>
8243
8244         * tabular.h:
8245         * tabular.C: better method names
8246
8247 2003-02-14  John Levon  <levon@movementarian.org>
8248
8249         * BufferView_pimpl.C:
8250         * bufferlist.C:
8251         * buffer.C:
8252         * converter.C:
8253         * lyx_cb.C:
8254         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8255           it's a more accurate name. Remove some pointless uses.
8256
8257 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8258
8259         * text2.C (LyXText): change order of initilizers to shut off
8260           warnings
8261
8262 2003-02-14  John Levon  <levon@movementarian.org>
8263
8264         * buffer.C: use ParIterator for getParFromID()
8265
8266         * paragraph.h:
8267         * paragraph.C:
8268         * paragraph_pimpl.h:
8269         * paragraph_pimpl.C: remove unused getParFromID()
8270
8271 2003-02-14  John Levon  <levon@movementarian.org>
8272
8273         * buffer.C: remove some very old #if 0'd parse code
8274
8275 2003-02-13  John Levon  <levon@movementarian.org>
8276
8277         * text.h:
8278         * text.C:
8279         * text2.C: move hfillExpansion(), numberOfSeparators(),
8280           rowLast(), rowLastPrintable(), numberofHfills(),
8281           numberOfLabelHfills() ...
8282
8283         * lyxrow.h:
8284         * lyxrow.C: ... to member functions here.
8285
8286         * paragraph.h:
8287         * paragraph.C:
8288         * lyxtext.h:
8289         * text.C: remove LyXText::beginningOfMainBody(), and call
8290           p->beginningOfMainBody() directly. Move the check for
8291           LABEL_MANUAL into the latter.
8292
8293         * text.h:
8294         * text.C:
8295         * text2.C:
8296         * vspace.C:
8297         * BufferView.h:
8298         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8299
8300         * text.h:
8301         * text.C:
8302         * text2.C:
8303         * text3.C:
8304         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8305           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8306
8307 2003-02-13  John Levon  <levon@movementarian.org>
8308
8309         * CutAndPaste.C: remove debug
8310
8311 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8312
8313         * paragraph.C (asString): remove two unused variables
8314
8315         * lyxtextclass.C (readTitleType):
8316           (Read):
8317           (LyXTextClass): handle new members titletype_ and titlename_
8318
8319         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8320
8321 2003-02-09  John Levon  <levon@movementarian.org>
8322
8323         * buffer.h:
8324         * buffer.C: replace hand-coded list with a map for the dep clean
8325
8326 2003-02-08  John Levon  <levon@movementarian.org>
8327
8328         * LaTeX.C: consolidate code into showRunMessage() helper
8329
8330 2003-02-08  John Levon  <levon@movementarian.org>
8331
8332         * lyxfind.C:
8333         * lyxtext.h:
8334         * text2.C:
8335         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8336           and pass the size in explicitly
8337
8338         * BufferView_pimpl.h:
8339         * BufferView_pimpl.C:
8340         * BufferView.h:
8341         * BufferView.C: add getCurrentChange()
8342
8343         * BufferView_pimpl.h:
8344         * BufferView_pimpl.C: handle change lfuns
8345
8346         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8347           for changes. Mark pasted paragraphs as new.
8348
8349         * support/lyxtime.h:
8350         * support/lyxtime.C:
8351         * DepTable.C: abstract time_t as lyx::time_type
8352
8353         * LColor.h:
8354         * LColor.C: add colours for new text, deleted text, changebars
8355
8356         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8357           package use "usenames" option.
8358
8359         * commandtags.h:
8360         * lyxfunc.C:
8361         * LyXAction.C: add change lfuns
8362
8363         * Makefile.am:
8364         * author.h:
8365         * author.C: author handling
8366
8367         * buffer.h:
8368         * buffer.C: add a per-buffer author list, with first entry as
8369           current author. Handle new .lyx tokens for change tracking. Output
8370           author list to .lyx file. Output dvipost stuff to .tex preamble.
8371           Bump lyx format to 222.
8372
8373         * bufferlist.h:
8374         * bufferlist.C: add setCurrentAuthor() to reset current author details
8375           in all buffers.
8376
8377         * bufferparams.h:
8378         * bufferparams.C: add param for tracking
8379
8380         * bufferview_funcs.C: output change info in minibuffer
8381
8382         * Makefile.am:
8383         * changes.h:
8384         * changes.C: add change-tracking structure
8385
8386         * debug.h:
8387         * debug.C: add CHANGES debug flag
8388
8389         * lyxfind.h:
8390         * lyxfind.C: add code for finding the next change piece
8391
8392         * lyxrc.h:
8393         * lyxrc.C: add user_name and user_email
8394
8395         * lyxrow.h:
8396         * lyxrow.C: add a metric for the top of the text line
8397
8398         * lyxtext.h:
8399         * text.C: implement accept/rejectChange()
8400
8401         * lyxtext.h:
8402         * text.C: paint changebars. Paint new/deleted text in the chosen
8403         colours. Strike through deleted text.
8404
8405         * paragraph.h:
8406         * paragraph.C:
8407         * paragraph_pimpl.h:
8408         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8409           in the current change to the insert functions. Rework erase to
8410           mark text as deleted, adding an eraseIntern() and a range-based
8411           erase(). Implement per-paragraph change lookup and
8412           accept/reject.
8413
8414         * paragraph_funcs.C: Fixup paste for change tracking.
8415
8416         * tabular.C: mark added row/columns as new.
8417
8418         * text.C: fix rowLast() to never return -1. Don't allow
8419           spellchecking of deleted text. Track transpose changes. Don't
8420           allow paragraph break or merge where appropriate.
8421
8422         * text2.C: leave cursor at end of selection after a cut.
8423
8424 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8425
8426         * text.C (getLengthMarkerHeight):
8427         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8428         visible on screen too.
8429
8430 2003-02-07  John Levon  <levon@movementarian.org>
8431
8432         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8433
8434 2003-02-05  Angus Leeming  <leeming@lyx.org>
8435
8436         * lyxserver.C (read_ready): revert my patch of 11 September last year
8437         as it sends PC cpu through the roof. Presumably this means that
8438         the lyxserver will no longer run on an Alpha...
8439
8440 2003-01-30  Angus Leeming  <leeming@lyx.org>
8441
8442         * factory.C (createInset): create an InsetCommandParam of type "index"
8443         and use it to 'do the right thing'.
8444
8445         * text2.C (getStringToIndex): ensure that cursor position is always
8446         reset to the reset_cursor position.
8447
8448 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8449
8450         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8451         disabled.
8452
8453 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8454
8455         * bufferview.C:
8456         * lyxcb.C:
8457         * lyxfunc.C: Output messages with identical spelling, punctuation,
8458         and spaces
8459
8460 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8461
8462         * MenuBackend.C (expandFormats): List only viewable export formats
8463         in "View" menu
8464
8465         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8466         message
8467
8468         * lyxfunc.C (getStatus): Make sure that formats other than
8469         "fax" can also be disabled
8470
8471 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8472
8473         * text3.C (dispatch): put the lfuns that insert insets in 3
8474         groups, and call doInsertInset with appropriate arguments.
8475         (doInsertInset): new function, that creates an inset and inserts
8476         it according to some boolean parameters.
8477
8478 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * buffer.C (readFile): remember to pass on 'par' when calling
8481         readFile recursively.
8482
8483 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8484
8485         * MenuBackend.C (expandFormats): add "..." to import formats.
8486
8487 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8488
8489         * paragraph.C (asString): Remove XForms RTL hacks.
8490
8491 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8492         * buffer.C: fix typo
8493
8494 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8495
8496         * Makefile.am (LIBS): delete var
8497         (lyx_LDADD): add @LIBS@ here instead.
8498
8499 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8500
8501         * Clarify the meaning of "wheel mouse jump"
8502
8503 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8504
8505         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8506         tabular in a float
8507
8508 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8509
8510         * importer.C (Loaders): do not preallocate 3 elements in the
8511         vector, since one ends up with 6 elements otherwise
8512
8513 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8514
8515         * DepTable.C (write): write the file name as last element of the
8516         .dep file (because it may contain spaces)
8517         (read): read info in the right order
8518
8519 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8520
8521         * paragraph_pimpl.C (simpleTeXBlanks):
8522         (simpleTeXSpecialChars):
8523         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8524
8525         * tabular.C (latex): add some missing case statements. Reindent.
8526
8527         * MenuBackend.C (expandToc): remove unused variable.
8528
8529 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8530
8531         * LColor.C:
8532         * LaTeX.C:
8533         * LyXAction.C:
8534         * MenuBackend.C:
8535         * buffer.C:
8536         * exporter.C:
8537         * lyxfunc.C:
8538         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8539         and the like.
8540
8541 2003-01-05  John Levon  <levon@movementarian.org>
8542
8543         * BufferView.h:
8544         * BufferView.C: add getEncoding()
8545
8546         * kbsequence.h:
8547         * kbsequence.C: do not store last keypress
8548
8549         * lyxfunc.h:
8550         * lyxfunc.C: store last keypress here instead. Pass encoding
8551           to getISOEncoded()
8552
8553 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8554
8555         * lyx_main.C (init): remove annoying error message when following
8556         symbolic links (bug #780)
8557
8558 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8559
8560         * text.C (insertChar):
8561         * lyxrc.C (getDescription): remove extra spaces
8562
8563 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8564
8565         * lyxrc.C (getDescription): remove extra spaces
8566
8567 2002-12-20  John Levon  <levon@movementarian.org>
8568
8569         * text3.C: hack fix for page up/down across tall rows
8570
8571 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8572
8573         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8574         not been invoked
8575
8576 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8577
8578         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8579         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8580         thesaurus is not compiled in
8581
8582 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8583
8584         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8585
8586 2002-12-16  Angus Leeming  <leeming@lyx.org>
8587
8588         * lyxrc.[Ch]:
8589         * lyx_main.C (init): remove override_x_deadkeys stuff.
8590
8591 2002-12-12  John Levon  <levon@movementarian.org>
8592
8593         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8594           insert. Only remove shift modifier under strict
8595           circumstances.
8596
8597 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * MenuBackend.C (expandToc): fix crash.
8600
8601 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * MenuBackend.C (expandToc): gettext on float names.
8604
8605 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8606
8607         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8608         implement bool empty() [bug 490]
8609
8610 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8611
8612         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8613
8614 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * several files: ws changes
8617
8618 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * text2.C (setCounter): clean up a bit, use boost.format.
8621         (updateCounters): initialize par upon declaration.
8622
8623         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8624         if the layout exists. We do not just store the layout any more.
8625         (SwitchLayoutsBetweenClasses): use boost.format
8626
8627 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8628
8629         * converter.C (convert): if from and to files are the same, use a
8630         temporary files as intermediary
8631
8632 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8633
8634         * commandtags.h:
8635         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8636
8637 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8638
8639         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8640
8641 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8642
8643         * tabular.C (asciiPrintCell): use string(size, char) instead of
8644         explicit loop.
8645
8646         * sgml.C (openTag): fix order of arguments to string constructor
8647         (closeTag): ditto
8648
8649         * lyxfunc.C (dispatch): use boost.format
8650
8651         * lots of files: change "c" -> 'c'
8652
8653 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8654
8655         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8656
8657 2002-11-25  Angus Leeming  <leeming@lyx.org>
8658
8659         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8660
8661         * lyx_main.C (init): compile fix.
8662
8663 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * lyx_cb.C (start): boost.formatify
8666         do not include <iostream>
8667
8668         * lengthcommon.C: ws only
8669
8670         * boost-inst.C,BoostFormat.h: add more explict instantations
8671
8672 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8673
8674         * lots of files: handle USE_BOOST_FORMAT
8675
8676 2002-11-21  John Levon  <levon@movementarian.org>
8677
8678         * pspell.C: fix compile
8679
8680 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8681
8682         * lyxfunc.C (dispatch): use boost::format
8683         (open): ditto
8684         (doImport): ditto
8685
8686         * lyxfont.C (stateText): use boost::format
8687
8688         * lyx_main.C (LyX): use boost::format
8689         (init): ditto
8690         (queryUserLyXDir): ditto
8691         (readRcFile): ditto
8692         (parse_dbg): ditto
8693         (typedef boost::function): use the recommened syntax.
8694
8695         * importer.C (Import): use boost::format
8696
8697         * debug.C (showLevel): use boost::format
8698
8699         * converter.C (view): use boost::format
8700         (convert): ditto
8701         (move): ditto
8702         (scanLog): ditto
8703
8704         * bufferview_funcs.C (currentState): use boost::format
8705
8706         * bufferlist.C (emergencyWrite): use boost::format
8707
8708         * buffer.C (readLyXformat2): use boost::format
8709         (parseSingleLyXformat2Token): ditto
8710
8711         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8712
8713         * LaTeX.C (run): use boost::format
8714
8715         * Chktex.C (scanLogFile): use boost::format
8716
8717         * BufferView_pimpl.C (savePosition): use boost::format
8718         (restorePosition): ditto
8719         (MenuInsertLyXFile): ditto
8720
8721         * BoostFormat.h: help file for explicit instation.
8722
8723 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8724
8725         * tabular.C (latex): Support for block alignment in fixed width
8726         columns.
8727
8728 2002-11-17  John Levon  <levon@movementarian.org>
8729
8730         * BufferView_pimpl.C:
8731         * lyx_cb.C:
8732         * lyxfunc.C: split filedialog into open/save
8733
8734 2002-11-08  Juergen Vigna  <jug@sad.it>
8735
8736         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8737         by my last patch (hopefully).
8738
8739 2002-11-08  John Levon  <levon@movementarian.org>
8740
8741         * iterators.h:
8742         * iterators.C:
8743         * buffer.h:
8744         * buffer.C:
8745         * paragraph.h:
8746         * paragraph.C:
8747         * toc.h:
8748         * toc.C: ParConstIterator, and use it (from Lars)
8749
8750 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8751
8752         * lyxtextclass.[Ch]: revise and add doxygen comments
8753
8754 2002-11-07  John Levon  <levon@movementarian.org>
8755
8756         * text.C: fix progress value for spellchecker
8757
8758         * toc.C: fix navigate menu for insetwrap inside minipage
8759
8760         * paragraph_funcs.C: added FIXME for suspect code
8761
8762 2002-11-07  John Levon  <levon@movementarian.org>
8763
8764         * BufferView_pimpl.C: fix redrawing of insets
8765           on buffer switch
8766
8767 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8768
8769         * text2.C (updateCounters): fix bug 668
8770
8771 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8772
8773         * text3.C (dispatch): Do not make the buffer dirty when moving the
8774         cursor.
8775
8776 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8777
8778         * vc-backend.C: STRCONV
8779         (scanMaster): ditto
8780
8781         * text2.C (setCounter): STRCONV
8782
8783         * paragraph.C (asString): STRCONV
8784
8785         * lyxlength.C (asString): STRCONV
8786         (asLatexString): ditto
8787
8788         * lyxgluelength.C (asString): STRCONV
8789         (asLatexString): ditto
8790
8791         * lyxfunc.C (dispatch): STRCONV
8792         (open): ditto
8793
8794         * lyxfont.C (stateText): STRCONV
8795
8796         * importer.C (Import): STRCONV
8797
8798         * counters.C (labelItem): STRCONV
8799         (numberLabel): ditto
8800         (numberLabel): remove unused ostringstream o
8801
8802         * chset.C: STRCONV
8803         (loadFile): ditto
8804
8805         * bufferview_funcs.C (currentState): STRCONV
8806
8807         * buffer.C (readFile): STRCONV
8808         (asciiParagraph): ditto
8809         (makeLaTeXFile): ditto
8810
8811         * Spacing.C (writeEnvirBegin): STRCONV
8812
8813         * LaTeXFeatures.C (getLanguages): STRCONV
8814         (getPackages): ditto
8815         (getMacros): ditto
8816         (getBabelOptions): ditto
8817         (getTClassPreamble): ditto
8818         (getLyXSGMLEntities): ditto
8819         (getIncludedFiles): ditto
8820
8821         * LaTeX.C: STRCONV
8822         (run): ditto
8823         (scanAuxFile): ditto
8824         (deplog): ditto
8825
8826         * LString.h: add the STRCONV macros
8827
8828         * BufferView_pimpl.C (savePosition): STRCONV
8829         (restorePosition): ditto
8830         (MenuInsertLyXFile): ditto
8831
8832         * vc-backend.C (scanMaster): change from submatch[...] to
8833         submatch.str(...)
8834
8835         * funcrequest.C: include config.h
8836
8837         * factory.C: include config.h
8838
8839         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8840
8841         * box.C: include config.h
8842
8843         * LaTeX.C (scanAuxFile): change from submatch[...] to
8844         submatch.str(...)
8845         (deplog): ditto
8846
8847 2002-10-25  Angus Leeming  <leeming@lyx.org>
8848
8849         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8850
8851         * ispell.[Ch] (setError): new method.
8852         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8853         Use setError() insetead of goto END.
8854
8855         * lyx_cb.C (AutoSave): move out child process into new class
8856         AutoSaveBuffer.
8857
8858 2002-10-30  John Levon  <levon@movementarian.org>
8859
8860         * text3.C: make start appendix undoable
8861
8862 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8863
8864         * lyxlength.C (inPixels): Fix returned value.
8865
8866         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8867         environment.
8868
8869 2002-10-24  Angus Leeming  <leeming@lyx.org>
8870
8871         * lyxgluelength.h: no need to forward declare BufferParams
8872         or BufferView, so don't.
8873
8874 2002-10-21  John Levon  <levon@movementarian.org>
8875
8876         * BufferView.C: menuUndo ->undo, redo
8877
8878         * BufferView.h: document, remove dead, make some methods private
8879
8880         * paragraph_funcs.h:
8881         * paragraph_funcs.C:
8882         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8883
8884         * buffer.h:
8885         * buffer.C:
8886         * sgml.h:
8887         * sgml.C: move sgml open/close tag into sgml.C
8888
8889         * bufferview_funcs.h: unused prototype
8890
8891         * lyxfunc.h:
8892         * lyxfunc.C: remove unused
8893
8894         * lyxtext.h:
8895         * text.C: remove unused
8896
8897 2002-10-21  John Levon  <levon@movementarian.org>
8898
8899         * BufferView.h:
8900         * BufferView.C:
8901         * BufferView_pimpl.h:
8902         * BufferView_pimpl.C: fix mouse wheel handling based on
8903           patch from Darren Freeman
8904
8905 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8906
8907         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8908
8909 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8910
8911         * lyxlength.C (inPixels): Fix hanfling of negative length.
8912         Fix LyXLength::MU case.
8913
8914 2002-10-16  John Levon  <levon@movementarian.org>
8915
8916         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8917
8918 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8919
8920         * converter.C (view): add support for $$i (file name) and $$p
8921         (file path) for the viewer command. If $$i is not specified, then
8922         it is appended to the command (for compatibility with old syntax)
8923
8924 2002-10-14  Juergen Vigna  <jug@sad.it>
8925
8926         * undo_funcs.C (textHandleUndo): alter the order in which the
8927         new undopar is added to the LyXText, as we have to set first
8928         the right prev/next and then add it as otherwise the rebuild of
8929         LyXText is not correct. Also reset the cursor to the right paragraph,
8930         with this IMO we could remove the hack in "redoParagraphs()".
8931
8932 2002-10-09  Angus Leeming  <leeming@lyx.org>
8933
8934         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8935         to turn off an optimisation if a new inset is to be inserted.
8936
8937 2002-10-11 André Pönitz <poenitz@gmx.net>
8938
8939         * lyxtext.h: make some functions public to allow access
8940         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8941
8942 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8943
8944         * text3.C (dispatch): when changing layout, avoid an infinite loop
8945         [bug #652]
8946
8947 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8948
8949         * lyxrc.C (read): treat a viewer or converter command of "none" as
8950         if it were empty.
8951
8952         * MenuBackend.C (expandFormats): for an update, also allow the
8953         formats that are not viewable
8954
8955         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8956         script if it is newer than the lyxrc.defaults in user directory
8957
8958 2002-10-07 André Pönitz <poenitz@gmx.net>
8959
8960         * text.C: Vitaly Lipatov's small i18n fix
8961
8962 2002-09-25  Angus Leeming  <leeming@lyx.org>
8963
8964         * ispell.h: doxygen fix.
8965
8966 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8967
8968         * buffer.h (readFile): Add a new argument to the method, to allow
8969         reading of old-format templates.
8970
8971 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8972
8973         * toc.C (getTocList): Get TOC from InsetWrap.
8974
8975 2002-09-16  John Levon  <levon@movementarian.org>
8976
8977         * lyxfunc.C: check tabular for cut/copy too
8978
8979 2002-09-12  John Levon  <levon@movementarian.org>
8980
8981         * LyXAction.C: tidy
8982
8983         * factory.h:
8984         * factory.C: add header
8985
8986         * paragraph_funcs.h:
8987         * paragraph_funcs.C: cleanup
8988
8989 2002-09-11  John Levon  <levon@movementarian.org>
8990
8991         * PrinterParams.h: odd/even default to true
8992
8993 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8994
8995         * PrinterParams.h: update printer parameters for new xforms dialog
8996
8997 2002-09-11  Angus Leeming  <leeming@lyx.org>
8998
8999         * lyxserver.C (read_ready): re-write to make it more transparent
9000         and to make it work in coherent fashion under Tru64 Unix.
9001
9002 2002-09-11  André Pönitz <poenitz@gmx.net>
9003
9004         * commandtags.h:
9005         * LyXAction.C:
9006         * text3.C: implement LFUN_WORDSEL
9007
9008 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9009
9010         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9011         make floatlist_ a boost::shared_ptr<FloatList>
9012
9013         * lyxtextclass.C: include FloatList.h
9014         (LyXTextClass): initialize floatlist_
9015         (TextClassTags): add TC_NOFLOAT
9016         (Read): match "nofloat" to TC_NOFLOAT and use it.
9017         (readFloat): modify call to floatlist_
9018         (floats): ditto
9019         (floats): ditto
9020
9021         * FloatList.[Ch] (FloatList): remove commented out float
9022         initialization.
9023         (erase): new function
9024
9025 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9026
9027         * MenuBackend.C (expandToc): fix crash when there is no document
9028         open
9029
9030 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9031
9032         * many files: Add insetwrap.
9033
9034 2002-09-09  John Levon  <levon@movementarian.org>
9035
9036         * text2.C: remove confusing and awkward depth wraparound
9037
9038 2002-09-09  John Levon  <levon@movementarian.org>
9039
9040         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9041
9042         * buffer.h:
9043         * buffer.C: remove getIncludeonlyList()
9044
9045         * paragraph.C:
9046         * lyxfunc.C: remove headers
9047
9048 2002-09-09  Juergen Vigna  <jug@sad.it>
9049
9050         * text.C (getColumnNearX): fix form Michael this is most
9051         probably a cut&paste bug.
9052
9053 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9056
9057         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9058         references, ws changes.
9059
9060         * text2.C (init): update counters after init
9061         (insertParagraph): no need to set counter on idividual paragraphs.
9062         (setCounter): access the counters object in the textclass object
9063         on in the buffer object.
9064         (updateCounters): ditto
9065
9066         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9067         shared_ptr<Counters> to avoid loading counters.h in all
9068         compilation units.
9069         (LyXTextClass): initialize ctrs_
9070         (TextClassTags): add TC_COUNTER, and ...
9071         (Read): use it here.
9072         (CounterTags): new tags
9073         (readCounter): new function
9074         (counters): new funtion
9075         (defaultLayoutName): return a const reference
9076
9077         * counters.C (Counters): remove contructor
9078         (newCounter): remove a couple of unneeded statements.
9079         (newCounter): simplify a bit.
9080         (numberLabel): some small formatting changes.
9081
9082         * buffer.[Ch]: remove all traces of counters, move the Counters
9083         object to the LyXTextClass.
9084
9085 2002-09-06  Alain Castera  <castera@in2p3.fr>
9086
9087         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9088         package to set the horizontal alignment on fixed width columns.
9089
9090         * lyx_sty.C:
9091         * lyx_sty.h: added tabularnewline macro def.
9092
9093         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9094
9095 2002-09-06  John Levon  <levon@movementarian.org>
9096
9097         * LyXAction.C: tooltips for sub/superscript
9098
9099         * MenuBackend.C: a bit more verbose
9100
9101         * lyxfunc.C: tiny clean
9102
9103         * undo_funcs.C: document undo_frozen
9104
9105 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * counters.C (Counters): add missing algorithm counter.
9108
9109         * text2.C (setCounter): lookup the counter with layouts latexname
9110         instead of by section number.
9111         (setCounter): use a hackish way to lookup the correct enum
9112         counter.
9113         a float name->type change
9114         reset enum couners with counter name directly instead of depth value.
9115
9116         * counters.C (Counters): remove the push_backs, change to use the
9117         float type not the float name.
9118         (labelItem): remove unused string, float name->type change
9119
9120         * counters.h: don't include vector, loose the enums and sects vectors
9121
9122 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9123
9124         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9125         (Read): add float->TC_FLOAT to textclassTags
9126         (Read): and handle it in the switch
9127         (readFloat): new function
9128
9129         * FloatList.C (FloatList): comment out the hardcoded float
9130         definitions.
9131
9132         * lyxlayout.h: ws change.
9133
9134 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9135
9136         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9137
9138 2002-09-03  Angus Leeming  <leeming@lyx.org>
9139
9140         * BufferView_pimpl.h: qualified name is not allowed in member
9141         declaration: WorkArea & Pimpl::workarea() const;
9142
9143         * factory.C: added using std::endl directive.
9144
9145         * text3.C: added using std::find and std::vector directives.
9146
9147 2002-08-29  André Pönitz <poenitz@gmx.net>
9148
9149         * lyxtext.h:
9150         * text2.C: remove unused member number_of_rows
9151
9152         * Makefile.am:
9153         * BufferView2.C: remove file, move contents to...
9154         * BufferView.C: ... here
9155
9156         * BufferView_pimpl.C:
9157         * factory.C: move more inset creation to factory
9158
9159         * vspace.C: avoid direct usage of LyXText, ws changes
9160
9161         * BufferView.[Ch]:
9162                 don't provide direct access to WorkArea, use two simple
9163                 acessors haveSelction() and workHeight() instead
9164
9165
9166 2002-08-29  John Levon  <levon@movementarian.org>
9167
9168         * BufferView_pimpl.C (dispatch): do not continue when
9169           no buffer
9170
9171 2002-08-28  André Pönitz <poenitz@gmx.net>
9172
9173         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9174
9175         * BufferView.h:
9176         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9177
9178 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9179
9180         * buffer.C: increment LYX_FORMAT to 221
9181
9182         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9183         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9184
9185         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9186
9187         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9188
9189 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9190
9191         * factory.C (createInset): use LyXTextClass::floats
9192
9193         * MenuBackend.C (expandFloatListInsert):
9194         (expandFloatInsert):
9195         (expandToc):
9196
9197         * text2.C (setCounter):
9198
9199         * LaTeXFeatures.C (useFloat):
9200         (getFloatDefinitions):
9201
9202         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9203
9204         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9205         floatlist_, with accessor floats().
9206
9207         * FloatList.h: remove global FloatList
9208
9209 2002-08-26  André Pönitz <poenitz@gmx.net>
9210
9211         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9212
9213         * BufferView.h:
9214         * BufferView2.C:
9215         * BufferView_pimpl.C:
9216         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9217
9218 2002-08-25  John Levon  <levon@movementarian.org>
9219
9220         * LyXAction.C: fix margin note description
9221
9222 2002-08-24  John Levon  <levon@movementarian.org>
9223
9224         * buffer.C:
9225         * bufferlist.C:
9226         * bufferview_funcs.C:
9227         * lyxfont.C:
9228         * undo_funcs.C: cleanups
9229
9230         * lyxfunc.C: disable CUT/COPY when no selection
9231
9232 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9233
9234         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9235         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9236
9237         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9238         Add backward compatibility to "mono", "gray" and "no".
9239
9240 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9241
9242         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9243         (and file_format >= 200).
9244
9245 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9246
9247         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9248
9249 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9252
9253 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9254
9255         * BufferView_pimpl.C:
9256         * LyXAction.C:
9257         * buffer.C:
9258         * commandtags.h:
9259         * lyxfunc.C:
9260         * paragraph.[Ch]:
9261         * text2.C:
9262         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9263         inset and code to make it  work with the paragraph code. The inset
9264         can be anywhere in the paragraph, but will only do the expected
9265         thing in LaTeX if the layout file contains the parameter line
9266                         OptionalArgs    1
9267         (or more generally, a nonzero value) for that layout.
9268
9269 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9270
9271         * paragraph.h: remove the declaration of undefined counters class
9272         function.
9273
9274 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9275
9276         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9277         Dr. Richard Hawkins.
9278
9279 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9280
9281         * paragraph_funcs.h: remove some unneeded includes
9282
9283         * text.C (backspace): pasteParagraph now in global scipe
9284
9285         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9286         (pasteSelection): ditto
9287
9288         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9289         * paragraph_funcs.C (pasteParagraph): ... here
9290
9291 2002-08-20  André Pönitz <poenitz@gmx.net>
9292
9293         * commandtags.h: new LFUNs for swapping/copying table row/colums
9294
9295         * LyXAction.C:
9296         * lyxfunc.C: support for new lfuns
9297
9298 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9299
9300         * tabular.C:
9301         * buffer.[Ch]: remove NO_COMPABILITY stuff
9302
9303 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9304
9305         * boost.C (throw_exception): new file, with helper function for
9306         boost compiled without exceptions.
9307
9308         * paragraph.h:
9309         * lyxlength.C:
9310         * buffer.C:
9311         * ParameterStruct.h:
9312         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9313
9314         * bufferlist.C (emergencyWriteAll): use boost bind
9315
9316         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9317
9318         * text.C: include paragraph_funcs.h
9319         (breakParagraph): breakParagraph is now in global scope
9320
9321         * paragraph_funcs.[Ch]: new files
9322
9323         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9324         global scope
9325
9326         * buffer.C: include paragraph_funcs.h
9327         (insertStringAsLines): breakParagraph is now in global scope
9328
9329         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9330         paragraph_funcs.C
9331
9332         * CutAndPaste.C: include paragraph_funcs.h
9333         (cutSelection): breakParagraphConservative is now in global scope
9334         (pasteSelection): ditto
9335
9336         * buffer.h: declare oprator== and operator!= for
9337         Buffer::inset_iterator
9338
9339         * bufferlist.C (emergencyWrite): don't use fmt(...)
9340
9341         * text3.C: add using std::endl
9342
9343         * BufferView.C (moveCursorUpdate): remove default arg
9344
9345 2002-08-20  André Pönitz <poenitz@gmx.net>
9346
9347         * buffer.[Ch]: move inline functions to .C
9348
9349         * BufferView2.C:
9350         * BufferView_pimpl.C:
9351         * text.C:
9352         * buffer.[Ch]: use improved inset_iterator
9353
9354         * buffer.C:
9355         * paragraph.[Ch]: write one paragraph at a time
9356
9357 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9358
9359         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9360         style if style is not specified.
9361
9362 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9363
9364         * text2.C (setCounter): when searching for right label for a
9365         caption, make sure to recurse to parent insets (so that a caption
9366         in a minipage in a figure float works) (bug #568)
9367
9368 2002-08-20  André Pönitz <poenitz@gmx.net>
9369
9370         * text3.C: new file for LyXText::dispatch() and helpers
9371
9372         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9373
9374         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9375
9376 2002-08-19  André Pönitz <poenitz@gmx.net>
9377
9378         * lyxtext.h:
9379         * text.C: new LyXText::dispatch()
9380
9381         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9382
9383 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9384
9385         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9386
9387         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9388         Hebrew text.
9389
9390 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9391
9392         * Makefile.am: use $(variables) instead of @substitutions@
9393
9394 2002-08-15  André Pönitz <poenitz@gmx.net>
9395
9396         * lyxfunc.C:
9397         * BufferView_pimpl.C: streamlining mathed <-> outer world
9398         interaction
9399
9400         * commandtags.h:
9401         * LyXAction.C: remove unused LFUN_MATH
9402
9403 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9404
9405         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9406
9407 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9408
9409         * paragraph.C (Paragraph): reformat a bit
9410         (cutIntoMinibuffer): use builtin InsetList function instad of
9411         doing it manually.
9412         (getInset): ditto
9413
9414         * buffer.C: include boost/bind.hpp, add using std::for_each
9415         (writeFileAscii): use ParagraphList iterators
9416         (validate): use for_each for validate traversal of paragraphs
9417         (getBibkeyList): use ParagraphList iterators
9418         (resizeInsets): use for_each to resizeInsetsLyXText for all
9419         paragraphs.
9420         (getParFromID): use ParagraphList iterators
9421
9422         * BufferView2.C (lockInset): use paragraph list and iterators
9423
9424 2002-08-14  John Levon  <levon@movementarian.org>
9425
9426         * lyxserver.C: remove spurious xforms include
9427
9428 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9431
9432 2002-08-13  André Pönitz <poenitz@gmx.net>
9433
9434         * LyXAction.[Ch]:
9435         * lyxfunc.C: further cleaning
9436
9437 2002-08-13  André Pönitz <poenitz@gmx.net>
9438
9439         * funcrequest.h: new constructor
9440
9441         * funcrequest.C: move stuff here from .h
9442
9443         * Makefile.am:
9444         * BufferView_pimpl.C:
9445         * LyXAction.C:
9446         * toc.C:
9447         * lyxfunc.C: subsequent changes
9448
9449         * lyxfunc.h: new view() member function
9450
9451         * lyxfunc.C: subsequent changes
9452
9453 2002-08-13  Angus Leeming  <leeming@lyx.org>
9454
9455         * BufferView2.C:
9456         * BufferView_pimpl.C:
9457         * buffer.C:
9458         * converter.C:
9459         * importer.C:
9460         * lyxfunc.C:
9461         * lyxvc.C:
9462         * toc.C:
9463         * vc-backend.C:
9464         changes due to the changed LyXView interface that now returns references
9465         to member variables not pointers.
9466
9467 2002-08-13  Angus Leeming  <leeming@lyx.org>
9468
9469         * WordLangTuple (word, lang_code): return references to strings,
9470         not strings.
9471
9472         * BufferView.h:
9473         * SpellBase.h:
9474         * lyxtext.h: forward-declare WordLangTuple.
9475
9476         * BufferView2.C:
9477         * ispell.C:
9478         * pspell.C:
9479         * text.C: #include "WordLangTuple.h".
9480
9481         * lyxtext.h:
9482         * text.C: (selectNextWordToSpellcheck): constify return type.
9483
9484 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9485
9486         * buffer.C:
9487         * buffer.h:
9488         * lyxtext.h:
9489         * paragraph.C:
9490         * paragraph_pimpl.h:
9491         * text.C:
9492         * text2.C:
9493         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9494         suggested by Angus.
9495         Made updateCounter always count from start of buffer, and removed
9496         second argument (par).
9497         Reverted floats number display to '#'. Perhaps I'll try again when the
9498         code base is sanitized a bit.
9499
9500 2002-08-12  Angus Leeming  <leeming@lyx.org>
9501
9502         * buffer.[Ch] (getLabelList): constify.
9503
9504 2002-08-07  André Pönitz <poenitz@gmx.net>
9505
9506         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9507
9508         * funcrequest.h: extension to keep mouse (x,y) position
9509
9510 2002-08-12  Juergen Vigna  <jug@sad.it>
9511
9512         * BufferView2.C (insertErrors): forbid undo when inserting error
9513         insets.
9514
9515         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9516
9517 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9518
9519         * ParagraphList.[Ch]: new files
9520
9521         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9522
9523         * BufferView2.C (lockInset): ParagraphList changes
9524         * toc.C: ditto
9525         * text2.C: ditto
9526         * bufferlist.C: ditto
9527         * buffer.h: ditto
9528         * buffer.C: ditto
9529
9530 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9531
9532         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9533         unused class variable counter_,
9534
9535         * paragraph.[Ch] (getFirstCounter): delete unused function
9536
9537         * counters.C: include LAssert.h
9538         (reset): add a new function with no arg, change other version to
9539         not have def. arg and to not allow empty arg.
9540
9541         * text2.C (setCounter): remove empty arg from call to Counters::reset
9542
9543 2002-08-11  John Levon  <levon@movementarian.org>
9544
9545         * Makefile.am: add WordLangTuple.h
9546
9547 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9548
9549         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9550         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9551
9552         * insets/insettext.C: InsetList changes
9553
9554         * graphics/GraphicsSupport.C (operator()): InsetList changes
9555
9556         * toc.C (getTocList): InsetList changes
9557
9558         * paragraph_pimpl.[Ch]: InsetList changes
9559
9560         * paragraph.[Ch]: InsetList changes
9561
9562         * buffer.C (inset_iterator): InsetList changes
9563         (setParagraph): ditto
9564         * buffer.h (inset_iterator): ditto
9565         * iterators.C (operator++): ditto
9566         * iterators.h: ditto
9567
9568         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9569
9570         * InsetList.[Ch]: new files, most InsetList handling moved out of
9571         paragraph.C.
9572
9573         * BufferView2.C (removeAutoInsets): InsetList changes
9574         (lockInset): ditto
9575         (ChangeInsets): ditto
9576
9577 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9578
9579         * paragraph_pimpl.h (empty): new function
9580
9581         * paragraph.[Ch] (empty): new function
9582
9583         * other files: use the new Paragraph::empty function
9584
9585 2002-08-09  John Levon  <levon@movementarian.org>
9586
9587         * lyxtext.h: remove unused refresh_height
9588
9589 2002-08-09  John Levon  <levon@movementarian.org>
9590
9591         * Makefile.am:
9592         * sgml.h:
9593         * sgml.C:
9594         * buffer.C:
9595         * paragraph.h:
9596         * paragraph.C: move sgml char escaping out of paragraph
9597
9598         * paragraph.h:
9599         * paragraph.C: remove id setter
9600
9601         * buffer.C:
9602         * paragraph.C:
9603         * paragraph_pimpl.C: remove dead tex_code_break_column
9604
9605         * bufferview_funcs.C: small cleanup
9606
9607         * lyxfunc.C: remove dead proto
9608
9609         * lyxtext.h: make some stuff private. Remove some dead stuff.
9610
9611         * lyxgluelength.C: make as[LyX]String() readable
9612
9613 2002-08-08  John Levon  <levon@movementarian.org>
9614
9615         * LyXAction.h:
9616         * LyXAction.C:
9617         * MenuBackend.C:
9618         * ToolbarDefaults.C:
9619         * lyxfunc.C:
9620         * lyxrc.C:
9621         * toc.C: lyxaction cleanup
9622
9623 2002-08-08  John Levon  <levon@movementarian.org>
9624
9625         * BufferView2.C: small cleanup
9626
9627         * lyxfind.h:
9628         * lyxfind.C: move unnecessary header into the .C
9629
9630 2002-08-08  John Levon  <levon@movementarian.org>
9631
9632         * funcrequest.h: just tedious nonsense
9633
9634         * lyx_main.h:
9635         * lyx_main.C: cleanups
9636
9637         * buffer.C:
9638         * vspace.C: remove dead header lyx_main.h
9639
9640 2002-08-07  Angus Leeming  <leeming@lyx.org>
9641
9642         * Paragraph.[Ch]:
9643         * paragraph_pimpl.h:
9644         Forward declare class Counters in paragraph.h by moving the ctrs member
9645         variable into Paragraph::Pimpl.
9646         (counters): new method, returning a reference to pimpl_->ctrs.
9647
9648         * text2.C: ensuing changes.
9649
9650 2002-08-07  John Levon  <levon@movementarian.org>
9651
9652         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9653
9654         * BufferView_pimpl.C: announce X selection on double/triple
9655           click
9656
9657         * lyx_main.C: use correct bool in batch dispatch
9658
9659         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9660
9661 2002-08-07  André Pönitz <poenitz@gmx.net>
9662
9663         * funcrequest.h: new class to wrap a kb_action and its argument
9664
9665         * BufferView.[Ch]:
9666         * BufferView_pimpl[Ch]:
9667         * LaTeX.C:
9668         * LyXAction.[Ch]:
9669         * lyxfunc.[Ch]:
9670         * lyxrc.C: subsequent changes
9671
9672
9673 2002-08-07  John Levon  <levon@movementarian.org>
9674
9675         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9676           document options change.
9677
9678 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9679
9680         * counters.[Ch]
9681         * text2.C
9682         * paragraph.[Ch]
9683         * makefile.am: move counters functionality over from
9684         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9685
9686 2002-08-06  John Levon  <levon@movementarian.org>
9687
9688         * WordLangTuple.h: new file for word + language code tuple
9689
9690         * SpellBase.h:
9691         * pspell.h:
9692         * pspell.C:
9693         * ispell.h:
9694         * ispell.C:
9695         * lyxtext.h:
9696         * text.C:
9697         * text2.C:
9698         * BufferView.h:
9699         * BufferView2.C: use WordLangTuple
9700
9701         * layout.h:
9702         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9703
9704 2002-08-06  John Levon  <levon@movementarian.org>
9705
9706         * lyx_main.C: fix cmdline batch handling
9707
9708 2002-08-06  André Pönitz <poenitz@gmx.net>
9709
9710         * lyxrc.C: set default for show_banner to true
9711
9712 2002-08-06  John Levon  <levon@movementarian.org>
9713
9714         * pspell.C: fix a crash, and allow new aspell to work
9715
9716 2002-08-06  John Levon  <levon@movementarian.org>
9717
9718         * lyxfunc.C:
9719         * kbmap.C: small cleanup
9720
9721         * vspace.h:
9722         * vspace.C: add const
9723
9724 2002-08-05  John Levon  <levon@movementarian.org>
9725
9726         * LyXAction.C: back to tabular-insert
9727
9728 2002-08-04  John Levon  <levon@movementarian.org>
9729
9730         * BufferView.h:
9731         * BufferView.C: cosmetic change
9732
9733         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9734
9735         * bufferlist.C:
9736         * buffer.h:
9737         * buffer.C:
9738         * lyxcb.h:
9739         * lyxcb.C:
9740         * lyxserver.C:
9741         * lyxvc.C:
9742         * vc-backend.C:
9743         * BufferView2.C: purge all "Lyx" not "LyX" strings
9744
9745         * lyxcursor.h:
9746         * lyxcursor.C: attempt to add some documentation
9747
9748         * lyxfunc.C:
9749         * commandtags.h:
9750         * LyXAction.C:
9751         * ToolbarDefaults.C:
9752         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9753           merge with LFUN_TABULAR_INSERT
9754
9755         * Makefile.am:
9756         * SpellBase.h:
9757         * ispell.h:
9758         * ispell.C:
9759         * pspell.h:
9760         * pspell.C: split up i/pspell implementations into separate
9761           files, many cleanups
9762
9763         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9764
9765         * text2.C: some cleanup
9766
9767         * lyxfunc.C: don't check for isp_command == "none" any more, it
9768           didn't make any sense
9769
9770 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9771
9772         * counters.[Ch]
9773         * text2.C
9774         * paragraph.[Ch]
9775         * makefile.am: move counters functionality over
9776         from text2.C/paragraph.[Ch] to counters.[Ch], and
9777         make proper C++.
9778 2002-08-02  John Levon  <levon@movementarian.org>
9779
9780         * buffer.C: s/lyxconvert/lyx2lyx/
9781
9782 2002-08-02  Angus Leeming  <leeming@lyx.org>
9783
9784         * lyxlex.C: revert John's change as it breaks reading of the user
9785         preamble.
9786
9787 2002-08-02  Angus Leeming  <leeming@lyx.org>
9788
9789         * importer.C (Import):
9790         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9791         changes due to LyXView::view() now returning a boost::shared_ptr.
9792
9793 2002-08-02  John Levon  <levon@movementarian.org>
9794
9795         * lyxlex.C: small cleanup
9796
9797 2002-08-02  John Levon  <levon@movementarian.org>
9798
9799         * text2.C (status): small cleanup, no logic change
9800
9801 2002-08-01  John Levon  <levon@movementarian.org>
9802
9803         * buffer.h:
9804         * buffer.C (writeFile): don't output alerts, caller
9805           handles this
9806
9807         * bufferlist.C:
9808         * lyx_cb.C: from above
9809
9810         * lyxfunc.C: allow to open non-existent files
9811
9812 2002-07-31  John Levon  <levon@movementarian.org>
9813
9814         * lyxserver.C: don't let incidental errors get
9815           in the way (errno)
9816
9817 2002-07-30  John Levon  <levon@movementarian.org>
9818
9819         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9820
9821 2002-07-30  John Levon  <levon@movementarian.org>
9822
9823         * lyxserver.h:
9824         * lyxserver.C: remove I/O callback too
9825
9826 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9829         log.
9830
9831 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * many files: strip,frontStrip -> trim,ltrim,rtrim
9834
9835 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * PrinterParams.h: remove extern containsOnly, and include
9838         support/lstrings.h instead.
9839
9840         * LaTeX.C (scanAuxFile): modify because of strip changes
9841         (deplog): ditto
9842         * buffer.C (makeLaTeXFile): ditto
9843         * bufferparams.C (writeFile): ditt
9844         * lyxfont.C (stateText): ditto
9845         * lyxserver.C (read_ready): ditto
9846         * vc-backend.C (scanMaster): ditto
9847
9848         * BufferView_pimpl.h: ws changes
9849
9850         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9851
9852 2002-07-26  André Pönitz <poenitz@gmx.net>
9853
9854         * kb_sequence.C: remove unnedred usings
9855
9856 2002-07-26  Juergen Vigna  <jug@sad.it>
9857
9858         * lyxfind.C (LyXReplace): we have to check better if the returned
9859         text is not of theLockingInset()->getLockingInset().
9860
9861 2002-07-25  Juergen Vigna  <jug@sad.it>
9862
9863         * lyxfind.C (LyXReplace): don't replace if we don't get the
9864         right LyXText.
9865
9866         * undo_funcs.C (createUndo): remove debugging code.
9867
9868 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9869
9870         * buffer.C (parseSingleLyXformat2Token): Use default placement
9871         when reading old floats.
9872
9873         * FloatList.C (FloatList): Change the default placement of figure
9874         and tables to "tbp".
9875
9876 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * MenuBackend.C: using std::max
9879
9880 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9881
9882         * MenuBackend.C (expandToc):
9883         (expandToc2): code moved from xforms menu frontend. It is now
9884         generic and TOCs are transparent to menu frontends.
9885
9886 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9887
9888         * toc.C (getTocList): protect against buf=0
9889
9890         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9891         Menu as first parameter. Now, this calls itself recursively to
9892         expand a whole tree (this will be useful for TOC handling)
9893         (expandFloatInsert): remove 'wide' version of floats
9894
9895         * MenuBackend.h (submenuname): returns the name of the submenu.
9896         (submenu): returns the submenu itself, provided it has been
9897         created by MenuBackend::expand
9898
9899 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9900
9901         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9902         insets which have noFontChange == true. (bug #172)
9903
9904 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9905
9906         * BufferView_pimpl.C: add connection objects and use them...
9907         (Pimpl): here.
9908
9909 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9910
9911         * MenuBackend.C (expandLastfiles):
9912         (expandDocuments):
9913         (expandFormats):
9914         (expandFloatListInsert):
9915         (expandFloatInsert):
9916         (expand): split expand in parts
9917
9918 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * lyx_gui.C: use lyx_gui::exit()
9921
9922 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9923
9924         * LyXAction.C: show the failing pseudo action
9925
9926 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9927
9928         * buffer.C (readFile): Run the lyxconvert script in order to read
9929         old files.
9930
9931 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * LyXAction.C:
9934         * commandtags.h:
9935         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9936
9937 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * LyXAction.C:
9940         * commandtags.h:
9941         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9942
9943 2002-07-22  Herbert Voss  <voss@lyx.org>
9944
9945         * lengthcommon.C:
9946         * lyxlength.[Ch]: add support for the vertical lengths
9947
9948 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * toc.[Ch]: std:: fixes
9951
9952 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9953
9954         * lyxrc.C: do not include lyx_main.h
9955
9956         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9957         for layouts
9958
9959         * lyxrc.C:
9960         * encoding.C:
9961         * bufferlist.C:
9962         * BufferView2.C: include "lyxlex.h"
9963
9964         * tabular.h:
9965         * bufferparams.h: do not #include "lyxlex.h"
9966
9967         * lyxtextclasslist.C (Add): remove method
9968         (classlist): renamed to classlist_
9969
9970         * paragraph_pimpl.C:
9971         * paragraph.C:
9972         * text2.C:
9973         * CutAndPaste.C:
9974         * bufferview_funcs.C:
9975         * bufferlist.C:
9976         * text.C:
9977         * LaTeXFeatures.C:
9978         * buffer.C:
9979         * toc.C (getTocList): use BufferParams::getLyXTextClass
9980
9981         * toc.C (getTocList): use InsetFloat::addToToc
9982
9983         * toc.[Ch]: new files, containing helper functions to handle table
9984         of contents
9985
9986         * lyxfunc.C (dispatch): no need to remove spaces around command
9987         given as a string
9988         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9989         first command of the sequence; it is not very clever, but I do not
9990         have a better idea, actually
9991
9992         * LyXAction.C (LookupFunc): make sure to remove space at the
9993         beginning and end of the command
9994
9995 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9996
9997         * MenuBackend.C (getMenubar): new method: return the menubar of
9998         this menu set
9999         (read): treat differently reading of menu and menubar (in
10000         particular, the menubar has no name now)
10001         (Menu::menubar): remove
10002
10003         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10004         saving is finished
10005
10006 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10007
10008         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10009         a bibitem inset in a RTL paragraph.
10010
10011 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * paragraph_pimpl.C: constify
10014
10015         * BufferView_pimpl.C:
10016         * LaTeX.C:
10017         * lyxfunc.C: fix dispatch in a nicer way
10018
10019 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10020
10021         * lyxfunc.C (dispatch):
10022         * BufferView_pimpl.C:
10023         * BufferView_pimpl.h:
10024         * BufferView.C:
10025         * BufferView.h: rename Dispatch() to dispatch()
10026
10027         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10028
10029         * lyxlayout.C (Read): honor DependsOn tag
10030
10031         * lyxlayout.[Ch] (depends_on): new method
10032
10033         * version.C.in: update lyx_docversion
10034
10035         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10036
10037         * paragraph.C (validate): remove from here...
10038         * paragraph_pimpl.C (validate): ... and move here
10039         (isTextAt): make it const
10040
10041         * buffer.C (getLists): ws cleanup
10042
10043 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10044
10045         * language.C (read): Use iso8859-1 encoding in latex_lang
10046         (this prevents LyX from crashing when using iso10646-1 encoding).
10047
10048 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10049
10050         * text2.C (toggleInset): if cursor is inside an inset, close the
10051         inset and leave cursor _after_ it
10052
10053 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10054
10055         * lyxfunc.C: move minibuffer completion handling out of here
10056
10057 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * BufferView_pimpl.C:
10060         * LaTeX.C: fix dispatch calls
10061
10062 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10063
10064         * text.C (drawChars): Fix Arabic text rendering.
10065
10066 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * LyXAction.C:
10069         * commandtags.h:
10070         * lyxfunc.C: remove message-push/pop
10071
10072         * lyxserver.C:
10073         * lyxfunc.h:
10074         * lyxfunc.C: rationalise some code by removing verboseDispatch
10075           in favour of a bool argument to dispatch()
10076
10077 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10078
10079         * lyx_main.C (init): make sure to read symlinks as absolute paths
10080
10081 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10082
10083         * lyxfunc.h:
10084         * lyxfunc.C: no need for commandshortcut to be a member
10085
10086 2002-07-15  André Pönitz <poenitz@gmx.net>
10087
10088         * converter.C: add support for $$s (scripts from lib/scripts dir)
10089         * lyx_main.C: white space
10090
10091 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10092
10093         * bufferlist.C:
10094         * lyxrc.h:
10095         * lyxrc.C: remove second exit confirmation
10096
10097 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10098
10099         * BufferView.h:
10100         * BufferView.C:
10101         * BufferView2.C:
10102         * BufferView_pimpl.h:
10103         * BufferView_pimpl.C:
10104         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10105
10106 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10107
10108         * MenuBackend.C (expand): add numeric shortcuts to document menu
10109
10110         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10111
10112 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10113
10114         * lyxfont.C (setLyXFamily):
10115         (setLyXSeries):
10116         (setLyXShape):
10117         (setLyXSize):
10118         (setLyXMisc):
10119         (lyxRead):
10120         * debug.C (value):
10121         * buffer.C (asciiParagraph): use ascii_lowercase
10122
10123 2002-07-15  Mike Fabian  <mfabian@suse.de>
10124
10125         * lyxlex_pimpl.C (search_kw):
10126         * lyxlex.C (getLongString):
10127         * converter.h (operator<):
10128         * converter.C (operator<):
10129         * buffer.C (parseSingleLyXformat2Token):
10130         (asciiParagraph):
10131         * ToolbarDefaults.C (read):
10132         * MenuBackend.C (checkShortcuts):
10133         (read):
10134         * LColor.C (getFromGUIName):
10135         (getFromLyXName): use the compare_ascii_no_case instead of
10136         compare_no_case, because in turkish, 'i' is not the lowercase
10137         version of 'I', and thus turkish locale breaks parsing of tags.
10138
10139 2002-07-16  Angus Leeming  <leeming@lyx.org>
10140
10141         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10142         now takes a Buffer const & argument.
10143
10144 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10145
10146         * BufferView.C (resize): check there's a buffer to resize
10147
10148 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * lyxfunc.C: remove dead code
10151
10152         * lyxserver.h:
10153         * lyxserver.C: use lyx_guii::set_read_callback
10154
10155 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10156
10157         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10158         an inset in a RTL paragraph.
10159
10160 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10161
10162         * lyxfunc.C: repaint after a font size update
10163
10164 2002-07-15  André Pönitz <poenitz@gmx.net>
10165
10166         * lyxlength.C: inBP should be able to return negative values
10167
10168 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * lyxfunc.C: use lyx_gui::update_fonts()
10171
10172 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * lyxfunc.C: use lyx_gui::update_color()
10175
10176 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10177
10178         * bufferlist.C:
10179         * lyxfunc.h:
10180         * lyxfunc.C:
10181         * lyxrc.h:
10182         * lyxrc.C: remove file->new asks for name option, and let
10183           buffer-new take an argument
10184
10185 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10186
10187         * BufferView_pimpl.C: remove unneeded extra repaint()
10188
10189 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * LyXAction.C: allow command-sequence with NoBuffer
10192
10193         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10194
10195 2002-07-10  Angus Leeming  <leeming@lyx.org>
10196
10197         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10198
10199 2002-07-09  Angus Leeming  <leeming@lyx.org>
10200
10201         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10202
10203 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10204
10205         * lengthcommon.h: whitespace
10206
10207         * lyxfunc.C: update scrollbar after goto paragraph
10208
10209         * lyxtext.h: factor out page break drawing, and fix it so
10210           page break/added space paints as selected nicely
10211
10212 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10213
10214         * BufferView_pimpl.C: add FIXMEs, clean up a little
10215
10216 2002-07-09  André Pönitz <poenitz@gmx.net>
10217
10218         * lyxfont.[Ch]: support for wasy symbols
10219
10220 2002-07-08  André Pönitz <poenitz@gmx.net>
10221
10222         * BufferView_pimpl.C: apply John's patch for #93.
10223
10224 2002-07-05  Angus Leeming  <leeming@lyx.org>
10225
10226         * BufferView_pimpl.C (buffer): generate previews if desired.
10227
10228         * LColor.h: add "preview" to the color enum.
10229
10230         * LColor.C (LColor): add a corresponding entry to the items array.
10231
10232         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10233         with this buffer.
10234
10235 2002-07-05  Angus Leeming  <leeming@lyx.org>
10236
10237         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10238         The body of the code is now in the method that is passed an ostream &
10239         rather than a file name.
10240         Pass an additional only_preamble parameter, useful for the forthcoming
10241         preview stuff.
10242
10243 2002-07-03  André Pönitz <poenitz@gmx.net>
10244
10245         * lyxfunc.C: simplify getStatus() a bit for math stuff
10246
10247 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10248
10249         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10250
10251 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10252
10253         * text.C (changeRegionCase): do not change case of all the
10254         document when region ends at paragraph end (bug #461)
10255
10256 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10257
10258         * paragraph.C (startTeXParParams):
10259         (endTeXParParams): add \protect when necessary
10260
10261 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10262
10263         * BufferView_pimpl.C (workAreaExpose): remove warning
10264
10265 2002-06-27  Angus Leeming  <leeming@lyx.org>
10266
10267         * Makefile.am: add lyxlayout_ptr_fwd.h.
10268
10269 2002-06-26  André Pönitz <poenitz@gmx.net>
10270
10271         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10272
10273 2002-06-25  Angus Leeming  <leeming@lyx.org>
10274
10275         * lyxfunc.C (dispatch): Comment out the call to
10276         grfx::GCache::changeDisplay. The method no longer exists now that the
10277         pixmap generation part of the graphics loader has been moved into
10278         InsetGraphics.
10279
10280 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * text2.C: layout as layout
10283
10284         * text.C: layout as layout
10285
10286         * tabular.C (OldFormatRead): layout as layout
10287
10288         * paragraph_pimpl.C (TeXDeeper): layout as layout
10289         (realizeFont): layout as layout
10290
10291         * paragraph.C (writeFile): layout as layout
10292         (validate): layout as layout
10293         (getFont): layout as layout
10294         (getLabelFont): layout as layout
10295         (getLayoutFont): layout as layout
10296         (breakParagraph): layout as layout
10297         (stripLeadingSpaces): layout as layout
10298         (getEndLabel): layout as layout
10299         (getMaxDepthAfter): layout as layout
10300         (applyLayout): layout as layout
10301         (TeXOnePar): layout as layout
10302         (simpleTeXOnePar): layout as layout
10303         (TeXEnvironment): layout as layout
10304         (layout): layout as layout
10305         (layout): layout as layout
10306
10307         * lyxtextclass.C (compare_name): new functor to work with
10308         shared_ptr, layout as layout
10309         (Read): layout as layout
10310         (hasLayout): layout as layout
10311         (operator): layout as layout
10312         (delete_layout): layout as layout
10313         (defaultLayout): layout as layout
10314
10315         * lyxlayout_ptr_fwd.h: new file
10316
10317         * lyxlayout.C (Read): layout as layout
10318
10319         * lyx_cb.C (MenuInsertLabel): layout as layout
10320
10321         * bufferlist.C (newFile): layout as layout
10322
10323         * buffer.C (readLyXformat2): layout as layout
10324         (parseSingleLyXformat2Token): layout as layout
10325         (insertStringAsLines): layout as layout
10326         (asciiParagraph): layout as layout
10327         (latexParagraphs): layout as layout
10328         (makeLinuxDocFile): layout as layout
10329         (simpleLinuxDocOnePar): layout as layout
10330         (makeDocBookFile): layout as layout
10331         (simpleDocBookOnePar): layout as layout
10332         (getLists): layout as layout
10333
10334         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10335
10336         * CutAndPaste.C (cutSelection): layout as layout
10337         (pasteSelection): layout as layout
10338         (SwitchLayoutsBetweenClasses): layout as layout
10339
10340         * BufferView_pimpl.C (Dispatch): layout as layout
10341         (smartQuote): layout as layout
10342
10343         * BufferView2.C (unlockInset): layout as layout
10344
10345 2002-06-24  André Pönitz <poenitz@gmx.net>
10346
10347         * lyxfunc.C: fix #487
10348
10349 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * lyxrc.h:
10352         * lyxrc.C:
10353         * lyxfunc.C: remove display_shortcuts, show_banner
10354
10355 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * Buffer_pimpl.C: oops, update on resize
10358
10359 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10360
10361         * buffer.C:
10362         * converter.C:
10363         * exporter.C:
10364         * lyxfunc.C:
10365         * BufferView.h:
10366         * BufferView.C: use repaint()
10367
10368         * BufferView_pimpl.h:
10369         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10370           as it's a clearer description. Remove superfluous
10371           redraws.
10372
10373 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * text.C: fix bug 488. Not ideal, but getting
10376           getWord() to work properly for the insets that
10377           matter is more difficult ...
10378
10379 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10380
10381         * BufferView_pimpl.C:
10382         * LyXAction.C:
10383         * commandtags.h:
10384         * lyxfunc.C: remove the six million index lyxfuncs to just
10385           one, and DTRT (bug 458)
10386
10387 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10388
10389         * BufferView.h:
10390         * BufferView.C:
10391         * BufferView_pimpl.h:
10392         * BufferView_pimpl.C: clean up resize() stuff,
10393           and unnecessary updateScreen()s
10394
10395 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10396
10397         * BufferView.h:
10398         * BufferView.C:
10399         * BufferView_pimpl.h:
10400         * BufferView_pimpl.C:
10401         * lyxfind.h:
10402         * lyxfind.C:
10403         * minibuffer.C: remove focus management of workarea,
10404           not needed. Use screen's greyOut()
10405
10406 2002-06-17  Herbert Voss  <voss@lyx.org>
10407
10408         * converter.C: (convert) do not post a message, when converting
10409         fails, let the calling function decide what to do in this case
10410
10411 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * lyxfunc.C: tidy up a little
10414
10415 2002-06-16    <alstrup@diku.dk>
10416
10417         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10418         Got rid of FORMS_H_LOCATION include. Now we are
10419         GUII.
10420
10421 2002-06-15  LyX Development team  <lyx@rilke>
10422
10423         * buffer.[Ch] (sgmlOpenTag):
10424         (sgmlCloseTag): Added support for avoiding pernicious mixed
10425         content. Return number of lines written.
10426
10427         (makeLinuxDocFile):
10428         (makeDocBookFile): Fixed calls to sgml*Tag.
10429         Simple white space clean.
10430
10431         (simpleDocBookOnePar): Simple white space clean.
10432
10433         * tabular.[Ch] (docBook): Renamed to docbook and got another
10434         argument to related with the pernicious mixed content.
10435
10436         (docbookRow): Fixed calls for docbook inset method.
10437
10438 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10439
10440         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10441         so it's X11 independent.
10442
10443         * kb*.[Ch]: ditto.
10444
10445         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10446
10447 2002-06-15  Lyx Development team  <lyx@electronia>
10448
10449         * intl.h: Renamed getTrans to getTransManager.
10450
10451 2002-06-14  Angus Leeming  <leeming@lyx.org>
10452
10453         * Makefile.am: nuke forgotten stl_string_fwd.h.
10454
10455 2002-06-12  Angus Leeming  <leeming@lyx.org>
10456
10457         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10458
10459 2002-06-13  Angus Leeming  <leeming@lyx.org>
10460
10461         * LaTeX.C:
10462         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10463
10464 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10465
10466         * kbmap.C (getiso): add support for cyrillic and greek
10467
10468 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10469
10470         * BufferView.h:
10471         * BufferView.C:
10472         * BufferView_pimpl.h:
10473         * BufferView_pimpl.C: move bogus scrolling logic
10474           to xforms
10475
10476 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10477
10478         * lyxfunc.C:
10479         * BufferView_pimpl.C: view->resize() change
10480
10481 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * BufferView_pimpl.C: topCursorVisible
10484           prototype change
10485
10486 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10487
10488         * Makefile.am:
10489         * lyx_gui.h:
10490         * lyx_gui.C: move to frontends/
10491
10492         * main.C:
10493         * lyx_main.h:
10494         * lyx_main.C: changes from above
10495
10496 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * intl.C:
10499         * intl.h:
10500         * kbmap.C:
10501         * kbsequence.C:
10502         * lyx_cb.C:
10503         * lyx_main.C: minor tidy
10504
10505 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10506
10507         * BufferView_pimpl.h:
10508         * BufferView_pimpl.C:
10509         * BufferView.h:
10510         * BufferView.C: make painter() const,
10511           remove dead code
10512
10513         * BufferView2.C: use screen() accessor
10514
10515         * lyx_main.h:
10516         * lyx_main.C: some minor cleanup
10517
10518 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10519
10520         * BufferView_pimpl.h:
10521         * BufferView_pimpl.C: remove enter/leaveView,
10522           use workHeight()
10523
10524 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10525
10526         * BufferView.h:
10527         * BufferView.C:
10528         * BufferView2.C:
10529         * BufferView_pimpl.h:
10530         * BufferView_pimpl.C: only construct screen once,
10531           rename
10532
10533         * lyxrc.C: remove pointless comment
10534
10535 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10536
10537         * BufferView.h:
10538         * BufferView.C: remove active() and belowMouse()
10539
10540         * BufferView_pimpl.h:
10541         * BufferView_pimpl.C: use workarea() not workarea_,
10542           and make it use a scoped_ptr instead
10543
10544 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * lyx_gui.C: add debug message on BadWindow
10547
10548 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10549
10550         * sp_spell.C: fdopen is not part of the C++ standard.
10551
10552         * paragraph.C (InsetIterator): use >= instead of ==
10553
10554 2002-06-07  Angus Leeming  <leeming@lyx.org>
10555
10556         Fixes needed to compile with Compaq cxx 6.5.
10557         * BufferView_pimpl.C:
10558         * DepTable.C:
10559         * buffer.C:
10560         * converter.C:
10561         * encoding.C:
10562         * lyx_gui.C:
10563         * lyx_main.C:
10564         * lyxtextclasslist.C:
10565         * minibuffer.C:
10566         * sp_spell.C:
10567         * tabular_funcs.C:
10568         * vc-backend.C:
10569         all c-library variables have been moved into namespace std. Wrap
10570         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10571
10572         * lyxlength.C:
10573         * tabular-old.C:
10574         * tabular.C:
10575         Add a using std::abs declaration.
10576
10577         * kbmap.h (modifier_pair):
10578         * paragraph.h (InsetTable, InsetList):
10579         * lyxfont.h (FontBits):
10580         type definition made public.
10581
10582         * bufferlist.C (emergencyWriteAll): the compiler complains that
10583         there is more than one possible lyx::class_fun template to choose from.
10584         I re-named the void specialisation as lyx::void_class_fun.
10585
10586         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10587
10588         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10589         the compiler is is unable to find tostr in write_attribute.
10590
10591 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * buffer.C (sgmlError): hide #warning
10594
10595 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10596
10597         * xtl/*: get rid of xtl, which is not in use anyway
10598
10599         * LyXAction.C (init):
10600         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10601         were unimplemented xtl experimentation
10602
10603 2002-06-04  André Pönitz <poenitz@gmx.net>
10604
10605         * lyxfunc.C: disable array operation on simple formulae
10606
10607 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10608
10609         * converter.C: constify a bit
10610
10611 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * lyx_gui.C: check xforms version correctly
10614
10615 2002-04-30  Herbert Voss  <voss@lyx.org>
10616
10617         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10618         "keep" option
10619
10620 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10621
10622         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10623           attempt to register it with a VCS)
10624
10625 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10626
10627         * lyx_main.C (init): honor variables LYX_DIR_13x and
10628         LYX_USERDIR_13x
10629
10630 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * buffer.h:
10633         * buffer.C:
10634         * lyx_main.C: fix a crash on bad command line,
10635           and give a useful exit status on error
10636
10637         * lyxfunc.C (doImport): allow -i lyx to work
10638
10639 2002-03-30  André Pönitz <poenitz@gmx.net>
10640
10641         * lyxfunc.C: mathed font changes
10642
10643 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10644
10645         * LaTeX.C:
10646         * importer.h:
10647         * importer.C:
10648         * lyx_sty.h:
10649         * lyx_sty.C:
10650         * lyxlex.C:
10651         * lyxrow.h:
10652         * lyxtext.h:
10653         * paragraph.h:
10654         * paragraph.C:
10655         * texrow.h:
10656         * texrow.C:
10657         * text.C:
10658         * trans_mgr.h: srcdocs, and some minor cleanups
10659
10660 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10663         call getFont all the time)
10664
10665 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10666
10667         * switch from SigC signals to boost::signals
10668
10669 2002-05-29  André Pönitz <poenitz@gmx.net>
10670
10671         * paragraph_pimpl.C (getChar): don't call size() too often...
10672
10673 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10674
10675         * paragraph_pimpl.C (insertChar): do not try to update tables when
10676         appending (pos == size())
10677
10678         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10679         in order to reduce drastically the number of comparisons needed to
10680         parse a large document
10681
10682 2002-05-29  André Pönitz <poenitz@gmx.net>
10683
10684         * text.C:
10685         * text2.C:
10686         * lyxtextclass.C:
10687         * sp_pspell.h:
10688         * textclasslist.[Ch]:
10689         * sp_ispell.h: whitespace change
10690
10691 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10694         lyxaction directly now.
10695
10696 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10697
10698         * trans.C:
10699         * lyxfont.C:
10700         * lyxvc.C: remove unused headers
10701
10702 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10703
10704         * Makefile.am:
10705         * buffer.h:
10706         * undostack.h:
10707         * undostack.C:
10708         * undo_funcs.h:
10709         * undo_funcs.C: some cleanups. Use shared_ptr
10710           and a template for the undo stacks.
10711
10712 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * BufferView_pimpl.h:
10715         * BufferView_pimpl.C:
10716         * kbmap.h:
10717         * kbmap.C:
10718         * kbsequence.h:
10719         * kbsequence.C:
10720         * lyxfunc.h:
10721         * lyxfunc.C:
10722         * text2.C: use key_state/mouse_state
10723
10724 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10725
10726         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10727         and LSubstring
10728
10729         * chset.C: change include order
10730         (loadFile): use boost regex and get rid of LRegex and LSubstring
10731
10732         * Makefile.am (BOOST_LIBS): new variable
10733         (lyx_LDADD): use it
10734
10735         * LaTeX.C: change include order.
10736         (scanAuxFile): use boost regex and get rid of LRegex and
10737         LSubstring
10738         (deplog): ditto
10739
10740 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10741
10742         * ColorHandler.h:
10743         * ColorHandler.C:
10744         * FontInfo.h:
10745         * FontInfo.C: moved to frontends/xforms/
10746
10747         * FontLoader.h:
10748         * FontLoader.C: moved into frontends for GUIIzation
10749
10750         * Makefile.am:
10751         * lyx_gui.C:
10752         * lyxfont.C:
10753         * lyxfunc.C: changes from above
10754
10755 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10756
10757         * LColor.C: remove spurious X include
10758
10759         * BufferView_pimpl.C:
10760         * Makefile.am:
10761         * font.h:
10762         * font.C:
10763         * text.C:
10764         * text2.C: move font metrics to frontends/
10765
10766 2002-05-24  Juergen Vigna  <jug@sad.it>
10767
10768         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10769         setting the undo_cursor.
10770
10771         * ParagraphParameters.h: include local includes first.
10772
10773 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10774
10775         * BufferView_pimpl.C:
10776         * BufferView_pimpl.h:
10777         * Makefile.am:
10778         * WorkArea.h:
10779         * WorkArea.C:
10780         * screen.C: move WorkArea into frontends/
10781
10782         * lyxscreen.h:
10783         * screen.C:
10784         * text.C:
10785         * BufferView.C:
10786         * BufferView2.C: move LyXScreen into frontends/
10787
10788         * lyxlookup.h:
10789         * lyxlookup.C:
10790         * lyx_gui.C: move lyxlookup into frontends/xforms/
10791
10792 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10793
10794         * BufferView2.C:
10795         * BufferView_pimpl.C:
10796         * FontLoader.C:
10797         * LyXView.h:
10798         * LyXView.C:
10799         * Makefile.am:
10800         * WorkArea.C:
10801         * XFormsView.h:
10802         * XFormsView.C:
10803         * buffer.C:
10804         * bufferlist.C:
10805         * bufferview_funcs.C:
10806         * converter.C:
10807         * importer.C:
10808         * lyx_cb.C:
10809         * lyx_gui.C:
10810         * lyx_main.C:
10811         * lyx_find.C:
10812         * lyxfunc.C:
10813         * lyxvc.C:
10814         * minibuffer.C:
10815         * text.C:
10816         * text2.C:
10817         * trans.C:
10818         * vc-backend.C: move LyX/XFormsView into frontends/
10819
10820 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10821
10822         * Makefile.am:
10823         * PainterBase.C:
10824         * PainterBase.h:
10825         * Painter.C:
10826         * Painter.h:
10827         * WorkArea.C:
10828         * WorkArea.h:
10829         * screen.C:
10830         * tabular.C:
10831         * text.C:
10832         * text2.C: move Painter to frontends/
10833
10834 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10835
10836         * buffer.C: comment out some some code that depend upon lyx_format
10837         < 220
10838
10839         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10840         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10841
10842         * buffer.h (NO_COMPABILITY): turn off compability
10843
10844         * ColorHandler.C: include scoped_array.hpp
10845
10846         * font.C: Use more specific smart_ptr header.
10847         * Painter.C: ditto
10848         * gettext.C: ditto
10849         * ShareContainer.h: ditto
10850         * lyx_main.h: ditto
10851         * kbmap.h: ditto
10852         * FontInfo.h: ditto
10853         * BufferView_pimpl.h: ditto
10854         * ColorHandler.h: ditto
10855
10856         * kbmap.C (defkey): change call to shared_ptr::reset
10857
10858 2002-05-21  Juergen Vigna  <jug@sad.it>
10859
10860         * buffer.C (insertErtContents): fix to insert ert asis if it is
10861         non empty. Skip it completely if it contains only whitespaces.
10862
10863 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10864
10865         * BufferView_pimpl.C:
10866         * BufferView2.C: clear selection on paste (bug 393)
10867
10868 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * DepTable.C: include ctime
10871
10872 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10873
10874         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10875
10876 2002-05-14  Juergen Vigna  <jug@sad.it>
10877
10878         * text.C (breakParagraph): fixed function to honor the keepempty
10879         layout in the right maner and also to permit the right breaking
10880         algorithm on empty or non empyt keepempty paragraphs.
10881
10882         * paragraph.C (breakParagraph): we have to check also if the par
10883         is really empty (!size()) for isempty otherwise we do the wrong
10884         paragraph break.
10885
10886 2002-05-10  Juergen Vigna  <jug@sad.it>
10887
10888         * buffer.[Ch] : The following are only changes to the ert
10889         compatibility read reading old LaTeX layout and font stuff and
10890         convert it to ERTInsets.
10891
10892         * buffer.h: added isErtInset().
10893
10894         * buffer.C (struct ErtComp): add a fromlayout bool to check
10895         if we're inside a LaTeX layout.
10896         (isErtInset): new helper function.
10897         (insertErtContents): look for other ert insets before this one
10898         and insert the contents there, so that we don't have subsequent
10899         ERT insets with nothing between them. This way we create only one
10900         inset with multiple paragraphs. Also check if we don't insert only
10901         spaces ' ' as they are ignored anyway afterwards in the .tex file
10902         so if we have only spaces we will ignore this latex part in the
10903         new file.
10904         (parseSingleLyXformat2Token \\layout): better compatibility when
10905         reading layout-latex stuff.
10906         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10907         language tag.
10908         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10909         stuff after reading the inset only get the information back from
10910         the stack.
10911
10912 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10913
10914         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10915
10916         * LaTeXFeatures.C (getBabelOptions): New method.
10917
10918 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10919
10920         * BufferView_pimpl.C (Dispatch): work around missing argument for
10921         'layout'
10922
10923 2002-05-08  Juergen Vigna  <jug@sad.it>
10924
10925         * text.C (leftMargin): handle paragraph leftindent.
10926
10927         * paragraph.C (writeFile): write the new \\leftindent tag.
10928         (validate): handle leftindent code.
10929         (TeXEnvironment): handle paragraphleftindent code again.
10930
10931         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10932
10933         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10934         for paragrap_extra indent code and new token \\leftindent.
10935         (latexParagraphs): handle the leftindent as environment.
10936
10937         * ParameterStruct.h: added leftindent support.
10938
10939         * ParagraphParameters.C (leftIndent): added support functions for
10940         the paragraph left indent.
10941
10942         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10943         more appropriate.
10944
10945 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10946
10947         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10948         inside insetERT.
10949
10950         * text.C (computeBidiTables): No bidi in insetERT.
10951
10952         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10953         in RTL documents.
10954
10955 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10956
10957         * version.C.in: pre 5
10958
10959 2002-05-02  José Matos  <jamatos@fep.up.pt>
10960         * buffer.C (makeDocBookFile): white space changes, add newline to
10961         command styles.
10962         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10963
10964         * tabular.C (docBook): fix typo.
10965
10966 2002-05-03  Juergen Vigna  <jug@sad.it>
10967
10968         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10969         change in LyXText as we can not be sure it was not freed.
10970         (drawOneRow): remove unused code.
10971
10972         * text.C (drawInset): redo the calculation of the need_break_row as
10973         it could have a row which was already freed.
10974         (draw): look at the return value of drawInset and return false if
10975         it also returned false.
10976         (paintRowText): look at the return value of draw and return false if
10977         it also returned false.
10978
10979         * lyxtext.h: added bool return type to drawInset() and draw() so that
10980         if we have a change in the row so that the rowbreak has to be redone
10981         we abort drawing as it will be called again.
10982
10983 2002-05-02  Juergen Vigna  <jug@sad.it>
10984
10985         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10986         a change in the maintext also if we're inside an inset.
10987         (Dispatch): set the cursor again after a break line and after the
10988         screen has been updated as it could be we're in a different row.
10989
10990         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10991         to set the cursor behind the pargraph with > size().
10992         (setCursor): check also for the same paragraph when checking where
10993         to put the cursor if we have a NFR inset.
10994
10995         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10996         parts of layout read further up as it still was in the wrong
10997         position.
10998
10999 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * screen.C (drawFromTo): change sine fullRebreak always return
11002         true.
11003
11004         * buffer.C (parseSingleLyXformat2Token): reindent some
11005
11006         * BufferView_pimpl.C (update): change since fullRebreak always
11007         return true.
11008         (Dispatch): git rid of the last hardcoded "Standard"s.
11009
11010 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * text2.[Ch] (fullRebreak): make it return void now that we always
11013         returned true.
11014
11015 2002-04-30  Juergen Vigna  <jug@sad.it>
11016
11017         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11018         ert compatibility check for "latex" layout.
11019
11020 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11021
11022         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11023         minipages: use col% instead of p%, and also use the current font.
11024         (makeLaTeXFile): Fix use babel condition.
11025         (parseSingleLyXformat2Token): Correct font when reading old floats.
11026
11027 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11028
11029         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11030         inserting list of floats.
11031
11032 2002-04-25  Herbert Voss  <voss@lyx.org>
11033
11034         * MenuBackend.C (expand): don't add the graphics extensions to the
11035         export menu
11036
11037 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11038
11039         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11040         non-existing layout, do not complain if it was the default layout
11041         of the original class (bug #342)
11042
11043 2002-04-24  Juergen Vigna  <jug@sad.it>
11044
11045         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11046         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11047
11048 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11049
11050         * buffer.C (getBibkeyList): If using \bibliography, return the
11051         option field with the reference itself. Enables us to provide natbib
11052         support when using \bibliography.
11053
11054 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11055
11056         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11057
11058         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11059         natbib is provided by the LaTeX class.
11060
11061 2002-04-23  Juergen Vigna  <jug@sad.it>
11062
11063         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11064         Wakeup functions.
11065
11066         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11067
11068 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11071
11072         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11073         ensuremath around textordmasculine, textordfeminine and
11074         textdegree.
11075
11076 2002-04-19  Juergen Vigna  <jug@sad.it>
11077
11078         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11079         reinitializing the buffer otherwise row-dimensions may be wrong.
11080         (update): reset also the selection cursors if they do exits otherwise
11081         their x/y positions may be wrong.
11082
11083         * text2.C (cursorDown): don't enter the inset if we came from a row
11084         above and are one row over the inset.
11085
11086         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11087         really leaving an inset.
11088
11089 2002-04-18  Juergen Vigna  <jug@sad.it>
11090
11091         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11092         of the selected paragraph does not have the selected layout also if
11093         the last one had!
11094
11095         * text2.C (setLayout): fixed bug which did not change last selected
11096         paragraph.
11097
11098         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11099         changed the read and substituted \\end_float with \\end_inset!
11100
11101         * BufferView_pimpl.C (cursorPrevious):
11102         (cursorNext): fixed to make it work with rows heigher than the work
11103         area without moving the cursor only the draw of the row.
11104         (workAreaMotionNotify): fix jumping over high rows.
11105
11106 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11107
11108         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11109         Ressler.
11110
11111 2002-04-16  Juergen Vigna  <jug@sad.it>
11112
11113         * text2.C (setCursor): set also the irow().
11114         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11115         (cursorUp):
11116         (cursorDown): support for locking an inset if the x_fix value goes
11117         inside it. That way I can transverse insets too with cursor up/down.
11118
11119         * lyxrow.h: added irow helper function same as other (i) functions.
11120
11121         * BufferView_pimpl.C (cursorPrevious):
11122         (cursorNext): fixed for insets!
11123
11124 2002-04-15  Juergen Vigna  <jug@sad.it>
11125
11126         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11127         position otherwise it is wrong in some cases.
11128
11129         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11130         inside the inset before the call.
11131
11132 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11133
11134         * buffer.[Ch] (getBibkeyList): make it const.
11135
11136 2002-04-12  Juergen Vigna  <jug@sad.it>
11137
11138         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11139
11140         * text2.C (getCursorX): new helper function
11141         (setCursor): compute also ix_
11142         (setCursorFromCoordinates): set also ix.
11143
11144         * lyxcursor.h: added ix_ and helper functions.
11145
11146         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11147
11148         * buffer.C (insertStringAsLines): dont break paragraph if the this
11149         paragraph is inside an inset which does not permit it!
11150
11151         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11152         also with no chars on this paragraph.
11153         (paintRowText): only paint stuff if it's inside the workarea!
11154
11155         * paragraph.C (breakParagraph): honor keepempty flag and break the
11156         paragraph always below not above.
11157
11158         * BufferView2.C (unlockInset): update the paragraph layout on inset
11159         unlock as we changed paragraph in such a case.
11160
11161         * lyxfind.C (LyXFind): clear the former selection if not found!
11162
11163         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11164         again called in insertChar().
11165
11166         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11167         an inset which uses the whole row!
11168         (rightMargin): ditto.
11169         (insertChar): force a rebreak if we inserted an inset!
11170
11171 2002-03-28  Herbert Voss  <voss@lyx.org>
11172
11173         * lyxlength.[Ch]: add inBP() to get the right PS-point
11174         units (BigPoint). With inPixels we have rounding errors
11175
11176 2002-04-11  Juergen Vigna  <jug@sad.it>
11177
11178         * text2.C (setCursorFromCoordinates): set iy to the right value.
11179         (setCursor): add check if row->previous exists!
11180
11181         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11182         an old float_type as this was the case in the old code!
11183
11184         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11185
11186         * BufferView2.C (showLockedInsetCursor): use iy
11187         (fitLockedInsetCursor): ditto
11188
11189         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11190         locked insets as there we have the right value now.
11191
11192         * lyxcursor.C: added iy_ variable and iy functions to set to the
11193         baseline of cursor-y of the locked inset.
11194
11195         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11196         (setCursor): fixed for insets which need a full row.
11197
11198         * text.C (rowLastPrintable): don't ignore the last space when before
11199         an inset which needs a full row.
11200         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11201         as last character of a row when before a inset which needs a full row.
11202
11203 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * version.C.in: update date
11206
11207         * text2.C (fullRebreak): try to always return true and see what
11208         happens...
11209
11210 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * MenuBackend.C (expand): use Floating::listName
11213
11214         * FloatList.C (FloatList): add listName argument to the built-in
11215         floats
11216
11217         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11218         text associated with the float.
11219
11220 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11223
11224 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * ShareContainer.h: add a couple of missing typenames.
11227
11228 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11229
11230         * lyxrc.C (getDescription): use _() correctly rather than N_().
11231
11232 2002-03-28  Herbert Voss  <voss@lyx.org>
11233
11234         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11235         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11236
11237 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11240         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11241
11242 2002-03-29  Juergen Vigna  <jug@sad.it>
11243
11244         * lyxfunc.C (dispatch): add a missing fitCursor call.
11245
11246         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11247         it was scrolled by a cursor move, so return the bool status.
11248
11249         * BufferView.C (fitCursor): return the bool flag also to the outside
11250         world as this is needed.
11251
11252         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11253
11254         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11255         call the edit() as it is not needed (and wrong) IMO.
11256         (workAreaButtonPress): set the screen_first variable before evt.
11257         unlock the inset as this may change screen_first and then we have
11258         a wrong y position for the click!
11259
11260 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11261
11262         * MenuBackend.C (expand): another translation that I missed
11263
11264 2002-03-28  Juergen Vigna  <jug@sad.it>
11265
11266         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11267
11268         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11269
11270 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11271
11272         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11273
11274         * MenuBackend.C (expand): fix export/view/update when there is no
11275         document open.
11276
11277 2002-03-27  Herbert Voss  <voss@lyx.org>
11278
11279         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11280         and text%
11281
11282 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11283
11284         * bufferview_funcs.C (currentState): only show paragraph number
11285         for is DEVEL_VERSION is set.
11286
11287         * lyxfunc.C (dispatch): put warning in INFO channel
11288
11289         * MenuBackend.C (expand): translate the name of floats
11290
11291         * FloatList.C (FloatList): mark the float names for translation
11292
11293         * converter.C (convert): use LibScriptSearch
11294
11295 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11296
11297         * MenuBackend.C (defaults): fix default menu (we might as well get
11298         rid of it...)
11299
11300 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11301
11302         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11303         directory.
11304
11305 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * lyxvc.C: reorder includes.
11308
11309 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11312           properly
11313
11314 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * CutAndPaste.C: change layouts earlier on paste
11317           to avoid crashing when calling getFont()
11318
11319 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11320
11321         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11322         irritating #error.
11323
11324 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * WorkArea.C: remove 'Pending' debug message.
11327
11328         * most files: ws cleanup
11329
11330         * buffer.[Ch]: ws changes
11331
11332         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11333
11334 2002-03-21  Juergen Vigna  <jug@sad.it>
11335
11336         * tabular.C (SetMultiColumn): collapse also the contents of the
11337         cells and set the last border right. Added a Buffer const * param.
11338
11339 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11340
11341         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11342         linking or not.
11343
11344 2002-03-19  Juergen Vigna  <jug@sad.it>
11345
11346         * text2.C (clearSelection): reset also xsel_cache.
11347
11348         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11349         where it needs to be called (John tells us to do so too :)
11350         (selectionLost): reset sel_cache.
11351
11352         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11353
11354 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * text2.C (setCursorIntern): put debuging code in INSETS channel
11357
11358 2002-03-19  André Pönitz <poenitz@gmx.net>
11359
11360         * lyxfunc.C: tiny whitespace change
11361
11362 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * ToolbarDefaults.C (init):
11365         * LyXAction.C (init):
11366         * commandtags.h:
11367         * BufferView_pimpl.C (Dispatch):
11368         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11369
11370 2002-03-19  Allan Rae  <rae@lyx.org>
11371
11372         * exporter.C (Export): removeAutoInsets before doing anything else.
11373         While I've just introduced a dependency on BufferView this really is
11374         the best place to clean the buffer otherwise you need to cleanup in
11375         a dozen places before calling export or cleanup in a dozen functions
11376         that export calls.
11377
11378         * converter.C (runLaTeX):
11379         (scanLog): Better handling of removeAutoInsets and screen updates.
11380
11381         * lyxfunc.C (dispatch): small whitespace changes
11382
11383 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * WorkArea.C (C_WorkAreaEvent): return a value.
11386         (event_cb): return 1 if we handled the event, 0 otherwise.
11387
11388         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11389
11390 2002-03-18  Juergen Vigna  <jug@sad.it>
11391
11392         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11393         (GetAdditionalWidth): ditto.
11394         (RightLine): ditto.
11395         (LeftLine): ditto.
11396
11397         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11398         inset if we're there actually (probably not used right now but this
11399         is the direction to go for unifying code).
11400         (paste): disable code to clear the selection.
11401
11402         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11403         inside an InsetText and move the check further up as it is in the
11404         wrong place.
11405
11406         * text2.C (pasteSelection): set a selection over the pasted text.
11407
11408 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11409
11410         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11411         and libgraphics to build on Cygwin.
11412
11413 2002-03-15  Juergen Vigna  <jug@sad.it>
11414
11415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11416         inserting an Inset into the paragraph. I know this is not the best
11417         fix but we already use current_view in CutAndPaste so we will remove
11418         all of it's using at the same time.
11419
11420         * buffer.C (sgmlError): deactivated function till it is rewritten in
11421         the right mode, now it can create problems.
11422
11423         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11424         before accessing it.
11425
11426 2002-03-14  Juergen Vigna  <jug@sad.it>
11427
11428         * undo_funcs.C (textHandleUndo): do the right thing when updating
11429         the inset after the undo/redo.
11430
11431         * text2.C (setCursor): just some testcode for #44 not ready yet.
11432
11433         * undo_funcs.C (textHandleUndo): set the next() and previous()
11434         pointers of the paragraph to 0 before deleting otherwise we have
11435         problems with the Paragraph::[destructor].
11436
11437         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11438         on a paragraph insertion.
11439
11440 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * buffer.C (asciiParagraph): use += operator for char append to
11443         string.
11444
11445         * paragraph.C (getFontSettings): compare >= not just >
11446         (highestFontInRange): ditto
11447         (setFont): ditto
11448
11449 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * paragraph.C: change several algorithm to be more appripriate for
11452         the problem domain. This is lookip in FontList and in the InsetList.
11453
11454 2002-03-13  André Pönitz <poenitz@gmx.net>
11455
11456         * commandtags.h:
11457         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11458
11459 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11460
11461         * commandtags.h:
11462         * LyXAction.C:
11463         * lyxfunc.C:
11464         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11465
11466 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11467
11468         * Painter.C (display): anon helper function, adjust code for this
11469         change.
11470         (pixmap): remove function.
11471
11472         * Painter.h: remove private display variable.
11473
11474         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11475
11476 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11477
11478         * WorkArea.[Ch]: remove figinset_canvas cruft.
11479
11480 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11481
11482         * lyxtextclass.C (operator): add one item cache optimization.
11483
11484         * bufferlist.h: doxy changes
11485
11486         * bufferlist.C: ws changes
11487
11488         * DepTable.[Ch] (ext_exist): place const in the right spot.
11489
11490         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11491         call resizeInsets.
11492         (workAreaExpose): call resizeInsets when the with BufferView changes.
11493         (Dispatch): adjust for protectedBlank removal
11494         (specialChar): call updateInset if the insert went ok.
11495
11496         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11497         specialChar instead.
11498
11499         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11500
11501         * BufferView.h: doxy change
11502
11503         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11504
11505         * lyxtextclass.C (operator[]): remove non-const version
11506         (defaultLayout): remove non-const version
11507
11508 2002-03-12  Juergen Vigna  <jug@sad.it>
11509
11510         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11511         did resize the LyXText too.
11512
11513         * buffer.C (readLyXformat2): set layout information on newly allocated
11514         paragraphs.
11515
11516         * tabular.C (OldFormatRead): set layout information on the paragraph.
11517
11518 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11519
11520         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11521
11522 2002-03-11  Juergen Vigna  <jug@sad.it>
11523
11524         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11525         plainly wrong.
11526         (resizeCurrentBuffer): force also the insets to resize themselfes.
11527         (moveCursorUpdate): fixed up for InsetText.
11528
11529 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11530
11531         * commandtags.h:
11532         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11533         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11534         value of Dialogs::tooltipsEnabled().
11535         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11536
11537 2002-03-08  Juergen Vigna  <jug@sad.it>
11538
11539         * BufferView_pimpl.C (updateInset): update inset inside inset also
11540         if it isn't inside theLockingInset().
11541
11542 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * buffer.C (asciiParagraph): redo some of the word and line length
11545         handling.
11546         (getLists): look for Caption instead of caption.
11547
11548 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * buffer.C (Buffer): initialize niceFile to true
11551         (makeLaTeXFile):
11552         (makeLinuxDocFile):
11553         (makeDocBookFile): make sure niceFile is true on exit
11554
11555 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11556
11557         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11558
11559 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11560
11561         * LyXSendto.C: remove.
11562         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11563         * lyx_gui.C: remove now-redundant comment.
11564         * ColorHandler.h: remove forward declaration of class WorkArea.
11565         * lyxfunc.C: remove #include "WorkArea.h".
11566
11567 2002-03-07  Juergen Vigna  <jug@sad.it>
11568
11569         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11570         got moved away with the DEPM and also set the inset_owner always
11571         right which before could have been omitted.
11572
11573 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11576         wanted layout is not found.
11577
11578 2002-03-07  Juergen Vigna  <jug@sad.it>
11579
11580         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11581
11582 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * paragraph.C (breakParagraph): use default layout not layout of
11585         prev paragraph.
11586         (Paragraph): clear ParagraphParameters.
11587
11588 2002-03-06  Juergen Vigna  <jug@sad.it>
11589
11590         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11591         otherwise it would not be a valid lenght. Fixed a special case in
11592         the minipage compatibility read where we end the document with a
11593         minipage.
11594
11595         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11596         was set as it could be 0 for InsetTexts first entry.
11597
11598 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * paragraph.C (writeFile): if layout is empty write out
11601         defaultLayoutName().
11602
11603         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11604         file without named layout we set layout to defaultLayoutName().
11605
11606 2002-03-06  Juergen Vigna  <jug@sad.it>
11607
11608         * CutAndPaste.C (copySelection): set layout for new paragraph.
11609
11610         * text.C (prepareToPrint): leave ERT inset left aligned
11611         (leftMargin): don't indent paragraphs inside ERT insets
11612
11613 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11614
11615         * paragraph.C (breakParagraph): dont call clear do the work manually
11616
11617         * paragraph.[Ch] (clear): remove function
11618
11619 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * paragraph.C (Paragraph): dont call clear, the work has already
11622         been done.
11623
11624         * lyxtextclass.C (operator): assert if n is empty
11625
11626         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11627         work manually instead.
11628
11629 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * BufferView_pimpl.C: protect selectionLost against text == 0
11632
11633 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11634
11635         * text.C (breakParagraph): fix a setting layout to '0' problem.
11636
11637 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11638
11639         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11640         final location of file, for the included files, and graphics.
11641
11642 2002-03-05  Juergen Vigna  <jug@sad.it>
11643
11644         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11645
11646 2002-03-04  Juergen Vigna  <jug@sad.it>
11647
11648         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11649
11650         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11651         last column of multicolumn cells.
11652         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11653
11654 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11655
11656         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11657         file if it doesn't go to a temporary file.
11658
11659         * buffer.C (sgmlOpenTag):
11660         (sgmlCloseTag):  remove extra newline insertion.
11661
11662 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11663
11664         * text.C (getRowNearY): comment out debug msg
11665
11666 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * text2.C: first -> first_y
11669
11670         * text.C (getRowNearY): add some attemts at a possible
11671         optimization, not working.
11672
11673         * tabular.[Ch]: add BufferParams to several function so that newly
11674         created paragraph can be initialized to he default layotu for the
11675         buffers textclass.
11676
11677         * tabular-old.C (ReadOld): add buf->params to call of Init
11678
11679         * screen.C: rename text->first to text->first_y
11680
11681         * paragraph.C (breakParagraph): always set layout in the broken
11682         paragraph
11683
11684         * lyxtextclass.C (Read): remove lowercase
11685         (hasLayout): ditto
11686         (operator): ditto
11687         (delete_layout): ditto
11688
11689         * lyxtext.h: rename first -> first_y
11690
11691         * lyxlayout.C (Read): remove lowercase
11692         (name): ditto
11693         (setName): ditto
11694         (obsoleted_by): ditto
11695
11696         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11697
11698         * buffer.C (insertErtContents): add params are to InsetERT
11699         (parseSingleLyXformat2Token): add code to check if a paragraphs
11700         layout really exist.
11701         (parseSingleLyXformat2Token): add params to several inset
11702         constructors
11703         (asciiParagraph): remove lowercase, do the layout comparisons with
11704         no_case
11705
11706         * BufferView_pimpl.C (cursorNext): first -> first_y
11707         (resizeCurrentBuffer): first -> first_y
11708         (updateScrollbar): first -> first_y
11709         (scrollCB): first -> first_y
11710         (workAreaMotionNotify): first -> first_y
11711         (workAreaButtonPress): first -> first_y
11712         (checkInsetHit): first -> first_y
11713         (cursorPrevious): first -> first_y
11714         (cursorNext): first -> first_y
11715         (Dispatch): add buffer_->params to severl inset contructors
11716
11717 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11718
11719         * lyxlayout.C (Read): remove some debug info that I forgot.
11720
11721         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11722         clean up the code slightly.
11723         (makeLinuxDocFile): ditto
11724         (makeDocBookFile): ditto
11725
11726         * text2.C: layout as string
11727
11728         * text.C: layout as string
11729
11730         * paragraph_pimpl.C: layout as string
11731
11732         * paragraph.[Ch]: layout as string
11733
11734         * lyxtextclasslist.[Ch]: layout as string
11735
11736         * lyxtextclass.[Ch]: layout as string
11737
11738         * lyxtext.h: layout as string
11739
11740         * lyxlayout.[Ch]: layout as string
11741
11742         * lyx_cb.C: layout as string
11743
11744         * bufferview_funcs.C: layout as string
11745
11746         * bufferparams.C: layout as string
11747
11748         * buffer.C: layout as string
11749
11750         * LyXView.[Ch]: layout as string
11751
11752         * LaTeXFeatures.[Ch]: layout as string
11753
11754         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11755
11756         * BufferView_pimpl.C: change current_layout to string, remove
11757         lyx::layout_type.
11758         (Dispatch):
11759         (smartQuote):
11760         (insertInset):
11761         (workAreaButtonRelease): layout as string
11762
11763         * BufferView2.C (unlockInset): adjust
11764
11765         * vspace.C (asLatexCommand): use an explict temp variable.
11766
11767 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11768
11769         * Makefile.am: use FRONTEND_*
11770
11771 2002-03-01  Juergen Vigna  <jug@sad.it>
11772
11773         * tabular.C (SetWidthOfMulticolCell): changed to something better
11774         I hope but still work in progress.
11775         (recalculateMulticolumnsOfColumn): renamed function from
11776         recalculateMulticolCells as it is more appropriate now.
11777         (SetWidthOfCell): calculate multicols better.
11778
11779 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11780
11781         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11782
11783         * lyxfunc.C (processKeySym): print sequence also if it is
11784         `deleted' (complete)
11785
11786         * kbsequence.C (print): print sequence even if it is deleted
11787         (complete would be a better word, actually).
11788
11789         * lyxfunc.C (dispatch): print complete options after a prefix key
11790
11791         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11792
11793 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11794
11795         * text2.C (setCharFont): eliminate setCharFont code duplication.
11796
11797 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11798
11799         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11800         LFUN_TABULAR_FEATURE (bug #177)
11801
11802 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11803
11804         * Makefile.am: remove figure.h
11805
11806 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11807
11808         * Bufferview_pimpl.C:
11809         * CutAndPasteC:
11810         * LaTeX.C:
11811         * LyXSendto.C:
11812         * buffer.C:
11813         * bufferlist.C:
11814         * converter.C:
11815         * language.C:
11816         * lyxfunc.C:
11817         * lyxvc.C:
11818         * paragraph.C:
11819         * text.C:
11820         * text2.C: remove #include "lyx_gui_misc.h".
11821
11822         * LaTeX.C: added #include <cstdio>
11823
11824 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11825
11826         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11827         that the paragraph following this one can have.
11828
11829         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11830
11831         * vspace.C (asLatexCommand): fix bogus gcc warning
11832
11833         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11834
11835 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11836
11837         * text2.C (setLayout): get rid of redundant code
11838
11839 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11840
11841         * text2.C (incDepth): make sure depth cannot be increased beyond
11842         reasonable values.
11843
11844 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11845
11846         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11847         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11848
11849         * PainterBase.h (image):
11850         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11851         a LyXImage const *.
11852
11853 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * BufferView.C:
11856         * BufferView.h:
11857         * BufferView_pimpl.C:
11858         * BufferView_pimpl.h:
11859         * LaTeXFeatures.C:
11860         * LyXAction.C:
11861         * LyXView.C:
11862         * Makefile.am:
11863         * UpdateList.h:
11864         * UpdateList.C:
11865         * buffer.C:
11866         * figure.h:
11867         * figureForm.C:
11868         * figureForm.h:
11869         * figure_form.C:
11870         * figure_form.h:
11871         * lyx_cb.C:
11872         * lyx_gui.C:
11873         * lyx_gui_misc.C:
11874         * lyxfunc.C:
11875         * sp_base.h:
11876         * sp_ispell.h:
11877         * sp_pspell.h:
11878         * sp_spell.C: remove fig inset, and the crap house of
11879           cards that follows it
11880
11881 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * Makefile.am:
11884         * lyxserver.C:
11885         * os2_defines.h:
11886         * os2_errortable.h:
11887         * nt_defines.h: move .h into support/
11888
11889         * vms_defines.h: remove
11890
11891         * WorkArea.C: add space in debug output
11892
11893         * text2.C:
11894         * paragraph.C:
11895         * buffer.C: add WITH_WARNINGS
11896
11897         * vc-backend.h:
11898         * vc-backend.C:
11899         * bufferlist.C: s/retrive/retrieve/, add docs
11900
11901         * vspace.h:
11902         * vspace.C:
11903         * kbmap.h:
11904         * lyxlength.h:
11905         * lyxgluelength.h:
11906         * length_common.h:
11907         * chset.h:
11908         * chset.C: add docs
11909
11910         * lyxgui.C: add ID to X error handler
11911
11912         * lyxtestclass.c: fix typo
11913
11914 2002-02-26  Juergen Vigna  <jug@sad.it>
11915
11916         * tabular_funcs.C (write_attribute): changed so that some default
11917         attributes are not written at all.
11918         (getTokenValue): set default values before trying to read the
11919         value so we have the return value always set as default if we don't
11920         find the token we search for.
11921
11922         * tabular.C (Write): write bools as bools not as strings!
11923
11924 2002-02-22  Juergen Vigna  <jug@sad.it>
11925
11926         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11927         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11928
11929         * text.C (leftMargin): don't add an indent for paragraphs inside
11930         tabular cells (fix #208).
11931
11932 2002-02-21  José Matos  <jamatos@fep.up.pt>
11933
11934         * tabular.C (docBook): fixed support for long tables.
11935
11936 2002-02-20  Juergen Vigna  <jug@sad.it>
11937
11938         * text2.C (getFont): get the drawing font of the Inset if this
11939         paragraph is inside an inset (only important for InsetERT for now).
11940
11941         * buffer.C (insertErtContents): use new lanugage params in ERT
11942         constructor.
11943
11944         * CutAndPaste.C: commenting out seemingly uneeded code.
11945
11946 2002-02-19  Allan Rae  <rae@lyx.org>
11947
11948         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11949         Iterators might be simple to use but they also get invalidated.
11950         (removeAutoInsets): renamed saved cursor tracking variables and added
11951         some comments to clarify what everything does.
11952
11953 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11954
11955         * Chktex.C:
11956         * LaTeX.C:
11957         * LyXSendto.C:
11958         * converter.C:
11959         * lyx_cb.C:
11960         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11961         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11962
11963         * lyxfunc.C:
11964         * vc-backend.h: remove #include "support/syscall.h"
11965
11966         * LaTeX.C:
11967         * LyXSendto.C:
11968         * converter.C: rearrange #includes in Lars' approved fashion.
11969
11970         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11971         forward declare class Timeout in the header file.
11972
11973         * XFormsView.C: changes due to the above.
11974
11975         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11976         similar to LyXView.
11977
11978         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11979         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11980
11981 2002-02-18  José Matos  <jamatos@fep.up.pt>
11982
11983         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11984         insets contents.
11985
11986 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11987
11988         * a lot of small ws changes
11989         * add a lot of using std::XXX
11990         * use std construcs some places where approp.
11991         * use some exisint stuff from lyxfunctional where approp.
11992         * Make file changes to use partial linking (lets test this now...)
11993
11994 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11995
11996         * Chktex.C:
11997         * buffer.C:
11998         remove #include "support/syscontr.h" as it's redundant. Always has been.
11999
12000         * Chktex.C:
12001         * LaTeX.C:
12002         * LyXSendto.C:
12003         * converter.C:
12004         * lyx_cb.C:
12005         * vc-backend.C:
12006         change Systemcalls::System to Systemcalls::Wait and
12007         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12008         No change of functionality, just reflects the stripped down Systemcalls
12009         class.
12010
12011 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12012
12013         * debug.[Ch]: add a GRAPHICS type to the enum.
12014
12015 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12016
12017         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12018
12019         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12020         there is an inset.
12021
12022 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12023
12024         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12025         match the changes below.
12026
12027         * text2.C (toggleInset): if there is not editable inset at cursor
12028         position, try to see if cursor is _inside_ a collapsable inset
12029         and close it.
12030
12031 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12032
12033         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12034         document menu has a nice checkbox
12035
12036 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * lyxlength.C (asLatexString): change PW to output as percent of
12039         \textwidth.
12040
12041         * lengthcommon.C: change '%' to 't%'
12042
12043         * lyxfunc.C (dispatch): a few comments from Martin
12044
12045 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * WorkArea.h:
12048         * WorkArea.C:
12049         * BufferView_pimpl.h:
12050         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12051           the X selection.
12052
12053 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12054
12055         * vspace.C (inPixels): fix compiler warning
12056
12057 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12058
12059         * lyxfunc.C (getStatus): fix status message for disabled commands.
12060
12061 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12062
12063         * BufferView_pimpl.C: fix crash on close buffer
12064         during selection (#227)
12065
12066 2002-01-27  Herbert Voss  <voss@lyx.org>
12067
12068         * buffer.C: link old Figure to new graphic inset
12069
12070 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12071
12072         * FontLoader.C (getFontinfo): Change the latex font names in order
12073         to match the names of type1inst.
12074
12075 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12076
12077         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12078
12079         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12080         (extchanged): ditto
12081         (ext_exist): ditto
12082         (remove_files_with_extension): ditto
12083         (remove_file): ditto
12084         (write): ditto
12085
12086         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12087         document is smaller than the work area height. Do not initialize
12088         static variables to 0.
12089
12090 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12091
12092         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12093
12094         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12095         LFUN_LAYOUT_PARAGRAPHS.
12096
12097         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12098         tabular. It is possible to provide a possible cell, which will
12099         typically be the actcell from the corresponding insettabular
12100
12101         * lyxfunc.C (getStatus): small cleanup; disable
12102         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12103         true
12104
12105 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12106
12107         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12108
12109         * paragraph.C (startTeXParParams):
12110         (endTeXParParams): new methods. The LaTeX code to
12111         start/end paragraph formatting
12112         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12113         empty (fixes bug #200)
12114
12115         * vspace.C (inPixels): adapt to the change below
12116         (inPixels): [later] more cleanups (remove unused variables)
12117
12118         * lyxlength.C (inPixels): change to use a width and a height as
12119         parameter.
12120
12121 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12122
12123         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12124         Replaced with \paperwidth
12125
12126         * DepTable.C (insert): add std:: qualifier
12127
12128 2002-01-18  Allan Rae  <rae@lyx.org>
12129
12130         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12131         updated also?
12132
12133         * text.C (drawInset): Turned out I didn't know enough about how
12134         rebreaking worked.  This fixes most of the redraw problems.  I see
12135         an occasional cursor trail when a line is broken now and the cursor
12136         placement can seem out by a few pixels also after a rebreak.
12137
12138 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12139
12140         * buffer.C (parseSingleLyXformat2Token): update because minipage
12141         width is now a LyXLength
12142
12143         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12144
12145         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12146         math insets
12147
12148 2002-01-17  Juergen Vigna  <jug@sad.it>
12149
12150         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12151
12152         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12153         is set correctly and the inset is updated correctly.
12154
12155 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12156
12157         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12158         the beginning of the loop.
12159
12160 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12161
12162         * lyxrc.C: improve help for use_scalable_fonts
12163
12164 2002-01-17  Allan Rae  <rae@lyx.org>
12165
12166         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12167
12168 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12169
12170         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12171         make sure to set their inset_owner to the right value (bug #171)
12172
12173 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12174
12175         * DepTable.h
12176         * DepTable.C: Implement mtime checking to reduce time spent doing
12177         CRCs.
12178
12179 2002-01-16  Juergen Vigna  <jug@sad.it>
12180
12181         * tabular.C (GetAdditionalHeight): one of error fixed.
12182
12183         * lyxrc.C (output): small fix in writing use_pspell.
12184
12185 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12186
12187         * sp_base.h: #include LString.h
12188
12189 2002-01-16  Allan Rae  <rae@lyx.org>
12190
12191         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12192         Can someone check this please?
12193
12194         * text.C (drawInset): It was possible that p.row would be removed by
12195         breakAgainOneRow upsetting a few other settings.  There may be another
12196         small tweak possible by setting need_break_row = 0 when p.row has been
12197         removed but I don't know enough about the logic here.
12198
12199 2002-01-15  Allan Rae  <rae@lyx.org>
12200
12201         * text.C (insertChar): removed conditional truism.
12202
12203         * BufferView2.C (removeAutoInsets): More tweaks.
12204         cur_par_prev could be a stray pointer.  Check for trailing empty line
12205         in case last line was cur_par and only had an error inset on it.
12206
12207 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12208
12209         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12210         absolute
12211
12212         * vc-backend.C (most methods):
12213         * exporter.C (Export):
12214         * converter.C (convert):
12215         (runLaTeX):
12216         * LyXSendto.C (SendtoApplyCB):
12217         * lyxfunc.C (dispatch):
12218         (menuNew):
12219         (open):
12220         (doImport):
12221         * lyx_cb.C (AutoSave):
12222         (InsertAsciiFile):
12223         * BufferView_pimpl.C (MenuInsertLyXFile):
12224         * buffer.C (runChktex): use Buffer::filePath().
12225
12226         * buffer.h: rename filename to filename_; rename filepath to
12227         filepath_ and make it private
12228         (filePath): new method
12229
12230         * buffer.C (writeFile): use fileName()
12231         (getLatexName):
12232
12233         * lyx_main.C (init): fix starting  of LyX when the binary is a
12234         link from so,ewhere else.
12235
12236         * minibuffer.C: include <cctype> for isprint
12237
12238 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12239
12240         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12241         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12242         name clash with InsetCollapsable's width function.
12243
12244 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * lastfiles.C: include <iterator>
12247
12248 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12251         std::count.
12252
12253         * buffer.C (makeLaTeXFile): ditto.
12254         Also make loop operation more transparent.
12255
12256 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12257
12258         * ToolbarDefaults.C: remove trailing comma closing namespace.
12259
12260         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12261
12262         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12263         as in WorkArea.
12264
12265         * trans.C (Load): comment out unused variable, allowed.
12266
12267 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12268
12269         * minibuffer.[Ch] (append_char): new method to recieve input from the
12270         drop-down completion browser. If a key was pressed, then recieve this
12271         char and append it to the existing string.
12272         (peek_event): modify the positioning data passed to the completion
12273         browser so that it can be placed above the minibuffer rather than below.
12274 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12275
12276         * LyXAction.C (init): alloe error-next for readonly documents.
12277
12278         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12279         count.
12280
12281 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * bufferlist.C (readFile): create the buffer _after_ checking that
12284         the file exists.
12285
12286         * lyxfunc.C (verboseDispatch): fix handling of arguments
12287
12288         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12289
12290         * lyxrc.C: use string::erase() instead of initializing to "".
12291
12292
12293 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * BufferView_pimpl.h:
12296         * BufferView_pimpl.C:
12297         * WorkArea.h:
12298         * WorkArea.C:
12299         * text2.C: tell X when we have made a selection for copying
12300
12301 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * BufferView_pimpl.C (MenuInsertLyXFile):
12304         * lyxfunc.C (menuNew):
12305         (open):
12306         (doImport): add shortcuts to directory buttons
12307
12308         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12309         open a float)
12310
12311         * lyxfunc.C (setStatusMessage):
12312         (getStatusMessage): new methods
12313         (getStatus):use setStatusMessage instead of setErrorMessage
12314         (dispatch): when function is disabled, set error message here
12315         [instead of in getStatus previously]
12316
12317         * BufferView_pimpl.C (workAreaButtonRelease): update
12318         toolbar/menubar here too.
12319
12320 2002-01-13  Allan Rae  <rae@lyx.org>
12321
12322         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12323         Now seems indestructible.  Remaining task is to audit all other
12324         code affected by deleteEmptyParagraphMechanism.  One small quirk
12325         left is that an empty document with an error in the preamble can
12326         be made to report an error but no error box appears.  I don't know
12327         where it goes.
12328         (removeAutoInsets): Improved comments.
12329
12330 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12331
12332         * Thesaurus.h:
12333         * Thesaurus.C: update for Aiksaurus 0.14
12334
12335 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12336
12337         * text2.C (firstParagraph): removed member function, all uses
12338         replaces with ownerParagraph
12339         (redoParagraphs): here
12340         (updateInset): here
12341         (toggleAppendix): here
12342         * BufferView2.C (insertErrors): here
12343         (setCursorFromRow): here
12344
12345 2002-01-13  Allan Rae  <rae@lyx.org>
12346
12347         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12348         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12349         There is still a way to segfault this although you may have to do this
12350         multiple times: Have an InsetERT with an unknown command in it.
12351         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12352         <down-arrow>, <Enter> again, View->DVI, BANG!
12353
12354         * text2.C (setCursor):
12355         (deleteEmptyParagraphMechanism):
12356         * lyxtext.h (setCursor):
12357         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12358         Making use of the return value may help fix other bugs.
12359
12360 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12361
12362         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12363
12364         * LyXView.C (updateMenubar): call MenuBar::update here
12365         (updateToolbar): but not here
12366         (showState): do not update toolbar/menubar
12367
12368         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12369         should need to care about that.
12370
12371         * lyxfunc.C (verboseDispatch): simplify a bit
12372         (getStatus): have a version which takes a pseudoaction, and
12373         another which requires a (kb_action,string).
12374
12375         * LyXAction.C (retrieveActionArg): make it work also when action
12376         is not a pseudo-action.
12377         (getActionName): simplify a bit
12378         (helpText):
12379
12380 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12381
12382         * lyxfunc.C (verboseDispatch): new families of methods with
12383         several ways to specify a command and a bool to indicate whether
12384         the command name and shortcut should be displayed in minibuffer
12385         (eventually, we could extend that to a finer bitmask like
12386         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12387         (dispatch): the pristine dispatch command which just, well,
12388         dispatchs! Note it still sets its result to minibuffer; I'm not
12389         sure we want that.
12390
12391         * lyxfunc.h: remove setHintMessage
12392
12393         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12394
12395 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12396
12397         * BufferView_pimpl.C (specialChar): delete new inset if we have
12398         not been able to insert it.
12399
12400         * kbmap.C: revert to using int instead of kb_action, since all we
12401         are dealing with is pseudo-actions.
12402
12403         * LyXAction.C (searchActionArg): change to return int instead of
12404         kb_action, since the result is a pseudoaction.
12405
12406 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12407
12408         * buffer.C (insertErtContents): Fix (partially) the font bug.
12409
12410 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12411
12412         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12413         as the other one is broken on my machine!
12414
12415 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12416
12417         * commandtags.h:
12418         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12419
12420 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12421
12422         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12423         reflect their actual use. Provide compatibility code for older lyxrc
12424         files.
12425
12426         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12427         FL_NORMAL_STYLE.
12428         change names of popup font variables in line with the changes to lyxrc.C
12429
12430 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12431
12432         * buffer.C (asciiParagraph): avoid outputing a word twice after
12433         an inset.
12434
12435         * lyxrc.C (getDescription): document that document_path and
12436         template_path can be empty.
12437
12438 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * LaTeXFeatures.C (getMacros):
12441         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12442
12443         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12444
12445         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12446         getPackages.
12447         (getPackages): rename feature "floats" to "float". Use an array to
12448         iterate over 'simple' features (i.e. just a \usepackage). Add
12449         handling of "amsmath" (renamed from "amsstyle").
12450
12451 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12452
12453         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12454         features list.
12455
12456 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12459         FuncStaus::FuncStatus & FuncStaus::some_method().
12460
12461 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12462
12463         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12464         of the func_satus stuff. Edited and massaged in various ways by
12465         JMarc.
12466
12467         * lyxfunc.C (getStatus): use FuncStatus
12468
12469 2002-01-08  Juergen Vigna  <jug@sad.it>
12470
12471         * text.C (nextBreakPoint): use function Inset::isChar().
12472
12473         * paragraph.C (TeXOnePar): use function
12474         Inset::forceDefaultParagraphs.
12475
12476         * buffer.C (latexParagraphs): use function
12477         Inset::forceDefaultParagraphs.
12478
12479 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12480
12481         * lyx_gui.C (init): set the style of the menu popups to
12482         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12483
12484 2002-01-07  Juergen Vigna  <jug@sad.it>
12485
12486         * text.C (setHeightOfRow): small fix
12487         (prepareToPrint): don't look at alignment if we don't have the place
12488         for doing it.
12489
12490 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * box.C: New file. Move the Box methods and functions out of box.h,
12493         following Lars' suggestion.
12494
12495 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12496
12497         * box.h: #include "support/LOstream.h", needed for inlined function.
12498
12499         * lyxtextclass.C:
12500         * lyxtextclasslist.C: added some using std declarations.
12501
12502 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12503
12504         * box.h: make signed dimensions to allow insets wider than
12505           the screen (bug #162)
12506
12507         * BufferView_pimpl.C: add some insetHit debug
12508
12509 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12510
12511         * vc-backend.C: add FIXME
12512
12513 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * lyxfunc.C (getStatus): enable code for showing math font status
12516         in toolbar/menu.
12517
12518 2002-01-07  Juergen Vigna  <jug@sad.it>
12519
12520         * text.C (nextBreakPoint): removed debug output not needed anymore.
12521
12522 2002-01-06  Juergen Vigna  <jug@sad.it>
12523
12524         * text.C (nextBreakPoint): fixed up this function we had this bug
12525         since ever but now hopefully we break row better.
12526         (insertChar): we have to check if an inset is the next char as it
12527         could now happen that a large inset is causing a break.
12528
12529 2002-01-05  Juergen Vigna  <jug@sad.it>
12530
12531         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12532         if it doesn't like to be drawed.
12533
12534 2002-01-04  Juergen Vigna  <jug@sad.it>
12535
12536         * BufferView2.C (lockInset): forgot to set a cursor.
12537
12538         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12539
12540 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12541
12542         * FormMathsPanel.C:
12543         * FormMathsPanel.h
12544         * MathsSymbols.C:
12545         * form_maths_panel.C:
12546         * form_maths_panel.h:
12547         * form_maths_panel.fd: implemented sub- and super- buttons in math
12548         panel.
12549
12550         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12551         (or ^ space) to be used as in TeX (req'd by André).
12552
12553         * lyxfunc.C: Allow ^ and _ again to be used both as
12554         super/subscript (mathed) and as themselves (in text).
12555
12556 2002-01-03  Allan Rae  <rae@lyx.org>
12557
12558         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12559         "LyX" or the filename of the current buffer if it has one.  This is a
12560         modified form of John Levon's patch.
12561
12562         * XFormsView.C (setWindowTitle): also set icon title.
12563
12564         * LyXView.h (setWindowTitle): signature changed.
12565         * XFormsView.h (setWindowTitle): ditto.
12566
12567 2002-01-02  Juergen Vigna  <jug@sad.it>
12568
12569         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12570
12571 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12572
12573         * screen.C (topCursorVisible): introduce a temp var for
12574         text->cursor.row(), handle the case where this row is null. (kindo
12575         hachish)
12576
12577         * text2.C (setCursor): add a couple of asserts.
12578
12579         * paragraph.h (inset_iterator): add -> operator
12580
12581         * paragraph.[Ch] (autoDeleteInsets): remove member function
12582
12583         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12584         cursor pos correctly and handle inset deletion by itself.
12585         (insertErrors): move iterator declaration out of for expression
12586
12587         * lyxtextclass.C: add <algorithm>
12588
12589         * Makefile.am: added the new files to sources, removed layout.C
12590
12591         * layout.C: removed file
12592
12593         * layout.h: remove LYX_DUMMY_LAYOUT
12594
12595         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12596         layout.
12597
12598         * lyxlayout.[Ch]:
12599         * lyxtextclass.[Ch]:
12600         * lyxtextclasslist.[Ch]: new files
12601
12602         * include order changes to a lot of files, also changes because of
12603         the six new files.
12604
12605 2001-12-27  Juergen Vigna  <jug@sad.it>
12606
12607         * buffer.C (asciiParagraph): more fixes.
12608
12609         * tabular.C (ascii): make ascii export support export of only the
12610         data separated by a column-delimiter.
12611         (ascii): better support for ascii export.
12612
12613         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12614
12615 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * tabular_funcs.C: use a "using std::getline" instead of the
12618         previous fix from Angus (necessary for cxx + lyxstring)
12619
12620 2001-12-24  Juergen Vigna  <jug@sad.it>
12621
12622         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12623
12624         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12625         problems. First check a minipage also if we have some ert-contents
12626         (not only on par->size(), second set the right depth of the paragraph
12627         on the relink to the root-paragraph-list!
12628
12629         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12630         which then did not anymore update the main paragraphs on undo/redo!
12631
12632 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12633
12634         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12635         code. Support all font-changing funcs (even those which are not in
12636         menu currently). Support for reporting font settings in
12637         mathed (disabled until Andre provides a function on mathed's side).
12638
12639         * func_status.h (toggle): small helper function to set toggle
12640         state on a flag.
12641
12642 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * tabular_funcs.C: getline -> std::getline
12645
12646 2001-12-21  Juergen Vigna  <jug@sad.it>
12647
12648         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12649         accessed and could be 0 (I couldn't generate this but it seems
12650         Michael could!).
12651
12652 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12653
12654         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12655         * tabular_funcs.h: here and include iosfwd
12656
12657 2001-12-20  Juergen Vigna  <jug@sad.it>
12658
12659         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12660         inside inset but undo_par was.
12661
12662 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12663
12664         * Thesaurus.C: always include <config.h> in sources.
12665
12666         * Painter.h:
12667         * lyxlookup.h:
12668         * box.h: do not include <config.h> in header files
12669
12670         * text.C (paintLastRow): remove unused variable
12671
12672         * text.C (transformChar):
12673         (insertChar):
12674         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12675
12676         * Painter.C (text):
12677         * font.C (width): rewrite to use uppercase() instead of
12678         islower/toupper.
12679
12680         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12681
12682 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12683
12684         * lyxfind.C: clean up of find failure position change
12685
12686 2001-12-20  Juergen Vigna  <jug@sad.it>
12687
12688         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12689
12690         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12691         (TeXRow): added to LaTeX a single tabular row.
12692         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12693         (Latex): simplified and finally good LT-h/f support.
12694         (various_functions): just small adaptions for LT-h/f support.
12695
12696         * tabular_funcs.[hC]: added and moved here all not classfunctions
12697         of LyXTabular.
12698
12699 2001-12-19  Juergen Vigna  <jug@sad.it>
12700
12701         * tabular.[Ch]: better support for longtabular options (not finished
12702         yet!)
12703
12704 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12705
12706         * text.C (paintLastRow): use the label font instead of the font of
12707         the last character to compute the size of *_BOX. This makes more
12708         sense and avoids a crash with empty paragraphs.
12709         Use Painter::rectangle to draw EMPTY_BOX.
12710
12711 2001-12-19  Juergen Vigna  <jug@sad.it>
12712
12713         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12714         the paragraphs if the replaced paragraph is not the first one!
12715         Tried to delete not used paragraphs but does not work yet so for
12716         now it's inside #ifdef's and by default off!
12717
12718 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12719
12720         * MenuBackend.C: include "lyx_main.h" instead of declaring
12721         lastfiles (actually was declared as LastFiles* instead of a
12722         scoped_ptr).
12723
12724 2001-12-17  Juergen Vigna  <jug@sad.it>
12725
12726         * tabular.C (AppendColumn): applied John's fix
12727
12728 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12729
12730         * BufferView.h:
12731         * BufferView.C:
12732         * BufferView_pimpl.h:
12733         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12734
12735         * Makefile.am:
12736         * box.h: new start of class for above
12737
12738         * lyxfunc.C: ignore space-only minibuffer dispatches.
12739           Show the command name when it doesn't exist
12740
12741         * minibuffer.C: don't add empty lines to the history
12742
12743         * minibuffer.C: add a space on dropdown completion
12744
12745 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * text.C: fix line above/below drawing in insets
12748
12749 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * lyxlength.C (LyXLength): Initialize private variables.
12752
12753 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12754
12755         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12756         when inserting error insets.
12757
12758 2001-12-13  Juergen Vigna  <jug@sad.it>
12759
12760         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12761         actually sometimes the before-paragraph.
12762         (setUndo): don't clear the redostack if we're not actually undoing!
12763
12764 2001-12-06  Juergen Vigna  <jug@sad.it>
12765
12766         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12767         and fixed redoing of main paragraph, so we can use it now ;)
12768
12769         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12770
12771 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12772
12773         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12774         Juergen's request
12775
12776 2001-12-13  André Pönitz <poenitz@gmx.net>
12777
12778         * undostack.[Ch]:
12779         * undo_func.C: minor cleanup
12780
12781 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12782
12783         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12784         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12785         font in urw-fonts package which is marked as -urw-fontspecific and
12786         does not work (incidentally, changing the encoding in the
12787         fonts.dir of this package to -adobe-fontspecific fixes the
12788         problem).
12789
12790         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12791         is a crash when undoing first paragraph (Juergen, please take a
12792         look). THis does not mean the undo fix is wrong, just that it
12793         uncovers problems.
12794
12795         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12796         the (Paragraph*) version when needed instead of duplicating the
12797         code.
12798
12799         * text.C (workWidth): use Inset::parOwner to find out where the
12800         inset has been inserted. This is a huge performance gain for large
12801         documents with lots of insets. If Inset::parOwner is not set, fall
12802         back on the brute force method
12803
12804         * paragraph_pimpl.C (insertInset):
12805         * paragraph.C (Paragraph):
12806         (cutIntoMinibuffer): set parOwner of insets when
12807         inserting/removing them
12808
12809         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12810
12811 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12812
12813         * commandtags.h:
12814         * LyXAction.C:
12815         * lyx_main.C:
12816         * lyxfunc.C:
12817         * mathed/formulabase.C:
12818         * mathed/math_cursor.[Ch]:
12819         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12820
12821
12822 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12823
12824         * lyxlength.[Ch] (operator!=): new function
12825
12826 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12827
12828         * text.C (workWidth): use Inset::parOwner to find out where the
12829         inset has been inserted. This is a huge performance gain for large
12830         documents with lots of insets. If Inset::parOwner is not set, fall
12831         back on the brute force method
12832
12833         * paragraph_pimpl.C (insertInset):
12834         * paragraph.C (Paragraph):
12835         (cutIntoMinibuffer): set parOwner of insets when
12836         inserting/removing them
12837
12838         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12839
12840 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12841
12842         * tabular-old.C (getTokenValue):
12843         * tabular.C (getTokenValue):
12844         (write_attribute): new versions for LyXLength
12845         (everywhere): adjust the use of widths
12846
12847         * tabular.h: change the type of widths from string to LyXLength
12848
12849 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12850
12851         * paragraph.C: fixed missing line number count when exporting
12852         Environments to LaTeX file
12853
12854         * buffer.C: added informational message for checking line numbers.
12855
12856 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12857
12858         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12859         paragraph, do the 'double space' part, but not the 'empty
12860         paragraph' one.
12861
12862         * text.C (workWidth): small optimization
12863         (getLengthMarkerHeight): use minimal size for negative lengths.
12864
12865 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12866
12867         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12868
12869         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12870
12871 2001-12-11  André Pönitz <poenitz@gmx.net>
12872
12873         * FontLoader.C:
12874         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12875
12876 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * text2.C: keep selection on a setFont()
12879
12880 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12881
12882         * lyx_cb.C: another bv->text misuse, from insert label
12883
12884 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12885
12886         * kbsequence.h:
12887         * kbsequence.C: re-instate nmodifier mask
12888
12889 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12890
12891         * lyx_main.h: make lyxGUI private.
12892
12893 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12894
12895         * lyxfind.C: place the cursor correctly on failed search
12896
12897 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12898
12899         * text.C (getLengthMarkerHeight): for small heights, the arrows
12900         are not always on top/bottom of the text
12901         (drawLengthMarker): smaller arrows; take the left margin in
12902         account; draw also vfills.
12903         (paintFirstRow):
12904         (paintLastRow): remove special code for vfill and standard spaces,
12905         since everything is handled in drawLengthMarker now.
12906
12907 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12908
12909         * buffer.C (insertErtContents): try to handle font and language
12910         interaction a bit better.g
12911
12912         * ColorHandler.C (updateColor): change the hash to cover the whole
12913         LColor enum, ws cleanup
12914         (getGCLinepars): ditto
12915         (getGCLinepars): only lookup in the linecache once.
12916
12917 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12918
12919         * iterators.C (operator++): Make the iterator more robust
12920
12921         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12922         (John's patch)
12923         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12924
12925 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * lyxtext.h:
12928         * text.C: better added space drawing
12929
12930 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * LyXView.C:
12933         * BufferView2.C: fix layout combo update on inset unlock
12934
12935 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * Makefile.am: don't compile unused files
12938
12939 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * lyxfunc.C:
12942         * commandtags.h:
12943         * LyXAction.C: remove old LFUN_LAYOUTNO
12944
12945 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * paragraph_pimpl.h:
12948         * paragraph_pimpl.C: isTextAt() doesn't need font param
12949
12950 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12951
12952         * lyxlex.h:
12953         * lyxlex.C: little cleanup
12954
12955 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12956
12957         * BufferView_pimpl.C: fix insertAscii for insets
12958
12959 2001-12-05  Juergen Vigna  <jug@sad.it>
12960
12961         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12962         set the right font on the "multi" paragraph paste!
12963
12964 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12965
12966         * trans_decl.h:
12967         * trans_mgr.[Ch]:
12968         * trans.[Ch]:
12969         * lyxgluelength.C:
12970         * lyxlength.C: remove out-commented code.
12971
12972         * BufferView_pimpl:
12973         * CutAndPaste.C:
12974         * DepTable.C:
12975         * buffer.C:
12976         * chset.C:
12977         * lastfiles.C:
12978         * lyxlex.C:
12979         * lyxlex_pimpl.C:
12980         * lyxserver.C:
12981         * screen.C:
12982         * tabular-old.C:
12983         * tabular.C:
12984         * text.C:
12985         * trans_mgr.C:
12986         * vc-backend.C: change "while(" to "while ("
12987
12988         * lyxlength.[Ch]: add zero function to check if length is zero or
12989         not
12990         * lyxgluelength.C: use it
12991
12992 2001-12-05  Allan Rae  <rae@lyx.org>
12993
12994         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12995         Works for 2.95.3, from what I understand of Garst's reports this should
12996         work for other g++ versions.  We're screwed if the abs(int) definition
12997         changed between bugfix releases of gcc.
12998
12999 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * text.C: fix chapter label offset !
13002
13003 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13004
13005         * lyxtext.h:
13006         * text.C: fix hfill at end of line, clean up
13007
13008 2001-12-04  Juergen Vigna  <jug@sad.it>
13009
13010         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13011         that we force an update of the inset and it's owners if neccessary.
13012
13013 2001-12-03  Juergen Vigna  <jug@sad.it>
13014
13015         * text.C (rowLast): simplified code
13016
13017 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13018
13019         * lyxfunc.C: fix show options on timeout
13020
13021 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13022
13023         * screen.C (topCursorVisible): scroll half a page when the cursor
13024         reached top of bottom of screen
13025
13026 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * minibuffer.C: deactivate on loss of focus
13029
13030 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13031
13032         * vspace.[Ch] (operator!=): add operator.
13033
13034 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13035
13036         * BufferView_pimpl.C: refuse to open an inset when
13037         there's a selection.
13038
13039 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13040
13041         * BufferView_pimpl.C: allow to click on RHS of full row insets
13042
13043 2001-11-30  Juergen Vigna  <jug@sad.it>
13044
13045         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13046         insets for undo reasons.
13047
13048 2001-11-28  André Pönitz <poenitz@gmx.net>
13049
13050         * vspace.[Ch]: cosmetical changes
13051
13052 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13053
13054         * LyXAction.h:
13055         * LyXAction.C:
13056         * lyxfunc.h:
13057         * lyxfunc.C:
13058         * kbmap.h:
13059         * kbmap.C:
13060         * lyxrc.C:
13061         * kbsequence.h:
13062         * kbsequence.C: part re-write of old kb code
13063
13064         * Painter.C:
13065         * WorkArea.C: remove Lgb_bug_find_hack
13066
13067 2001-11-30  José Matos <jamatos@fep.up.pt>
13068
13069         * buffer.C (makeDocBookFile): add a comment to point a hack.
13070         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13071         Fixed a double write of labels.
13072
13073 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13074
13075         * LaTeX.C:
13076         * LaTeX.h Fixed bug in LaTeX class where it would not
13077         re-run latex if no depfiles were changed, but the .dvi was removed.
13078
13079 2001-11-28  André Pönitz <poenitz@gmx.net>
13080
13081         * all the files from the change on 2001/11/26:
13082         use lyx::layout_type instead of LyXTextClass::size_type
13083         use lyx::textclass_type instead of LyXTextClassList::size_type
13084
13085 2001-11-29  Juergen Vigna  <jug@sad.it>
13086
13087         * text.C: added support for paragraph::isFreeSpacing()
13088
13089         * buffer.C: same as above
13090
13091         * paragraph.h: inserted isFreeSpacing() function to enable
13092         FreeSpacing inside InsetERT.
13093
13094         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13095         of the paragraph's in the cut/copy buffer to 0!
13096
13097         * text2.C (removeRow): remove the assert as it can!
13098
13099         * lyxtext.h: added helper function firstRow returning firstrow and
13100         made firstrow private again.
13101
13102         * BufferView2.C (lockInset): don't relock if we're already locked!
13103
13104         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13105         the only paragraph.
13106         (removeRow): added Assert::(firstrow)
13107
13108         * debug.C: forgot to add INSETTEXT here.
13109
13110 2001-11-28  Juergen Vigna  <jug@sad.it>
13111
13112         * sp_spell.C (initialize): changed error text to more general
13113         spellchecker command use (not only ispell!)
13114
13115         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13116
13117         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13118
13119 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13120
13121         * vspace.C: initialise lyxgluelength on failure
13122
13123 2001-11-28  Allan Rae  <rae@lyx.org>
13124
13125         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13126         declaration & definition that looks like a function declaration.
13127
13128 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13129
13130         * BufferView2.C (copy):
13131         (copyEnvironment): do not clear the selection when doing a copy.
13132
13133         * text.C (paintFirstRow): compilation fix
13134
13135 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13136
13137         * tabular.C (Latex): correct line count when writing latex.
13138
13139 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13140
13141         * paragraph_pimpl.h:
13142         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13143           bug a bit
13144
13145 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * text.C:
13148         * LColor.h:
13149         * LColor.C: change vfillline->added_space
13150
13151         * text.C: add markers and text for added space
13152
13153         * vspace.C: fix comment
13154
13155 2001-11-28  André Pönitz <poenitz@gmx.net>
13156
13157         * paragraph.C: whitespace changes
13158         * all the other files from the change on 2001/11/26:
13159         change *::pos_type into lyx::pos_type
13160
13161 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13162
13163         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13164         language of the document when inserting error insets.
13165
13166 2001-11-26  André Pönitz <poenitz@gmx.net>
13167
13168         * BufferView_pimpl.[Ch]:
13169         *       CutAndPaste.C:
13170         * buffer.[Ch]:
13171         * lyxcursor.[Ch]:
13172         * lyxfind.C:
13173         * lyxfunc.C:
13174         * lyxrow.[Ch]:
13175         * paragraph.[Ch]:
13176         * paragraph_pimpl.[Ch]:
13177         * sp_spell.C:
13178         * text.C:
13179         * text2.C: reduce header dependencies, introduce type for positions
13180
13181 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13182
13183         * <various>: change to use Alert.h
13184
13185 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13188         when encountering an unknown token.
13189         (readLyXformat2): Show an error message if there were unknown tokens.
13190
13191 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13192
13193         * BufferView2.C:
13194         * BufferView_pimpl.C:
13195         * buffer.C:
13196         * paragraph.h:
13197         * text.C:
13198         * text2.C: use par->isInset()
13199
13200 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * paragraph_pimpl.h:
13203         * paragraph_pimpl.C: cleanup
13204
13205 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13206
13207         * text2.C (removeRow):
13208         * text.C (setHeightOfRow): remove useless (and costly) call to
13209         getRow.
13210
13211 2001-11-20  Allan Rae  <rae@lyx.org>
13212
13213         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13214         Now need Inset*::checkInsertChar() to return true for appropriate
13215         cases so that the characters in the minibuffer will actually be
13216         inserted.
13217
13218 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13219
13220         * text.C: change the order of the includes.
13221         (workWidth): initialize it at once.
13222         (workWidth): make maxw unsigned
13223         (setHeightOfRow): remove unused variable (inset)
13224         (selectSelectedWord): remove unused variable (inset)
13225         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13226
13227 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13228
13229         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13230         server is not running.
13231         (openConnection):
13232         (closeConnection): add debug info when server is disabled.
13233
13234         * ColorHandler.C (getGCForeground): send debug message to GUI
13235         channel.
13236
13237         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13238
13239         * kbmap.C (bind): modify because return conventions of
13240         kb_sequence::parse have changed.
13241
13242         * kbsequence.C (parse): only ignore spaces and not any stupid
13243         control character. This avoids tests like s[i] <= ' ', which are
13244         guaranteed to fail with 8bit characters and signed chars.
13245         Change return code to string::npos when there have been no error
13246         (0 was a bad idea when error is at first character)
13247
13248 2001-11-14  José Matos  <jamatos@fep.up.pt>
13249
13250         * buffer.h:
13251         * buffer.C (simpleDocBookOnePar): removed unused argument.
13252
13253 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13254
13255         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13256         insets which are part of a word. Paragraph::isLetter takes care of
13257         that now. Use Paragraph::isInset to identify insets.
13258         (selectSelectedWord): do not test for hyphenation break.
13259
13260         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13261         that protected spaces are considered as spaces.
13262
13263         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13264         Inset::isLetter.
13265
13266 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * lyxserver.h:
13269         * lyxserver.C: fix it. and small cleanup.
13270
13271 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13272
13273         * BufferView_pimpl.C: use inline helpers
13274
13275         * LaTeXFeatures.h:
13276         * LaTeXFeatures.C: fix typos
13277
13278         * Spacing.h:
13279         * Spacing.C: move spacing_string into class
13280
13281         * ToolbarDefaults.C: move stuff into namespace anon
13282
13283         * layout.h: update enum
13284
13285         * lyxfunc.C: use better debug
13286
13287         * minibuffer.h: fix typo
13288
13289         * debug.h:
13290         * debug.C:
13291         * WorkArea.C: add and use Debug::WORKAREA
13292
13293         * lyxtext.h:
13294         * text.C:
13295         * text2.C: code re-organisation, inline helpers
13296
13297 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13298
13299         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13300         std::vector.empty().
13301
13302 2001-11-09  Allan Rae  <rae@lyx.org>
13303
13304         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13305         '\n's after tables.  Tabular and ERT inset work now makes this no
13306         longer necessary.
13307
13308 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * minibuffer.h:
13311         * minibuffer.C: fix crash, improve drop-down completion
13312
13313 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13314
13315         * lyxserver.h:
13316         * lyxserver.C: invalidate fd's when doing endPipe()
13317
13318 2001-11-08  José Matos  <jamatos@fep.up.pt>
13319
13320         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13321         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13322
13323         * paragraph.h:
13324         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13325
13326 2001-11-07  José Matos  <jamatos@fep.up.pt>
13327
13328         * buffer.h:
13329         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13330         const qualifier.
13331
13332         * buffer.C (sgmlOpenTag):
13333         * buffer.C (sgmlCloseTag): removed debug info.
13334
13335         * buffer.h (sgmlOpenTag):
13336         * buffer.h (sgmlCloseTag): made public.
13337
13338 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13339
13340         * buffer.C (saveParamsAsDefaults):
13341         * lyx_cb.C (MenuLayoutSave): remove
13342
13343         * LyXAction.C (init):
13344         * commandtags.h:
13345         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13346
13347 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13348
13349         * buffer.C (setPaperStuff): removed from here...
13350
13351         * bufferparams.C (setPaperStuff): ... and moved there.
13352
13353 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * minibuffer.h:
13356         * minibuffer.C:
13357         * XFormsView.C: add support for drop-down completion
13358
13359 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13360
13361         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13362         commands.
13363
13364 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13365
13366         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13367         disabled.
13368
13369 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13370
13371         * lyx_main.C: change ref to known bugs
13372
13373 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13374
13375         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13376         to work around older babel problems.
13377
13378 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13379
13380         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13381
13382 2001-10-24  Juergen Vigna  <jug@sad.it>
13383
13384         * tabular-old.C (ReadOld): below variable changes reflected.
13385
13386         * tabular.[Ch]: added ltType struct for longtable header/footer
13387         defines and changed all instances where they are used. Added
13388         future support for double top/bottom rows.
13389
13390 2001-10-24  José Matos  <jamatos@fep.up.pt>
13391
13392         * buffer.h (docbookHandleCaption):
13393         * buffer.C (docbookHandleCaption): removed unused function.
13394         (makeDocBookFile): moved docbook supported version to v4.1.
13395
13396 2001-10-24  José Matos  <jamatos@fep.up.pt>
13397
13398         * tabular.h:
13399         * tabular.C (docbookRow): new function to export docbook code of a row.
13400         (DocBook): now honors the longtable flags.
13401
13402 2001-10-23  José Matos  <jamatos@fep.up.pt>
13403
13404         * LaTeXFeatures.h:
13405         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13406         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13407
13408         * buffer.C (makeLinuxDocFile):
13409         (makeDocBookFile): reworked the preamble, more clean, and with
13410         support for lyx defined entities. Changed the document declaration
13411         to be more XML friendly.
13412
13413         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13414         if we need to output XML that should be done with a filter.
13415
13416 2001-10-22  Juergen Vigna  <jug@sad.it>
13417
13418         * sp_pspell.h (class PSpell): add alive function needed in the
13419         controller to see if the spellchecker could be started.
13420
13421 2001-10-22  Juergen Vigna  <jug@sad.it>
13422
13423         * buffer.C (insertStringAsLines): modify the font for inserting
13424         chars in certain conditions by calling checkInsertChar(font).
13425
13426 2001-10-19  Juergen Vigna  <jug@sad.it>
13427
13428         * text.C (workWidth): use getRow instead of wrong algorithm.
13429         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13430
13431 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13432
13433         * lyxserver.h:
13434         * lyxserver.C:
13435         * lyx_main.h:
13436         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13437
13438 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13439
13440         * text.C (workWidth): do not search for the exact row when
13441         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13442         optimization for big documents.
13443
13444 2001-10-18  Juergen Vigna  <jug@sad.it>
13445
13446         * text.C (workWidth): new function with added Inset * parameter.
13447
13448 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13449
13450         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13451
13452         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13453         change return type of getColumnNearX.
13454
13455
13456         * text.C (changeRegionCase): use uppercase/lowercase instead of
13457         toupper/tolower.
13458         (leftMargin):
13459         (rightMargin): simplify code by factoring out the uses of
13460         textclasslist.
13461         (labelFill):
13462         (numberOfHfills):
13463         (setHeightOfRow):
13464         (appendParagraph): use Paragraph::size_type
13465
13466 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13467
13468         * vspace.C (asLatexString): add a missing break
13469
13470 2001-10-15  Herbert Voss  <voss@perce.de>
13471
13472         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13473
13474 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13475
13476         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13477         is not available.
13478
13479 2001-10-10  André Pönitz <poenitz@gmx.net>
13480
13481         * lyxfunc.C: removed greek_kb_flag.
13482
13483 2001-10-10  Herbert Voss  <voss@perce.de>
13484
13485         * lyx_main.C: delete global string help_lyxdir.
13486
13487 2001-10-09  Herbert Voss  <voss@perce.de>
13488
13489         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13490
13491         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13492
13493         * lyx_main.C: added global string help_lyxdir.
13494
13495         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13496
13497 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13498
13499         * lyxrc.C (set_font_norm_type): support iso8859-4
13500
13501 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13502
13503         * LaTeX.C (deplog): add another regex for MikTeX
13504
13505 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13506
13507         * lyxrc.C (set_font_norm_type): support iso8859-3
13508
13509 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13510
13511         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13512
13513         * LaTeXFeatures.C: remove special case of french and index
13514
13515         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13516         before \begin{document}). This solves several incompatibilities.
13517
13518 2001-10-03  Garst Reese  <reese@isn.net>
13519
13520         * lyx_cb.C: change CheckTex error msg.
13521
13522 2001-10-03  José Matos  <jamatos@fep.up.pt>
13523
13524         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13525
13526 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13527
13528         * .cvsignore: update
13529
13530         * lyx_main.C (commandLineVersionInfo): use new style version info.
13531
13532         * buffer.C (writeFile):
13533         (makeLaTeXFile):
13534         (makeLinuxDocFile):
13535         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13536
13537         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13538
13539         * version.h: update to use stuff in version.C
13540
13541         * version.C.in: new file. Contains version information determined
13542         at compile time. This is a merging of version.h and
13543         version_info.h.in.
13544
13545 2001-10-03  Juergen Vigna  <jug@sad.it>
13546
13547         * BufferView_pimpl.C (update): don't change "dirty" status in
13548         updateInset call.
13549
13550 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13551
13552         * WorkArea.C (c-tor): re-position version string slightly.
13553
13554 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13555
13556         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13557         revert to previous code.
13558
13559         WorkArea.[Ch]: (show, destroySplash): methods removed.
13560
13561         WorkArea.C: rework code so that it's an amalgam of the codes before and
13562         after the splash screen was moved to WorkArea.
13563
13564 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13565
13566         * lyxrc.C (read):
13567         * vspace.C (inPixels):
13568         (lyx_advance):
13569         * kbmap.C (bind):
13570         * buffer.C (insertStringAsLines):
13571         (asciiParagraph): fix types to be large enough
13572
13573         * lyxlex_pimpl.h: change member status from short to int
13574
13575         * layout.h: fix type of endlabeltype
13576
13577         * kbmap.C (bind):
13578         * kbsequence.C (parse): change return type to string::size_type
13579
13580         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13581         variable
13582
13583         * Bullet.C (bulletSize):
13584         (bulletEntry): do not use short ints as parameters
13585
13586         * BufferView2.C (insertLyXFile): change a char to an int.
13587
13588         * WorkArea.C (WorkArea): remove unneeded floats in computation
13589
13590 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13591
13592         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13593
13594         * paragraph.C (asString): Do not ignore newline/hfill chars when
13595         copying to the clipboard.
13596
13597 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13598
13599         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13600         after a multi-line inset.
13601
13602 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13603
13604         * paragraph.C (validate): Set NeedLyXFootnoteCode
13605
13606 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13609         and decrease-error to decrease.
13610
13611 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13612
13613         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13614         it more readable (should be equivalent)
13615
13616 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13617
13618         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13619
13620 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13621
13622         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13623         of a cursor (row, etc.) after a character has been deleted
13624         (deleteEmptyParagraphMechanism): call the method above on _all_
13625         cursors held by the LyXText when a double space has been
13626         detected/deleted.
13627
13628 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13629
13630         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13631         pixmap.
13632         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13633
13634         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13635         background. Use greyOut() and the new show() methods to toggle between
13636         the foreground and background. Add code to remove the splash after
13637         its initial showing.
13638
13639         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13640         (create_forms): no longer call Dialogs::showSplash.
13641
13642 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * .cvsignore: add version_info.h
13645
13646 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13647
13648         * version_info.h.in: new file
13649
13650         * Makefile.am: add version_info.h.in
13651
13652         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13653         version_info.h instead of VERSION_INFO
13654
13655 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13656
13657         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13658         The ERT inset now returns string().
13659
13660 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13661
13662         * lyxtext.h, text.C (selectNextWord): renamed as
13663         selectNextWordToSpellcheck.
13664
13665         * text.C (selectNextWordToSpellcheck): Modified to not select
13666         words inside an ERT inset.
13667
13668 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13669
13670         * lyx_cb.C (MenuLayoutSave): change a bit the question
13671
13672         * sp_base.h: include <sys/types.h>
13673
13674 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13675
13676         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13677
13678 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13679
13680         * several files: fix typos in user-visible strings
13681
13682 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13683
13684         * text2.C (pasteSelection): do not set the selection, since it
13685         will be cleared later. Actually, the intent was to fix the way the
13686         selection was set, but I figured rmoving the code was just as good.
13687
13688 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13689
13690         * FontLoader.C (available): Check if font is available without
13691         loading the font.
13692
13693 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13694
13695         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13696
13697 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13698
13699         * lyxrc.[Ch]: added display_graphics variable and associated code.
13700
13701 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13702
13703         * bufferparams.C (hasClassDefaults): new method. Returns true if
13704         the buffer parameters correspond to known class defaults
13705
13706 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13707
13708         * XFormsView.C (show): set minimum size to the main window.
13709
13710 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13711
13712         * text2.C (copySelection):
13713         (cutSelection):
13714         * lyxfind.C (LyXReplace):
13715         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13716         LyXText::selectionAsString.
13717
13718         * paragraph.C (asString): add "label" argument to the second form
13719
13720         * text2.C (selectionAsString): add "label" argument and pass it to
13721         Paragraph::asString.
13722
13723 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13724
13725         * lyx_main.C (commandLineHelp): remove version information
13726
13727 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13728
13729         * lyx_main.C: add -version commandline option
13730
13731 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13732
13733         * paragraph.h: make the optional constructor arg required instead.
13734         some modifications to other files because of this.
13735
13736         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13737
13738         * lyxserver.C (C_LyXComm_callback): make it static
13739
13740         * lyx_main.C (error_handler): make it static
13741
13742         * lyx_gui.C (LyX_XErrHandler): make it static
13743
13744         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13745
13746         * WorkArea.C: make the extern "C" methods static.
13747
13748         * Makefile.am (lyx_LDADD): simplify
13749
13750 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13751
13752         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13753         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13754
13755         * LyXAction.C (init):
13756         * lyxfunc.C (dispatch): associated code removal.
13757
13758 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13759
13760         * lyxfont.h (isSymbolFont): shut off warning
13761
13762         * text.C (setHeightOfRow):
13763         (getVisibleRow): fix crash with empty paragraphs which have a
13764         bottom line
13765
13766 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13767
13768         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13769         code.
13770
13771 2001-09-04  José Matos  <jamatos@fep.up.pt>
13772         * buffer.C
13773         * buffer.h
13774         * tabular.C (docbook): rename docBook method to docbook.
13775
13776 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13777
13778         * Makefile.am: add dependencies to main.o.
13779
13780 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13781
13782         * FontLoader.C (available): Return false if !lyxrc.use_gui
13783
13784 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13785
13786         * FontInfo.C (query):
13787         * converter.C (view):
13788         * importer.C (Import):
13789         * exporter.C (Export): Can not -> cannot.
13790
13791 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13792
13793         * BufferView_pimpl.C: allow to create index inset even if
13794           string is empty
13795
13796 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13797
13798         * buffer.C (getLists): replace boost::tie code with an explicit pair
13799         as boost::tie can break some compilers.
13800
13801         * iterators.h: Added a std:: declaration to the return type of
13802         ParIterator::size.
13803
13804 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13805
13806         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13807           case.
13808
13809 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13810
13811         * iterators.[Ch]: New files. Provide paragraph iterators.
13812
13813         * buffer.C (changeLanguage): Use paragraph iterators.
13814         (isMultiLingual): ditto
13815
13816         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13817
13818 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13819
13820         * FontLoader.C: Support for cmr font.
13821
13822 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13823
13824         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13825         (available): New method.
13826
13827         * FontInfo.C (getFontname): Use scalable fonts even when
13828         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13829         found.
13830
13831 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13832
13833         * converter.C (Formats::view): reverted! Incorrect fix.
13834
13835 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13836
13837         * converter.C (Formats::view): only output the -paper option
13838         if the dvi viewer is xdvi, thereby fixing bug #233429.
13839
13840 2001-08-23  Herbert Voss  <voss@perce>
13841
13842         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13843
13844 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13845
13846         * Spacing.h (Spacing): Set space to Default on in the default
13847         constructor.
13848
13849 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13850
13851         * vc-backend.h (RCS::versionString): add RCS to version
13852         (CVS::versionString): add CVS to version
13853
13854         * vc-backend.C (scanMaster): do not add CVS to version.
13855         (scanMaster): do not add RCS to version
13856
13857         * lyxvc.C (versionString): new method
13858
13859         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13860
13861 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13862
13863         * Spacing.C (set): initialize fval
13864
13865 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13866
13867         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13868         " or \.
13869
13870 2001-08-16  Juergen Vigna  <jug@sad.it>
13871
13872         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13873
13874 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13875
13876         * BufferView_pimpl.C:
13877         * figureForm.C:
13878         * lyxtext.h:
13879         * text2.C: setParagraph takes linespacing now
13880
13881 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13882
13883         * LyxAction.C: add internal LFUN_CITATION_INSERT
13884
13885         * LyXView.C: actually apply fix
13886
13887         * bufferlist.C: fix open non-existent file
13888
13889         * lyxfind.C: fix indentation
13890
13891         * lyxfunc.C: remove unneeded assert, fix typo
13892
13893 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13894
13895         * MenuBackend.C: use "Floatname List"
13896
13897 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13898
13899         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13900         when converting LaTeX layout to insetERT.
13901         Generate a non-collapsed float when reading old float
13902
13903 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13904
13905         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13906         ERT insets.
13907
13908 2001-08-13  Juergen Vigna  <jug@sad.it>
13909
13910         * text.C (fill): return 0 instead of 20 as this seems to be the more
13911         correct value.
13912
13913 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13914
13915         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13916         lyxrc.font_norm.
13917
13918 2001-08-13  Juergen Vigna  <jug@sad.it>
13919
13920         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13921         casesensitive off.
13922         (SearchBackward): comment out the unlocking of the inset_owner this
13923         should not be needed!
13924
13925 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13926
13927         * Many files: Remove inherit_language, and add latex_language
13928
13929         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13930         collapsible insets.
13931
13932 2001-08-10  Juergen Vigna  <jug@sad.it>
13933
13934         * text.C (prepareToPrint): fixed hfill-width in draw!
13935
13936         * BufferView2.C (selectLastWord): save the selection cursor as this
13937         now is cleared in the function LyXText::clearSelection!
13938
13939 2001-08-08  Juergen Vigna  <jug@sad.it>
13940
13941         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13942         BACKSPACE type functions.
13943
13944         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13945         is only cutted from the document but not put in the cut-buffer, where
13946         still the old stuff should be.
13947
13948         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13949
13950         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13951
13952         * tabular.C (SetWidthOfCell): fixed special case where the width
13953         was not updated!
13954         (LeftLine): handle '|' in align_special.
13955         (RightLine): ditto
13956         (LeftAlreadyDrawed): ditto
13957         (SetWidthOfCell): ditto
13958
13959 2001-08-07  Juergen Vigna  <jug@sad.it>
13960
13961         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13962
13963 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13964
13965         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13966         * lyxlex.[hC]: ditto
13967
13968 2001-08-06  Juergen Vigna  <jug@sad.it>
13969
13970         * text.C (getVisibleRow): fix up row clearing a bit.
13971
13972 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13973
13974         * minibuffer.C: make sure the X server sees the changes in the input.
13975
13976 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13977
13978         * paragraph.C (getFont): split into...
13979         (getLabelFont): this
13980         (getLayoutFont): and this
13981         * paragraph_pimpl.C (realizeFont): calling this
13982
13983         * text2.C (getFont): split into...
13984         (getLayoutFont): this
13985         (getLabelFont): and this
13986         (realizeFont): all three calling this
13987
13988         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13989         files where used.
13990
13991 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13992
13993         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13994
13995 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13996
13997         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13998         layouts from the Quote inset insertion.
13999
14000 2001-08-03  Juergen Vigna  <jug@sad.it>
14001
14002         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14003
14004         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14005         only if status not is already CHANGED_IN_DRAW (second level).
14006
14007         * text.C (draw): don't set the need_break_row when inside an
14008         InsetText LyXText.
14009
14010 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * buffer.C (parseSingleLyXformat2Token): handle more latex
14013         conversion cases.
14014
14015         * bufferview_funcs.[hC]: change function names to
14016         begin with small char, adjust other files.
14017
14018 2001-08-02  André Pönitz <poenitz@gmx.net>
14019
14020         * lyxfunc.C:
14021         BufferView_pimpl.C: remove broken special code for math-greek
14022
14023 2001-08-02  Juergen Vigna  <jug@sad.it>
14024
14025         * BufferView_pimpl.C (update): redone this function so that we
14026         update the text again if there was a CHANGE_IN_DRAW.
14027
14028         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14029         (drawFromTo): added a new internal bool which is used by draw() and
14030         redraw() function.
14031         (general): some cursor drawing problems fixed.
14032
14033 2001-08-01  Juergen Vigna  <jug@sad.it>
14034
14035         * lyxfind.C (LyXFind): fixed
14036         (SearchForward): ditto
14037         (SearchBackward): ditto
14038
14039         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14040         spurius drawing of the cursor in the main area.
14041
14042         * text2.C (status): small fix which could lead to a segfault!
14043         (clearSelection): remove unneeded BufferView param.
14044
14045 2001-08-01  André Pönitz <poenitz@gmx.net>
14046
14047         * lyxfunc.C: small change due to changed mathed interface
14048
14049 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14050
14051         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14052
14053 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14054
14055         * lyxfunc.c: fail gracefully if file doesn't exist
14056
14057         * LyXSendto.C:
14058         * buffer.C:
14059         * lyxfunc.C:
14060         * BufferView_pimpl.C: IsDirWriteable() proto changed
14061
14062         * LyXView.C: fix updateWindowTitle() to store the last title
14063
14064 2001-07-31  Juergen Vigna  <jug@sad.it>
14065
14066         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14067         the font (wrong since using of Paragraph::highestFontInRange).
14068
14069         * paragraph.C (highestFontInRange): added a default_size parameter.
14070
14071         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14072         (setHeightOfRow): reformat
14073
14074 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14075
14076         * converter.[hC] + affected files: move to (inital-char)lowercase
14077         function names.
14078
14079         * ParagraphParameters.C (ParagraphParameters): remove commented code
14080
14081         * PainterBase.[Ch]: remove commented code
14082
14083         * LaTeXFeatures.h: add "bool floats" for float.sty
14084
14085         * LaTeXFeatures.C (LaTeXFeatures): init floats
14086         (require): handle float
14087         (getPackages): do it with floats
14088
14089 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14090
14091         * BufferView_pimpl.C (Dispatch): improve handling of
14092         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14093
14094         * commandtags.h: #include lyxfont.h here temporarily to avoid
14095         keybinding bug.
14096
14097         * bufferlist.h: include LString.h here.
14098
14099 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14100
14101         * text2.C (getStringToIndex): new method.
14102
14103 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14104
14105         * *: Reduced header file dependencies all over.
14106
14107 2001-07-30  Baruch Even  <baruch@lyx.org>
14108
14109         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14110
14111 2001-07-29  Baruch Even  <baruch@lyx.org>
14112
14113         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14114
14115 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14116
14117         * ParameterStruct.h (endif): add a default constructor to make
14118         sure that all variables is initialized.
14119
14120         * ParagraphParameters.C (ParagraphParameters): adjust
14121
14122 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14123
14124         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14125         index; also, check that there is something to index, and that it
14126         does not span over several paragraphs.
14127         (doubleClick): use WHOLE_WORD_STRICT for double click.
14128
14129         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14130
14131         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14132         scheme.
14133
14134 2001-07-26  Baruch Even  <baruch@lyx.org>
14135
14136         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14137         an InsetFig figure, backwards compatible reading of old figure code.
14138
14139 2001-07-27  Juergen Vigna  <jug@sad.it>
14140
14141         * text2.C: font.realize function adaption.
14142
14143         * text.C (draw): add a warnings lyxerr text if needed.
14144
14145         * layout.C: font.realize function adaption.
14146
14147         * language.C: add inherit_language and implement it's handlings
14148
14149         * bufferview_funcs.C (StyleReset): remove language parameter from
14150         font creation (should be language_inherit now).
14151
14152         * bufferparams.C (writeFile): handle ignore_language.
14153
14154         * paragraph.C (getFontSettings): the language has to be resolved
14155         otherwise we have problems in LyXFont!
14156
14157         * lyxfont.C (lyxWriteChanges): added document_language parameter
14158         (update): removed unneeded language parameter
14159
14160         * paragraph.C (validate): fixed wrong output of color-package when
14161         using interface colors for certain fonts in certain environments,
14162         which should not seen as that on the final output.
14163
14164 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14165
14166         * BufferView_pimpl.C:
14167         * Thesaurus.h:
14168         * Thesaurus.C:
14169         * Makefile.am:
14170         * commandtags.h:
14171         * LyXAction.C: add thesaurus support
14172
14173         * lyxfind.h:
14174         * lyxfind.C: add "once" parameter, for thesaurus, to not
14175           move to the next match
14176
14177 2001-07-26  Juergen Vigna  <jug@sad.it>
14178
14179         * lyxfont.C (realize): honor ignore_language too!
14180         (resolved): ditto.
14181
14182         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14183
14184         * text.C (draw): one place more for ignore_language to not draw
14185         itself!
14186
14187 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14188
14189         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14190
14191 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14192
14193         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14194         the minipage conversion problem.
14195
14196 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14197
14198         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14199         insert an inset.
14200
14201 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * BufferView.h: don't forward declare WorkArea
14204
14205         * BufferView.C: don't include WorkArea.h
14206
14207 2001-07-25  André Pönitz <poenitz@gmx.net>
14208
14209         * commandtags.h:
14210         * LyXAction.C:
14211         * lyxfunc.C:  new LFUN 'math-space'
14212
14213         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14214
14215 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14216
14217         * text2.C (toggleInset): call open/close
14218
14219 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14220
14221         * lyxfunc.C (dispatch): add debug for the disabled case
14222
14223         * font.C (buttonText): make similar to rectText
14224
14225         * buffer.C (readInset): comment out parsing of insetlist and
14226         insttheorem
14227
14228         * PainterBase.C (rectText): small correction
14229
14230         * BufferView_pimpl.C: comment out insettheorem and insetlist
14231         * LyXAction.C: ditto
14232         * commandtags.h: ditto
14233
14234 2001-07-24  Juergen Vigna  <jug@sad.it>
14235
14236         * text.C (draw): honor the ignore_language.
14237
14238         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14239
14240 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14241
14242         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14243         char inset.
14244
14245 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14246
14247         * lyxtext.h: remove unused (and unimplemented) methods
14248
14249 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14250
14251         * text.C (getVisibleRow): honor background color
14252
14253         * PainterBase.h:
14254         * Painter.h: remove default color argument for fillRectangle
14255
14256         * text.C (backgroundColor): new method
14257
14258 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * text.C (getVisibleRow): adjust
14261
14262         * font.[Ch] (rectText): new method, metrics
14263         (buttonText): new method, metrics
14264
14265         * PainterBase.[hC]: make rectText and buttonText always draw and take
14266         fewer paramteres.
14267
14268 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14269
14270         * ToolbarDefaults.C (read):
14271         * MenuBackend.C (read): allow escaping in all strings
14272
14273         * BufferView_pimpl.C (insertAndEditInset): new method.
14274         (Dispatch): use insertAndEditInset whenever appropriate.
14275
14276         * BufferView_pimpl.C (insertNote): removed
14277
14278         * BufferView_pimpl.C (smartQuote): new method, moved from
14279         BufferView; if an insetquote cannot be inserted, insert a '"'
14280         character instead.
14281
14282         * BufferView2.C: remove insertCorrectQuote();
14283
14284         * lyxfunc.C (getStatus): Add support for all remaingin
14285         inset-insert lfuns.
14286
14287         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14288
14289         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14290         command (necessary to pass " as parameter of self-insert.
14291
14292         * text.C (selectWordWhenUnderCursor):
14293         (selectWord): add word_location parameter
14294         (selectWordWhenUnderCursor): same + remove special code for word
14295         boundary.
14296         (selectNextWord): use kind() to guess type of insetspecialchar,
14297         not latex().
14298
14299         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14300         (insertErtContents): create ert insets as collapsed.
14301         (readInset): better compatibility code for Info inset.
14302
14303 2001-07-20  Juergen Vigna  <jug@sad.it>
14304
14305         * lyxfunc.C (dispatch): use always LyXFind now!
14306
14307         * text2.C (init): add a reinit flag so that the LyXText can be
14308         reinited instead of deleted and reallocated (used in InsetText).
14309
14310         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14311
14312         * text.C: ditto
14313
14314         * text2.C: ditto
14315
14316 2001-07-18  Juergen Vigna  <jug@sad.it>
14317
14318         * text.C (selectNextWord): handle insets inside inset by calling
14319         always the bv->text functions so that we can go up the_locking_inset!
14320
14321         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14322         in strange locations when inside an inset!
14323
14324         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14325         handling to include insets.
14326
14327         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14328
14329 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * LyXAction.C (init):
14332         * commandtags.h:
14333         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14334         LIGATURE_BREAK, since the name is so stupid.
14335
14336 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14337
14338         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14339         InsetInfos.
14340
14341         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14342
14343         * sp_form.[Ch]: remove.
14344
14345         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14346
14347         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14348         InsetInfo.
14349
14350         * src/buffer.C (readInset): ditto.
14351
14352 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14353
14354         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14355         menuSeparator(), endOfSentenceDot(), ldots() and
14356         hyphenationPoint(), which are therefore removed.
14357         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14358
14359         * LyXAction.C (init):
14360         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14361
14362         * paragraph.C (getWord): removed.
14363
14364         * BufferView_pimpl.C (Dispatch): use last word or selection for
14365         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14366
14367         * lyx_main.C (queryUserLyXDir): do not ask before creating
14368         user_dir, except if it has been named explicitely.
14369
14370 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14371
14372         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14373         a document of zero size.
14374
14375 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14376
14377         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14378         approriately in the c-tor and in require().
14379         (getPackages): output the appropriate LaTeX for natbib support.
14380
14381         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14382         variables "use_natbib" and "use_numerical_citations" when reading the
14383         LyX file.
14384         (readInset): read the various natbib cite commands.
14385         (validate): white-space change.
14386
14387         * bufferparams.[Ch]: new variables "bool use_natbib" and
14388         "bool use_numerical_citations".
14389         (writeFile): output them in the LyX file.
14390
14391 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14392
14393         * lyxfunc.C (getStatus): add support for all the inset insertion
14394         commands.
14395
14396         * text2.C (insertInset):
14397         * paragraph.C (insetAllowed):
14398         * BufferView_pimpl.C (insertInset): update to take in account the
14399         renaming of insertInsetAllowed
14400
14401         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14402
14403         * text2.C (getInset): new method. returns inset at cursor position.
14404
14405         * BufferView_pimpl.C (Dispatch): changes because of this.
14406
14407         * LyXAction.C (init): rename open-stuff to inset-toggle.
14408
14409         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14410
14411         * text2.C (toggleInset): renamed from openStuff; use
14412         Inset::open().
14413
14414 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14415
14416         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14417
14418         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14419
14420 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14421
14422         * buffer.C (readLyXformat2): Add filename to the error dialog
14423
14424 2001-07-18  Juergen Vigna  <jug@sad.it>
14425
14426         * tabular.C (GetCellNumber): put an assert here instead of the check!
14427
14428 2001-07-17  Juergen Vigna  <jug@sad.it>
14429
14430         * BufferView_pimpl.C (toggleSelection): adapted too.
14431
14432         * text.C (selectNextWord): adapted for use with insets.
14433         (selectSelectedWord): ditto
14434
14435 2001-07-17  Juergen Vigna  <jug@sad.it>
14436
14437         * sp_spell.C (PSpell): fix initialitation order.
14438
14439 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * paragraph.C: spacing
14442
14443 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14444
14445         * sp_spell.C: repair language selection for pspell
14446
14447 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14448
14449         * lyxfunc.h: change more methods to begin with lower char.
14450
14451 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14452
14453         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14454         for unknown layouts.
14455
14456 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14457
14458         * buffer.C (readLyXformat2): Generate an error dialog if there are
14459         unknown layouts.
14460
14461 2001-07-16  Juergen Vigna  <jug@sad.it>
14462
14463         * sp_spell.C: always compile ISpell part.
14464
14465         * lyxrc.C: added use_pspell entry and it's handling.
14466
14467 2001-07-13  Juergen Vigna  <jug@sad.it>
14468
14469         * sp_spell.C: removed double includes.
14470
14471 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14472
14473         Consistent use of Lsstream.h:
14474         * Lsstream.h: added using std::stringstream for consistencies sake.
14475
14476         * buffer.C: removed using std::stringstream
14477
14478         * lyxfont.C (stateText):
14479         * paragraph.C (asString):
14480         * text.C (selectNextWord, selectSelectedWord):
14481         * text2.C (setCounter):
14482         * vspace.C (asString, asLatexString):
14483         std::ostringstream -> ostringstream.
14484
14485 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14486
14487         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14488         * commandtags.h: add LFUN_HELP_ABOUTLYX
14489         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14490
14491 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14492
14493         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14494         cursorToggle()
14495         * lyx_gui_misc.C: remove spellchecker
14496         * lyxfunc.C: showSpellchecker
14497         * sp_base.h: added
14498         * sp_ispell.h: added
14499         * sp_pspell.h: added
14500         * sp_spell.C: added
14501         * sp_form.[Ch]: removed
14502         * spellchecker.[Ch]: removed
14503
14504 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14505
14506         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14507         is set.
14508         (simpleTeXSpecialChars): Simply print the input character without
14509         any special translation if pass_thru is set.
14510
14511         * layout.h: Added bool pass_thru to layout class for being able to
14512         implement pass through of a paragraph for Literate Programming.
14513
14514         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14515         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14516         * layout.C (Read): add "passthru" to list of layout tags and add
14517         code to set the pass_thru boolean when it is read.
14518
14519 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14520
14521         * trans_decl.h: remove allowed from KmodInfo
14522
14523         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14524         remove allowed code
14525         (Load): adjust
14526
14527         * paragraph_pimpl.C (erase): use boost::prior
14528
14529         * Painter.C (text): use data() instead of c_str() when length is
14530         also provided.
14531         * WorkArea.C (putClipboard): ditto
14532         * font.h (width): ditto
14533
14534         * BufferView2.C: use it-> instead of (*it). for iterators
14535         * texrow.C: ditto
14536         * paragraph_pimpl.C: ditto
14537         * paragraph.C: ditto
14538         * minibuffer.C: ditto
14539         * language.C: ditto
14540         * kbmap.C: ditto
14541         * encoding.C: ditto
14542         * counters.C: ditto
14543         * converter.C: ditto
14544         * chset.C: ditto
14545         * Variables.C: ditto
14546         * TextCache.C: ditto
14547         * MenuBackend.C: ditto
14548         * LyXAction.C: ditto
14549         * LColor.C: ditto
14550         * FloatList.C: ditto
14551         * DepTable.C: ditto
14552         * ColorHandler.C (LyXColorHandler): ditto
14553
14554 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14557
14558         * text2.C (openStuff): reintroduce this method (which had been
14559         nuked in NEW_INSETS frenzy).
14560
14561         * lyxfunc.C (Dispatch): when an action has not been handled, use
14562         its name in the error message, not its number.
14563
14564         * paragraph.C (inInset): change method name to begin with lowercase.
14565
14566         * undo_funcs.C:
14567         * text2.C: updates because of this.
14568
14569 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14570
14571         * ToolbarDefaults.C (add): add spaces in error message
14572
14573 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14574
14575         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14576         (readLyXformat2): rename return_par to first_par, use lyxlex's
14577         pushToken and remove the manual push handling.
14578         (parseSingleLyXformat2Token): add another ert comp. variable:
14579         in_tabular, rename return_par to first_par. handle newlines better
14580
14581 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14582
14583         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14584
14585 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14586
14587         * text2.C (getParFromID): removed
14588
14589         * buffer.C (getParFromID): new method moved form lyxtext.
14590         * BufferView2.C (insertErrors): adjust
14591         (setCursorFromRow): adjust
14592         * BufferView_pimpl.C (restorePosition): adjust
14593         * lyxfunc.C (Dispatch): adjust
14594         * undo_funcs.C (textUndo): adjust
14595         (textRedo): adjust
14596         (textHandleUndo): adjust
14597         (textHandleUndo): adjust
14598
14599 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14600
14601         * buffer.C: up' the LYX_FORMAT
14602
14603         * lyxfont.h: turn NO_LATEX on as default
14604
14605         * buffer.C (insertErtContents): new methods of tex style compability.
14606         (parseSingleLyXformat2Token): use it several places.
14607         * tabular.C (OldFormatRead): and here
14608
14609 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14610
14611         * text2.C: remove some commented code.
14612         reindent file.
14613
14614         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14615         * trans.C: changes because of the above.
14616
14617 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14618
14619         * text2.C (setCounter): Fix counters bug with bibliography layout.
14620
14621 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14622
14623         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14624         own member functions
14625         (simpleTeXSpecialChars): ditto
14626
14627 2001-07-06  Juergen Vigna  <jug@sad.it>
14628
14629         * a lot of files: changed the access to LyXText::status and the
14630         call of undo-functions.
14631
14632         * undo.[Ch]: added a inset_id to the undo informations.
14633
14634         * undo_funcs.[Ch]: added and moved here all undo functions.
14635
14636         * lyxtext.h: give the status enum a weight, made status_ a private
14637         variable and made accessor functions for it, removed the whole bunch
14638         of undo-functions as they are now in their own file, make some
14639         functions publically available. Added function ownerParagraph with
14640         int parameter.
14641
14642         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14643         made InInset() a const function, added getParFromID() function.
14644
14645         * buffer.[Ch]: added const version for inset_iterator functions,
14646         added getInsetFromID() function.
14647
14648         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14649         changed undo functions for new version.
14650
14651 2001-07-05  Juergen Vigna  <jug@sad.it>
14652
14653         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14654         unknow mechanism does not call the proper constructor but only this
14655         one also if I request the other!?
14656
14657 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14658
14659         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14660
14661         * text2.C (LyXText): use initialization lists.
14662
14663         * lyxtext.h (Selection): initialize set_ and mark_
14664         (init): remove method
14665
14666 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14667
14668         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14669
14670 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14671
14672         * screen.[Ch]: change method names to begin with lowercase
14673
14674         * BufferView_pimpl.C (updateScrollbar): simplify further and
14675         hopefully make it a bit faster.
14676
14677 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14678
14679         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14680         calling directly xforms functions.
14681
14682         * Painter.C (Painter):
14683         * lyx_cb.C (MenuWrite):
14684         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14685         fl_display.
14686
14687         * lyx_gui.C: remove bogus guiruntime extern declaration.
14688
14689 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14690
14691         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14692         in NEW_INSETS
14693         (redoDrawingOfParagraph): ditto
14694         (redoParagraphs): ditto
14695         (cutSelection): don't create a object for CutAndPaste use the
14696         static method directly
14697         (pasteSelection): ditto
14698
14699         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14700         LyXview (+ rename)
14701
14702 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14703
14704         * modifications to some other files because of this.
14705
14706         * Makefile.am (lyx_SOURCES): add XFormsView
14707
14708         * XFormsView.[Ch]: new files
14709
14710         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14711         the main window. Move the gui dependent stuff to XFormsView
14712
14713 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14714
14715         * tabular.C (GetCellInset): update cur_cell also in the row/col
14716         version of this function.
14717
14718         * lyxfunc.C: no need to include figure_form.h here.
14719
14720         * FontLoader.h:
14721         * lyxfunc.h:
14722         * lyxscreen.h:
14723         * text2.C:
14724         * lyxvc.C: no need to include forms.h here.
14725
14726 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14727
14728         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14729
14730         * lyxfunc.C (Dispatch):
14731         * Spacing.C (set):
14732         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14733         constructor argument.
14734
14735 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14736
14737         * paragraph.C (Paragraph): dont't clear, and just set layout.
14738         (makeSameLayout): use params's copy contructor.
14739
14740         * ParagraphParameters.[Ch] (makeSame): delete method
14741
14742 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * Variables.[Ch]: fix indentation, rename set to isSet
14745
14746 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14747
14748         * lyxfunc.C (Dispatch): fix typo
14749
14750 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14751
14752         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14753         upper_bound.
14754
14755         * bufferlist.C: include assert.h for emergencyWrite().
14756
14757 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14758
14759         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14760           give up at last (bug #425202) !
14761
14762 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14763
14764         * lyx_gui_misc.C:
14765         * sp_form.h:
14766         * sp_form.C:
14767         * spellchecker.h:
14768         * spellchecker.C: strip spellchecker options and bring up
14769           preferences tab instead
14770
14771 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14774         the istringstream constructor
14775
14776 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14777
14778         * paragraph.C (getLayout): fix return value
14779
14780         * paragraph.h: do not declare getLayout as inline.
14781
14782         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14783
14784 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14785
14786         * lyxcursor.h (operator<): new func
14787         (operator>): new func
14788         (operator>=): new func
14789         (operator<=): new func
14790
14791         * text.C (changeCase): use selection.start and selection.end
14792         (changeRegionCase): require from to be <= to. Require par to be a
14793         valid paragraph.
14794
14795         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14796
14797 2001-06-27  Juergen Vigna  <jug@sad.it>
14798
14799         * text.C (cursorLeftOneWord): changed to return the cursor and added
14800         overlay with BufferView * parameter which calls this one.
14801         (getWord): added
14802         (selectWord): use new getWord function.
14803         (changeCase): renamed from changeWordCase as and extended to work
14804         also on selections.
14805
14806         * lyxtext.h: added enum word_location
14807
14808         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14809         changeCase as this operates now also on selections.
14810
14811 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14812
14813         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14814
14815         * many files: send debug output to Debug::INFO instead of
14816         Debug::ANY.
14817
14818         * converter.C (View):
14819         (Convert):
14820         (Move): send debug output to Debug::FILES instead of console.
14821
14822 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14823
14824         * lyxfunc.C (getStatus): use func_status
14825
14826         * func_status.h: new header, describing the results of
14827         LyXFunc::getStatus;
14828
14829         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14830         LFUN_MATH_HALIGN.
14831
14832 2001-06-25  The LyX Project  <jug@sad.it>
14833
14834         * buffer.C (sgmlOpenTag):
14835         (sgmlCloseTag):
14836         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14837
14838 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * text2.C: remove some dead code
14841
14842         * tabular.C (GetCellInset): store the last cell checked (gotten)
14843
14844         * tabular.h: add the helper for the speedup
14845
14846         * lyxtext.h: remove some dead code
14847
14848 2001-06-26  The LyX Project  <Asger>
14849
14850         * paragraph.C: Change export to LaTeX of alignment to
14851         \begin{center} and family for better roundtrip work with reLyX.
14852
14853         * Tune the math drawing a bit.
14854
14855 2001-06-25  The LyX Project  <Asger>
14856
14857         * LColor.C (LColor): New color for math background. New color
14858         for buttons.
14859
14860 2001-06-25  The LyX Project  <jug@sad.it>
14861
14862         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14863
14864         * lyxfunc.C (Open):
14865         * bufferlist.C (newFile): do not restrict to files ending with
14866         .lyx
14867
14868         * BufferView_pimpl.C (MenuInsertLyXFile):
14869
14870 2001-06-24  The LyX Project  <jug@sad.it>
14871
14872         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14873         of compare_no_case
14874
14875 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14876
14877         * lyxtext.h: rename most methods to begin with a small char.
14878         Lots of changes because of this.
14879
14880         * paragraph.C (Paragraph): do not call fitToSize
14881         (erase): call Pimpl::erase
14882         (insertChar): call Pimpl::insertChar
14883         (insertInset): call Pipl::insertInset
14884         (breakParagraph): do not call fitToSize
14885         (breakParagraphConservative): do not call fitToSize
14886         (fitToSize): remove method
14887
14888         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14889
14890 2001-06-24  The LyX Project  <Asger>
14891
14892         * Fix Qt compilation^2
14893
14894 2001-06-24  The LyX Project  <jug@sad.it>
14895
14896         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14897         depthHook(getDepth()-1).
14898
14899         * paragraph.h:
14900         * ParagraphParameters.h:
14901         * ParameterStruct.h: change type of depth to unsigned int ==
14902         depth_type. Many adaptations to other files before of that.
14903
14904 2001-06-24  The LyX Project  <Asger>
14905
14906         * Fix Qt compilation.
14907
14908 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14909
14910         * paragraph.h: renamed several methods to begin with small letter.
14911         several changes to many parts of the code because of this.
14912
14913 2001-06-23  The LyX Project  <jug@sad.it>
14914
14915         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14916         rewritten to discard all double spaces when KeepEmpty is off
14917         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14918         to only handle newlines but not fiddle with spaces and friends.
14919
14920         * lyxfunc.C (MenuNew): when doing 'new from template', use
14921         template_path as default directory
14922
14923 2001-06-23  The LyX Project  <Asger>
14924
14925         * Clean-up of header file includes all over
14926         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14927
14928 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14929
14930         * paragraph.h: renamed from lyxparagraph.h
14931
14932 2001-06-23  Asger  <lyx@violet.home.sad.it>
14933
14934         * Buffer.h: Removed Buffer::resize
14935         * BufferList.h: Removed BufferList::resize
14936         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14937         the document lazily when we change the width, or the font settings.
14938
14939 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14940
14941         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14942
14943 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14944
14945         * buffer.h: remove out of date comment
14946
14947 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14948
14949         * lyxscreen.h:
14950         * screen.C: fix "theoretical" GC leak
14951
14952 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14953
14954         * LaTeX.C (scanAuxFile):
14955         (deplog): remove trailing \r when reading stream (useful under
14956         win32)
14957
14958 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14959
14960         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14961         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14962         and BufferView::theLockingInset(Inset*), so should use them and not
14963         access bv_->text->the_locking_inset directly.
14964
14965         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14966
14967 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14968
14969         * Makefile.am:
14970         * tex-defs.h: remove old unused file
14971
14972 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14973
14974         * BufferView_pimpl.C: fix typo, remove minibuffer message
14975           when buffer has loaded
14976
14977 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14978
14979         * lyxfunc.C (Dispatch): use stringstream
14980         (MenuNew): use stringstream
14981         (Open): use stringstream
14982
14983         * importer.C (Import): use stringstream
14984
14985         * bufferview_funcs.C (CurrentState): use stringstream
14986
14987         * LaTeX.C (run): use stringstream
14988
14989         * BufferView_pimpl.C (savePosition): use stringstream
14990         (restorePosition): use stringstream
14991         (MenuInsertLyXFile): use stringstream
14992
14993 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14994
14995         * BufferView.C:
14996         * Bullet.C:
14997         * ColorHandler.C:
14998         * FontInfo.C:
14999         * FontLoader.C:
15000         * LColor.C:
15001         * LaTeXFeatures.C:
15002         * Painter.C:
15003         * gettext.C:
15004         * lyx_gui_misc.C:
15005         * lyxserver.C:
15006         * vspace.C: removed // -*- C++ -*- as first line.
15007
15008         * lyxfind.h:
15009         * version.h: added // -*- C++ -*- as first line.
15010
15011 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15014
15015         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15016         of string
15017
15018 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15019
15020         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15021         of floats.
15022
15023 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15024
15025         * gettext.C: include LString.h even when --disable-nls is on.
15026
15027 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15028
15029         * converter.h (Get): changed argument type from int to
15030         FormatList::size_type to avoid unnecessary conversion.
15031
15032         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15033         before using it.
15034
15035 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15036
15037         * gettext.h: include LString.h even when --disable-nls is on.
15038
15039 2001-06-07  Juergen Vigna  <jug@sad.it>
15040
15041         * text.C (BreakAgain): subst spaces with tabs.
15042
15043         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15044         (resizeInsetsLyXText): set force on resizeLyXText.
15045
15046 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15047
15048         * gettext.h (gettext_init):
15049         (locale_init): use a real definition instead of a macro
15050
15051 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15052
15053         * Bufferview_pimpl.C:
15054         * LColor.h:
15055         * LColor.C: further lcolor tidies
15056
15057 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15058
15059         * BufferView_pimpl.C (updateScrollbar): simplify.
15060
15061         * BufferView2.C: don't include insets/insetinfo.h, change
15062         prototype for insertInset and call the Pimpl version. let
15063         updateInset call Pimpl version.
15064
15065         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15066         gotoInset to BufferView::Pimpl
15067
15068 2001-06-01  Juergen Vigna  <jug@sad.it>
15069
15070         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15071         inside a LockingInset (is the update needed at all?).
15072
15073 2001-05-31  Juergen Vigna  <jug@sad.it>
15074
15075         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15076         here not the old one otherwise how should we compare it afterwards
15077         if it's the same!
15078
15079 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15080
15081         * lyxfont.C:
15082         * tabular.C:
15083         * tabular-old.C:
15084         * FontInfo.C: bring C functions into global namespace when
15085         necessary
15086
15087 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15088
15089         * LString.h: make sure config.h has been loaded before LString.h.
15090
15091         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15092         (one for each char read by EatLine!).
15093
15094         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15095         variables.
15096
15097 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15098
15099         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15100         to the same as the par we break from
15101
15102 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15103
15104         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15105
15106         * MenuBackend.C (expand): also create menu entries for wide
15107         versions of the floats.
15108
15109         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15110
15111         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15112
15113         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15114         frontends/Makefile.am
15115
15116         * text2.C: adjust
15117         * text.C: adjust
15118
15119
15120         * tabular.C (getTokenValue): add std::
15121
15122         * tabular-old.C (getTokenValue): add std::
15123         (getTokenValue): ditto
15124         (getTokenValue): ditto
15125
15126         * screen.C (ToggleSelection): adjust
15127
15128         * lyxtext.h: put selection cursors inside a Selection struct.
15129
15130         * lyxfunc.C (moveCursorUpdate): adjust
15131
15132         * lyxfont.C (latexWriteStartChanges): add std::
15133
15134         * lyxfind.C: adjust
15135
15136         * font.h: delete with(char const *, LyXFont const &)
15137
15138         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15139
15140         * FontInfo.C (getFontname): add std::
15141
15142         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15143         (workAreaButtonPress): adjust
15144         (tripleClick): adjust
15145         (update): adjust
15146         (moveCursorUpdate): adjust
15147         (Dispatch): adjust
15148
15149         * BufferView2.C (gotoInset): adjust
15150
15151 2001-05-30  Juergen Vigna  <jug@sad.it>
15152
15153         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15154         to check pspell I add this as default as I now have new pspell
15155         libraries and they seem to use this.
15156
15157 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * text2.C (CutSelection): make the cursor valid before the call to
15160         ClearSelection.
15161
15162 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15163
15164         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15165         relied on 0 terminated strings and other horrors. Bug found due to
15166         the new assert in lyxstring!
15167
15168         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15169         KP_ keys.
15170
15171 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15174         to latinkeys.bind.
15175
15176         * lyxfunc.C (processKeySym): change method of getting to the
15177         self-insert char.
15178
15179         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15180         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15181         * BufferView_pimpl.[Ch]: here as private methods.
15182
15183 2001-05-28  Juergen Vigna  <jug@sad.it>
15184
15185         * text.C (SetHeightOfRow): added the update() call again as it is
15186         needed to initialize inset dimensions!
15187
15188 2001-05-16  Juergen Vigna  <jug@sad.it>
15189
15190         * text2.C (SetCharFont): Add new function with BufferView * and
15191         bool toggleall parameters for setting insets internal fonts.
15192         (SetFont): Freeze the undo as we may change fonts in Insets and
15193         all this change should be inside only one Undo!
15194
15195         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15196         setting font's in insets as for them we have the SetFont function!
15197
15198 2001-05-15  Juergen Vigna  <jug@sad.it>
15199
15200         * text2.C (ClearSelection): to be sure we REALLY don't have any
15201         selection anymore!
15202
15203         * tabular.C (TeXCellPreamble): fixed the left border problem for
15204         multicolumn cells.
15205
15206 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15207
15208         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15209         dependancy file
15210
15211 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15214         LFUN_BREAKPARAGRAPH.
15215
15216         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15217         help test to "internal only", similar for LFUN_INSERT_URL
15218
15219         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15220         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15221         auto_region_delete and deadkeys.
15222
15223 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15224
15225         * LColor.h:
15226         * LColor.C: remove some dead entries, tidy a little
15227
15228 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15231         commented code.
15232         (Dispatch): implement LFUN_ESCAPE
15233
15234         * commandtags.h: add LFUN_ESCAPE
15235
15236         * LyXAction.C (init): add entry for LFUN_ESCAPE
15237
15238         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15239         Remove commented code.
15240         (insertNote): moved here
15241         (open_new_inset): moved here
15242
15243         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15244         BufferView_pimpl
15245
15246 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15247
15248         * kbmap.C (findbinding): clean it up and make it work correctly.
15249
15250         * lyx_main.C (init): do not pass argc and argv as parameters
15251
15252 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15253
15254         * buffer.C: fix path for OS/2 & Win32
15255
15256         * lyx_gui.C:
15257         * lyx_main:
15258         * lyx_main.C: Added os:: class.
15259
15260         * os2_defines.h: update
15261
15262 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15263
15264         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15265         better by trying again with reduced state.
15266
15267 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15268
15269         * lyxrc.C (read): print error about invalid key sequence only when
15270         debugging (because not all latinX keysyms are known to some X
15271         servers)
15272
15273         * kbsequence.C (getiso): add a few std:: qualifiers
15274         (getiso): comment out extra return statement.
15275
15276 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15277
15278         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15279         handling.
15280         (Dispatch): enhance the accent inset a bit. (not perfect)
15281
15282 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15285
15286 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * bufferlist.C (emergencyWrite): fix assert() call
15289
15290 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15291
15292         * text.C (InsertChar): Added trivial patch to only send the "you
15293         can not do multiple spaces this way" message once during a
15294         session.
15295
15296 2001-05-08  Baruch Even  <baruch@lyx.org>
15297
15298         * Makefile.am: Changed order of libraries to get LyX to link properly
15299         with the gnome frontend.
15300
15301 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15302
15303         * LaTeXFeatures.h: add a std:: qualifier
15304
15305 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15306
15307         * paragraph.C (String): use stringstream
15308
15309 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15310
15311         * paragraph.C (writeFile): remove footflag arg
15312
15313         * buffer.C (makeLaTeXFile): use stringstream
15314         (latexParagraphs): remove footnot gurba
15315
15316         * LaTeXFeatures.C (getPackages): use stringstream
15317         (getMacros): likewise
15318         (getTClassPreamble): likewise
15319         (getFloatDefinitions): new method
15320
15321         * paragraph.C (writeFile): reindent
15322         (Erase): reindent
15323
15324         * WorkArea.h: revert the xpos + etc changes.
15325
15326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15327
15328         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15329
15330         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15331         (pasteSelection): likewise
15332         * text2.C (CreateUndo): likewise
15333
15334 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * minibuffer.C (peek_event): temporarily reduce the functionality
15337         of the minibuffer (to allow args on lfuns)
15338
15339         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15340         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15341
15342         * buffer.C (readInset): add compability reading of old float
15343         lists, add reading of new style float list.
15344         (readInset): avoid reevaluation of inscmd.getCmdName()
15345         (getLists): reindent
15346
15347         * MenuBackend.C (MenuItem): implement parsing of
15348         md_floatlistinsert and md_floatinsert.
15349         (expand::LastFiles): move initalizaton of iterators out of loop,
15350         avoid reevaluation.
15351         (expand::Documents): introduce typdedef vector<string> Strings,
15352         and use it.
15353         (expand::ExportFormats): introduce typedef vector<Format const *>
15354         Formats, and use it.
15355         (expand): implement FloatListInsert and FloatInsert.
15356
15357         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15358         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15359         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15360
15361         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15362         handling.
15363         (Dispatch::LFUN_FLOAT_LIST): implement
15364
15365 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15366
15367         * LaTeX.C (run): Fix problem with --export code.
15368
15369 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15370
15371         * BufferView.[Ch] (workarea): removed.
15372         (getClipboard) new method; wrapper for workarea()->getClipboard()
15373
15374         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15375         bug.
15376
15377         * WorkArea.h (width, height, xpos, ypos): These methods all
15378         returned the dimensions of the work_area sub-area of WorkArea,
15379         resulting in a position error if the WorkArea were resized. Now
15380         return the dimensions of the entire WorkArea.
15381
15382         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15383
15384 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15385
15386         * LaTeX.C (deplog): correct the syntax of regex reg1
15387
15388 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * undo.C: remove !NEW_INSETS cruft
15391
15392 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * text2.C: remove !NEW_INSETS cruft
15395
15396         * text.C: remove !NEW_INSETS cruft
15397
15398         * tabular.C: remove !NEW_INSETS cruft
15399
15400         * spellchecker.C: remove !NEW_INSETS cruft
15401
15402         * lyxtext.h: remove !NEW_INSETS cruft
15403
15404         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15405
15406         * lyxfunc.C: remove !NEW_INSETS cruft
15407
15408         * lyxfind.C: remove !NEW_INSETS cruft
15409
15410         * lyx_cb.C: remove !NEW_INSETS cruft
15411
15412         * figureForm.C: remove  !NEW_INSETS cruft
15413
15414         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15415
15416         * buffer.[Ch]: remove !NEW_INSETS cruft
15417
15418         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15419
15420         * CutAndPaste.C: remove !NEW_INSETS cruft
15421
15422         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15423
15424         * BufferView2.C: remove !NEW_INSETS cruft
15425
15426         * BufferView.h: remove !NEW_INSETS cruft
15427
15428 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15429
15430         * Lsstream.h: include LString.h before the sstream headers to
15431         fix problem with gcc 2.95.3 and lyxstring
15432
15433 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15434
15435         * lyx_main.C: add using directives when needed for C functions
15436         declared in std:: namespace.
15437
15438 2001-04-27  Juergen Vigna  <jug@sad.it>
15439
15440         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15441         (SetHeightOfRow): comment out the update call should not be needed!
15442
15443 2001-04-13  Juergen Vigna  <jug@sad.it>
15444
15445         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15446         (LyXTabular): tried to minimize operator= operations (and realized
15447         hopfully Lars wish).
15448
15449 2001-04-27  Juergen Vigna  <jug@sad.it>
15450
15451         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15452
15453 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15454
15455         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15456
15457         * buffer.C (readInset): hack to make listof algorithm work
15458
15459         * BufferView_pimpl.C: hack to make listof algorithm work
15460
15461 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * LyXAction.C: removed all !NEW_INSETS cruft
15464         (init): moved lfun_item in method
15465
15466         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15467
15468 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15469
15470         * BufferView2.C (theLockingInset): white space.
15471
15472 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * minibuffer.C: include <iostream>
15475
15476         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15477
15478         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15479
15480         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15481
15482         * text.[Ch] (TransposeChars): new method
15483
15484 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * call message directly through LyXView instead of through LyXFunc
15487         * BufferView2.C: adjust
15488         * BufferView_pimpl.C: adjust
15489         * FontLoader.C: adjust
15490         * buffer.C: adjust
15491         * bufferview_funcs.C: adjust
15492         * converter.C: adjust
15493         * figureForm.C: adjust
15494         * importer.C: adjust
15495         * lyx_cb.C: adjust
15496         * lyx_gui_misc.C: adjust
15497         * lyxfunc.C: adjust
15498         * lyxvc.C: adjust
15499         * text2.C: adjust
15500         + more files in subdirs
15501
15502         * lyxparagraph.h (size): move up int file
15503         (GetLayout): ditto
15504
15505         * adjust all uses of Assert to lyx::Assert.
15506
15507         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15508         lyxfunctional in namespace lyx
15509         * layout.C (hasLayout): ditto
15510         (GetLayout): ditto
15511         (GetLayout): ditto
15512         (delete_layout): ditto
15513         (NumberOfClass): ditto
15514         * converter.C (GetFormat): ditto
15515         (GetNumber): ditto
15516         (Add): ditto
15517         (Delete): ditto
15518         (SetViewer): ditto
15519         * bufferlist.C (getFileNames): ditto
15520         (emergencyWriteAll): ditto
15521         (exists): ditto
15522         (getBuffer): ditto
15523         * MenuBackend.C (hasSubmenu): ditto
15524         (hasMenu): ditto
15525         (getMenu): ditto
15526         * BufferView_pimpl.C (getInsetByCode): ditto
15527
15528 2001-04-18  Juergen Vigna  <jug@sad.it>
15529
15530         * vspace.C (asLatexString): fixed the 100% problem.
15531
15532 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15533
15534         * lyxfunc.C (Dispatch):
15535         * minibuffer.C:
15536         * minibuffer.h: add a few std:: qualifiers
15537
15538 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15539
15540         * minibuffer.[Ch]: reimplement so that commands is initiated and
15541         run from lyxfunc, simplified som handling, and made the completion
15542         and history code for complete. wip.
15543
15544         * lyxfunc.C (processKeySym): call message
15545         (miniDispatch): new temporary method
15546         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15547         (LFUN_MESSAGE): implement
15548         (LFUN_MESSAGE_PUSH): implement
15549         (LFUN_MESSAGE_POP): implement
15550         (initMiniBuffer): the initial/defualt minibuffer message.
15551
15552         * lyxfont.[Ch]: inline some more getters
15553
15554         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15555
15556         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15557
15558         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15559         (AutoSave): use LFUN_MESSAGE
15560         (Reconfigure): ditto
15561
15562         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15563
15564         * figureForm.C: use LFUN_MESSAGE
15565
15566         * converter.C (runLaTeX): use LFUN_MESSAGE
15567
15568         * bufferview_funcs.C: use LFUN_MESSAGE
15569         (Melt): ditto
15570         (changeDepth): ditto
15571
15572         * bufferparams.h: use boost::
15573
15574         * bufferlist.h: inherit privately from noncopyable
15575
15576         * bufferlist.C (loadLyXFile): remove some commented code.
15577
15578         * buffer.C (runChktex): use LFUN_MESSAGE
15579
15580         * ShareContainer.h: inherit privately from noncopyable
15581
15582         * ParagraphParameters.[hC] (depth): inline it.
15583
15584         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15585         methods.
15586         (message): new method
15587         (messagePush): ditto
15588         (messagePop): ditto
15589         (show): init minibuffer
15590         (showState): direct call
15591
15592         * LaTeX.[Ch]: inherit privately from noncopyable
15593         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15594         instead of WriteStatus.
15595
15596         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15597
15598         * BufferView_pimpl.C (buffer): don't init minibuffer
15599         (workAreaButtonPress): use LFUN_MESSAGE
15600         (workAreaButtonRelease): ditto
15601         (savePosition): ditto
15602         (restorePosition): ditto
15603         (MenuInsertLyXFile): ditto
15604         (workAreaExpose): don't init minibuffer
15605         (update): remove commented code, simplify
15606
15607         * BufferView2.C (openStuff): use LFUN_MESSAGE
15608         (toggleFloat): ditto
15609         (menuUndo): ditto
15610         (menuRedo): ditto
15611         (copyEnvironment): ditto
15612         (pasteEnvironment): ditto
15613         (copy): ditto
15614         (cut): ditto
15615         (paste): ditto
15616         (gotoInset): ditto
15617         (updateInset): remove some commented code
15618
15619         * lastfiles.h: inherit privately from noncopyable
15620         * layout.h: ditto
15621         * lyx_gui.h: ditto
15622         * lyx_main.h: ditto
15623         * lyxlex.h: ditto
15624         * lyxlex_pimpl.h: ditto
15625
15626         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15627         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15628         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15629
15630         * LyXAction.h: inherit privately from noncopyable, add methods
15631         func_begin, func_end, returning iterators to the func map.
15632
15633         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15634         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15635         (func_begin): new method
15636         (func_end): new method
15637
15638         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15639         and not)
15640         (copySelection): ditto
15641         (pasteSelection): ditto
15642
15643         * BufferView.C: whitespace change
15644         * BufferView.h: inherit privately from noncopyable
15645
15646 2001-04-16  Allan Rae  <rae@lyx.org>
15647
15648         * tabular-old.C (l_getline):
15649         * spellchecker.C (sc_check_word):
15650         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15651         an unrecognised preprocessor directive.  So ensure they're wrapped.
15652
15653 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15654
15655         * src/exporter.C (Export): Give an error message when path to file
15656         contains spaces.
15657
15658 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15659
15660         * LaTeX.C (deplog): Always check that foundfile exists.
15661
15662 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15663
15664         * lyx_main.h:
15665         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15666
15667 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15668
15669         * tabular.[Ch] (getLabelList): implement new method
15670
15671         * minibuffer.h: comment ouf setTiimer
15672
15673         * minibuffer.C (ExecutingCB): constify res
15674         (peek_event): constify s
15675         (Set): constify ntext
15676         (Init): constify nicename
15677
15678         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15679
15680         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15681         (savePosition): use two params to Minibuffer::Set
15682         (restorePosition): ditto
15683
15684 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15685
15686         * lyx_main.C: include language.h
15687
15688         * Makefile.am (lyx_main.o): add language.h
15689
15690 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15691
15692         * exporter.C:
15693         * paragraph.C:
15694         * screen.C:
15695         * tabular.C:
15696         * CutAndPaste.C: include gettext.h
15697
15698         * lyxfont.h: remove old hack with ON and OFF.
15699
15700         * lyxparagraph.h:
15701         * lyxfont.h: do not include language.h...
15702
15703         * BufferView2.C:
15704         * LaTeXFeatures.C:
15705         * Painter.C:
15706         * bufferview_funcs.C:
15707         * font.C:
15708         * lyxfont.C:
15709         * text.C:
15710         * text2.C:
15711         * trans_mgr.C:
15712         * paragraph.C: ... but do it here instead
15713
15714 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15715
15716         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15717
15718         * tabular.C: small reformat
15719
15720         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15721         NEW_INSETS version
15722         (GetChar): ditto
15723         (BreakParagraph): ditto
15724         (SetOnlyLayout): ditto
15725         (SetLayout): ditto
15726
15727         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15728         with one arg less.
15729
15730         * lastfiles.C: removed most using decl, add std:: where needed
15731
15732         * buffer.C: ws changes
15733
15734         * MenuBackend.C (class compare_format): put into anon namespace
15735         (expand): constify label, names, action, action2
15736         (expand):
15737
15738         * text.C (SingleWidth): constify font
15739         (IsBoundary): constify rtl2
15740         (GetVisibleRow): constify ww
15741
15742         * LaTeX.C (deplog): constify logfile
15743
15744         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15745         start_x, end_x
15746         (workAreaExpose): constify widthChange, heightChange
15747
15748         * lyxrow.C (par): moved
15749         (height): moved
15750         (next): moved
15751         * lyxrow.h: as inlines here
15752
15753         * lyxfont.h (shape): moved from lyxfont.C
15754         (emph): moved from lyxfont.C
15755
15756         * lyxfont.C (LyXFont): use initialization list for all
15757         constructors
15758         (shape): move to lyxfont.h as inline
15759         (emph): move to lyxfont.h as inline
15760
15761
15762 2001-04-04  Juergen Vigna  <jug@sad.it>
15763
15764         * vspace.C: had to include stdio.h for use of sscanf
15765
15766 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15767
15768         * BufferView.h:
15769         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15770         independent of xforms.
15771
15772 2001-04-02  Juergen Vigna  <jug@sad.it>
15773
15774         * spellchecker.C: fixed namespace placing!
15775
15776 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15777
15778         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15779         the LyXParagraph * is 0.
15780
15781 2001-03-29  Juergen Vigna  <jug@sad.it>
15782
15783         * vspace.C: added support for %, c%, p%, l%.
15784         (stringFromUnit): added helper function.
15785         (asLatexString): changed to give right results for the %-values.
15786
15787         * buffer.C: convert the widthp in a width%.
15788
15789 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15790
15791         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15792         figureForm.[Ch].
15793
15794         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15795         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15796
15797         * lyx_cb.[Ch]: see above.
15798
15799         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15800         form1.[Ch].
15801
15802         * form1.[Ch]:
15803         * lyx.[Ch]: replaced by figure_form.[Ch].
15804
15805         * lyx_gui.C:
15806         * lyx_gui_misc.C:
15807         * lyxfunc.C: changed headers associated with above changes.
15808
15809 2001-03-27  Juergen Vigna  <jug@sad.it>
15810
15811         * BufferView_pimpl.C: set the temporary cursor right!
15812
15813 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15814
15815         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15816
15817 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15818
15819         * LString.h: removed "using std::getline"!
15820
15821         * BufferView_pimpl.C (Dispatch): changes due to changes in
15822         InsetInclude::Params.
15823
15824         * buffer.C (tag_name): removed redundant break statements as they were
15825         producing lots of warnings with my compiler.
15826
15827 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15828
15829         * LString.h: add "using std::getline" when using the real <string>.
15830
15831 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15832
15833         * buffer.C: removed bitset usage.
15834         PAR_TAG moved to an anonymous name space.
15835         (tag_name): new funtion, also in the anonymous namespace.
15836         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15837         (makeDocBookFile): clean code. Completed transition from string arrays
15838         to string vectors.
15839         (SimpleDocBookOnePar): code clean.
15840
15841 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15842
15843         * tabular.C: add some comments.
15844
15845 2001-03-22  Juergen Vigna  <jug@sad.it>
15846
15847         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15848         compatibility read a bit and fixed bug with minipage in different
15849         depth.
15850
15851 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15852
15853         * buffer.C (pop_tag): removed.
15854         (push_tag): removed.
15855         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15856         array replaced with vector. Added support for CDATA sections.
15857         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15858         at any nest level.
15859         (makeDocBookFile): XML conformant declaration of CDATA section,
15860         fixed bug related to <emphasis> in the first paragraph char.
15861         (sgmlOpenTag): exclude empty tags.
15862         (sgmlCloseTag): ditto.
15863
15864         * buffer.h (pop_tag): removed.
15865         (push_tag): removed.
15866
15867 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15868
15869         * language.h (Languages): added size_type and size().
15870
15871 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15872
15873         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15874         response on compability reading of minipages. One probliem is that
15875         the old usage of minipages was «flertydig»
15876
15877         * several files here and in subdirs: don't use static at file
15878         scope use anon namespaces instead.
15879
15880 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15881
15882         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15883         LaTeX output. This is necessary for Literate document
15884         processing.
15885
15886 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15887
15888         * buffer.C: insert hfill when needed.
15889
15890         * tabular.C (l_getline): use string::erase, small whitespace change.
15891
15892         * BufferView_pimpl.C: try the anon namespace.
15893         * WorkArea.C: ditto
15894
15895 2001-03-16  Juergen Vigna  <jug@sad.it>
15896
15897         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15898         otherwise it won't open options-dialogs.
15899
15900         * buffer.C: honor pextraWidth(p) on converting minipages.
15901
15902         * tabular.C (l_getline): changed the functions to strip trailing \r.
15903
15904 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15905
15906         * BufferView_pimpl.C:
15907         * minibuffer..C: added "using SigC::slot" declaration.
15908
15909 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15910
15911         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15912
15913         * text2.C: ditto
15914
15915         * text.C: ditto
15916
15917         * paragraph.C: ditto
15918
15919         * lyxtext.h: NO_PEXTRA
15920
15921         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15922
15923         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15924         * ParameterStruct.h: ditto
15925         * ParagraphParameters.h: ditto
15926         * lyxparagraph.h: ditto
15927
15928 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15929
15930         * buffer.C: add compability for minipage alignment.
15931         (latexParagraphs): remove unwanted pextra check.
15932
15933         * several files: remove CXX_WORKING_NAMESPACES
15934
15935         * buffer.C (pop_tag): tie is in namespace boost
15936
15937         * BufferView.h: noncopyable is in namespace boost
15938         * lyxlex.h: ditto
15939         * lyx_main.h: ditto
15940         * lyx_gui.h: ditto
15941         * layout.h: ditto
15942         * lastfiles.h: ditto
15943         * bufferlist.h: ditto
15944         * ShareContainer.h: ditto
15945         * LyXView.h: ditto
15946         * LyXAction.h: ditto
15947         * LaTeX.h: ditto
15948
15949 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15950
15951         * Merging changes from BRANCH_MVC back into HEAD.
15952
15953         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15954
15955 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15956
15957         * BufferView_pimpl.C: change from intl.C
15958
15959         * combox.h:
15960         * combox.C:
15961         * Makefile.am: move combox.*
15962
15963         * form1.h:
15964         * form1.C:
15965         * lyx_gui.C:
15966         * intl.h:
15967         * intl.C: remove dialog (covered by prefs)
15968
15969 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15970
15971         * lyxfunc.C (Dispatch): removed redundant break statement.
15972
15973 2001-03-14  Juergen Vigna  <jug@sad.it>
15974
15975         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15976
15977 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15978
15979         * buffer.C: add hack to fix compability reading of minipages.
15980
15981 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15982
15983         * buffer.C (getLists): Cleanup.
15984
15985 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15986
15987         * lyxfont.C (update): don't honor toggleall on font size.
15988
15989 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15990
15991         * bmtable.c:
15992         * bmtable.h:
15993         * Makefile.am: moved to frontends/xforms/
15994
15995         * lyx_gui_misc.C:
15996         * lyxfunc.C:
15997         * BufferView_pimpl.C: changes for moved mathpanel
15998
15999 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16000
16001         * gettext.h: fix gettext_init() in --disable-nls
16002
16003 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16004
16005         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16006
16007 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16008
16009         * lyx.C:
16010         * lyx.h: strip external form
16011
16012 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16013
16014         * BufferView_pimpl.C: add comment, destroySplash()
16015
16016 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16017
16018         * BufferView_pimpl.C:
16019         * LyXAction.C:
16020         * buffer.C:
16021         * commandtags.h:
16022         * lyxfunc.C: use re-worked insetinclude
16023
16024 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16025
16026         * buffer.C: add using std::stringstream.
16027
16028         * lyx_cb.C: readd using std::ios.
16029
16030         * buffer.C: add using std::map.
16031
16032         * BufferView_pimpl.C: add using std::vector.
16033
16034         * ShareContainer.h: add std:: to swap.
16035
16036         * buffer.h: add some typedefs
16037         * buffer.C (getLists): use them
16038         (getLists): renamed from getTocList.
16039         add a counter for the different float types and use it in the
16040         generated string.
16041         (getLists): use the same counter for the NEW_INSETS and the "non"
16042         NEW_INSETS
16043
16044         * lyx_cb.h: remove unused items, includes, using etc.
16045
16046         * ShareContainer.h: remove some commented code, add more comments
16047         and "documentation".
16048
16049 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16050
16051         * buffer.C (getTocList): make the list also when NEW_INSETS is
16052         defined.
16053
16054         * buffer.h: remove TocType
16055
16056         * buffer.C (getTocList): change to return a map<string,
16057         vector<TocItem> >, implement for dynamic number of list.
16058
16059         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16060         * text2.C (PasteSelection): adjust
16061         * CutAndPaste.C (pasteSelection): adjust
16062
16063         * FloatList.C (FloatList): update from the new_insets branch.
16064         * Floating.[Ch]: ditto
16065         * LaTeXFeatures.C: ditto
16066         * buffer.C: ditto
16067         * lyxlex_pimpl.C: ditto
16068
16069         * paragraph.C (Last): remove when NEW_INSETS is defined.
16070
16071         * other file: changes because of the above.
16072
16073 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16074
16075         * lyxparagraph.h: rename next to next_, previous to previous_,
16076         make them private for NEW_INSETS. Rename Next() to next(),
16077         Previous() to previous().
16078
16079         * other files: changes because of the above.
16080
16081 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16082
16083         * BufferView.h:
16084         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16085         problem.
16086
16087 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16088
16089         * main.C (main): pass lyx_localedir to gettext_init().
16090
16091         * gettext.h: remove locale_init and gettext_init macros
16092
16093         * gettext.C (locale_init): new function
16094         (gettext_init): new function
16095
16096         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16097         setlocale().
16098
16099 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16100
16101         * Moved credits to frontends:
16102         * credits.[Ch]: removed
16103         * credits_form.[Ch]: removed
16104         * lyx_gui_misc.C: remove credits stuff
16105         * Makefile.am:
16106
16107 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16108
16109         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16110
16111         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16112         unneeded destructor.
16113
16114         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16115         a standalone pointer again.
16116
16117         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16118
16119 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16120
16121         * Makefile.am:
16122         * filedlg.h:
16123         * filedlg.C:
16124         * LyXAction.C:
16125         * ToolbarDefaults.C:
16126         * bufferlist.C:
16127         * commandtags.h:
16128         * form1.C:
16129         * form1.h:
16130         * lyx_cb.C:
16131         * lyx_cb.h:
16132         * lyxfunc.h:
16133         * lyxfunc.C:
16134         * BufferView_pimpl.C: use new file dialog in GUII
16135
16136         * lyx_cb.h:
16137         * lyx_cb.C: remove LayoutsCB to Toolbar
16138
16139 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * ShareContainer.h (get): add std:: qualifier
16142
16143 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16144
16145         * ShareContainer.h: define a proper ShareContainer::value_type
16146         type (and use typename to please compaq cxx)
16147
16148 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16149
16150         * lyxparagraph.h: move serveral local vars to
16151         ParameterStruct/ParagraphParameters., use ShareContainer in
16152         FontTable., make vars in FontTable private and add getter and
16153         setter.
16154
16155         * paragraph.C: changes because of the above.
16156
16157         * lyxfont.h: remove copy constructor and copy assignment. (the
16158         default ones is ok), move number inside FontBits. move inlines to
16159         lyxfont.C
16160
16161         * lyxfont.C: add number to initializaton of statics, move several
16162         inlines here. constify several local vars. some whitespace
16163         cleanup. Dont hide outerscope variables.
16164
16165         * Spacing.h: add two new constructors to match the set methods.
16166
16167         * ShareContainer.h: new file, will perhaps be moved to support
16168
16169         * ParameterStruct.h: new file
16170
16171         * ParagraphParameters.h: new file
16172
16173         * ParagraphParameters.C: new file
16174
16175         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16176         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16177
16178         * BufferView_pimpl.C: ParagraphParameter changes.
16179         * buffer.C: Likewise.
16180         * bufferview_funcs.C: Likewise.
16181         * text.C: Likewise.
16182         * text2.C: Likewise.
16183
16184 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16185
16186         * lyxfind.C (LyXReplace): do not redefine default argument in
16187         implementation.
16188         (IsStringInText): ditto
16189         (SearchForward): ditto
16190         (SearchBackward): ditto
16191
16192 2001-03-06  Juergen Vigna  <jug@sad.it>
16193
16194         * lyxfind.C (IsStringInText): put parentes around expressions.
16195
16196 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16197
16198         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16199
16200 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16201
16202         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16203
16204         * stl_string_fwd.h: add comment
16205
16206         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16207
16208         * tabular.h:
16209         * tabular.C: remove unused DocBook methods
16210
16211         * intl.C:
16212         * language.C:
16213         * paragraph.C:
16214         * buffer.C:
16215         killed DO_USE_DEFAULT_LANGUAGE
16216
16217 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16218
16219         * lyx_gui.C: do not include language.h.
16220
16221         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16222         arguments in function implementation.
16223
16224 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16225
16226         * BufferView_pimpl.C: add <ctime>
16227
16228 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16229
16230         * BufferView_pimpl.C: add using std::find_if
16231
16232 2001-02-27  José Matos  <jamatos@fep.up.pt>
16233
16234         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16235         by OnlyPath.
16236
16237 2001-02-11  José Matos  <jamatos@fep.up.pt>
16238
16239         * buffer.C (makeDocBookFile): command styles now have a parameter as
16240         "title" by default.
16241
16242 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16243
16244         * layout_forms.[Ch]: removed
16245         * lyx_cb.[Ch]: out character
16246         * lyx_gui.C: out character
16247         * lyx_gui_misc.C: out character
16248         * bufferview_funcs.C: : out character,
16249         added toggleall as parameter in ToggleAndShow
16250
16251 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16252
16253         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16254
16255         * text2.C (SetCurrentFont): Disable number property at boundary.
16256
16257 2001-02-26  Juergen Vigna  <jug@sad.it>
16258
16259         * lyxfunc.C (getStatus): added a string argument override function so
16260         that this is correctly called from LyXFunc::Dispatch if it contains a
16261         do_not_use_argument which is used!
16262         (Dispatch): added check for "custom" export and call appropriate func.
16263
16264 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16265
16266         * lyxrc.C: Add language_command_local, language_use_babel and
16267         language_global_options.
16268
16269         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16270
16271         * buffer.C (makeLaTeXFile): Use language_use_babel and
16272         language_global_options.
16273
16274 2001-02-23  Juergen Vigna  <jug@sad.it>
16275
16276         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16277         which works with LyXText and putted it inside BufferView. Here now we
16278         only call for that part the BufferView::Dispatch() function.
16279
16280         * BufferView.C (Dispatch): added.
16281
16282         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16283         functions which needs to use a LyXText over from LyXFunc.
16284         (MenuInsertLyXFile): added
16285         (getInsetByCode): added
16286         (moveCursorUpdate): added
16287         (static TEXT): added
16288
16289 2001-02-22  Juergen Vigna  <jug@sad.it>
16290
16291         * BufferView_pimpl.C (update): call a status update to see if LyXText
16292         needs it.
16293
16294 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16295
16296         * vc-backend.C (revert): implement for CVS
16297         (getLog): implement for CVS
16298
16299 2001-02-20  Juergen Vigna  <jug@sad.it>
16300
16301         * text2.C (ClearSelection): added BufferView param for inset_owner call
16302
16303         * lyxfunc.C (TEXT): added this function and use it instead of
16304         directly owner->view()-text of getLyXText().
16305
16306 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16307
16308         * src/layout_forms.C: out preamble
16309         * src/layout_forms.h: out preamble
16310         * src/lyx_cb.C: out preamble
16311         * src/lyx_cb.h: out preamble
16312         * src/lyx_gui.C: out preamble
16313         * src/lyx_gui_misc.C: out preamble
16314         * src/lyxfunc.C: connect with guii preamble
16315
16316 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16317
16318         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16319
16320 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16321
16322         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16323         whether to run bibtex.
16324
16325 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16326
16327         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16328
16329 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16330
16331         * Makefile.am (lyx_SOURCES): removed bibforms.h
16332
16333         * vspace.h: doxygen
16334
16335         * text.C (GetVisibleRow): make several local vars const
16336
16337         * tabular.C: small cleanup.
16338
16339         * lyxserver.C (callback): use compare instead of strncmp
16340
16341         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16342         inlines to after class or to paragraph.C
16343
16344         * lyxfont.h: remove friend operator!=
16345
16346         * converter.h: move friend bool operator< to non friend and after
16347         class def.
16348
16349         * combox.h: small cleanup
16350
16351         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16352         to inlines after class def.
16353
16354         * buffer.C (pop_tag): use string operations instead of strcmp
16355
16356         * bmtable.c: doxygen, small cleanup
16357
16358         * LaTeX.h: remove friend operator==
16359
16360 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16361
16362         * screen.C:
16363         * lyxrc.[Ch]:
16364         * lyxfunc.C:
16365         * lyxfont.[Ch]:
16366         * lyx_cb.C:
16367         * intl.[Ch]:
16368         * commandtags.h:
16369         * buffer.C:
16370         * WorkArea.[Ch]:
16371         * LyXAction.C:
16372         * BufferView_pimpl.C:
16373         * BufferView.[Ch]: remove cruft
16374
16375 2001-02-14  Juergen Vigna  <jug@sad.it>
16376
16377         * lyxfunc.C: removed #if 0 unused code
16378
16379         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16380
16381         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16382
16383         * text2.C (SetSelection): added a BufferView * parameter
16384
16385 2001-02-13  Juergen Vigna  <jug@sad.it>
16386
16387         * lyxfunc.C (Dispatch): fixed protected blank problem.
16388         * BufferView2.C (protectedBlank): added LyxText * parameter.
16389
16390         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16391         (AppendColumn): same as above for column_info.
16392
16393         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16394         (moveCursorUpdate): use a LyXText param for support of InsetText.
16395
16396         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16397         (tripleClick): ditto
16398
16399         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16400
16401         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16402
16403         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16404
16405         * text2.C (SetSelection): set correct update status if inset_owner
16406         (ToggleFree): ditto
16407
16408 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16409
16410         * tabular.C: remove some commented code.
16411
16412 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16413
16414         * BufferView_pimpl.C: call hideSplash()
16415
16416         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16417
16418         * include_form.h:
16419         * bibforms.h: remove
16420
16421         * lyxfunc.C:
16422         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16423           add LFUN_CHILD_CREATE
16424
16425         * counters.h: fix tiny typo
16426
16427         * lyx_cb.C:
16428         * lyx.h:
16429         * lyx_gui.C:
16430         * lyx.C: move splash to frontends/xforms/
16431
16432         * lyx_gui_misc.C: move Include and Bibform to frontends
16433
16434         * lyxvc.h: clarify comment
16435
16436         * vspace.C: tiny housekeeping
16437
16438 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16439
16440         * text.C (PrepareToPrint): RTL Fix.
16441
16442         * paragraph.C (GetUChar): New method.
16443         (String):  Use GetUChar.
16444
16445         * buffer.C (asciiParagraph): Use GetUChar.
16446
16447 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16448
16449         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16450
16451 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16452
16453         * buffer.h:
16454         * buffer.C: rename to getLogName(), handle
16455           build log / latex log nicely
16456
16457 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16458
16459         * MenuBackend.C:
16460         * MenuBackend.h: remove support for reference menuitem type.
16461
16462 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16463
16464         * BufferView_pimpl.C: housekeeping
16465         * BufferView_pimpl.h:
16466         * LyXView.h:
16467         * Makefile.am:
16468         * Timeout.C:
16469         * Timeout.h:
16470         * minibuffer.h: move Timeout GUI-I
16471
16472 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16473
16474         * lyxrc.C (read): Update converters data-structures.
16475
16476 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16477
16478         * LaTeX.h (operator!=): add operator != for Aux_Info
16479
16480 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16481
16482         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16483
16484         * LaTeXLog.C: deleted, useful code moved to Buffer
16485
16486         * buffer.h:
16487         * buffer.C: new function getLatexLogName()
16488
16489         * lyx_gui_misc.C:
16490         * lyx_gui.C:
16491         * lyxvc.C:
16492         * lyxvc.h:
16493         * lyxfunc.C: use frontends for LaTeX and VC logs
16494
16495 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16496
16497         * LaTeX.h: yet another std:: that Allan forgot.
16498
16499         * Variables.C (set): renamed from isset(), because this clashes
16500         with some HP-UX macros (grr).
16501
16502 2001-02-06  Allan Rae  <rae@lyx.org>
16503
16504         * LaTeX.h: Another bug fix.  Missing std:: this time.
16505
16506 2001-02-04  Allan Rae  <rae@lyx.org>
16507
16508         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16509         floats problem. I've left it commented out because it's not quite
16510         correct.  It should also test that the current object is a table or
16511         figure inset.  But I haven't gotten around to figuring out how to do
16512         that.  I *think* it'll be something like: "table" == inset.type()
16513
16514         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16515         bool.
16516
16517 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16518
16519         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16520         all the citation/databases/styles in the auxilary file.
16521         (run): Rerun latex if there was a babel language error.
16522
16523 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16524
16525         * text.C (Backspace): Preserve the font when changing newline char
16526         with a space.
16527         (BreakParagraph): If the cursor is before a space, delete the space.
16528
16529         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16530
16531 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16532
16533         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16534         new argument (code).
16535         (ChangeCitationsIfUnique): New method.
16536
16537         * paragraph.C (GetPositionOfInset): Handle bibkey.
16538
16539 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16540
16541         * BufferView_pimpl.h: change type of Position::par_pos to
16542         LyXParagraph::size_type.
16543
16544 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16545
16546         * BufferView_pimpl.C (savePosition, restorePosition): Write
16547         messages to minibuffer.
16548
16549 2001-01-28  José Matos  <jamatos@fep.up.pt>
16550
16551         * buffer.C (makeDocBookFile): adds support for document language.
16552         A silly restriction on the name of LatexCommand types where removed.
16553         Added support for CDATA sections, allows to chars unescaped, used
16554         among others in code, to avoid escape < and >.
16555
16556 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16557
16558         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16559         saved positions instrad of a stack. Furthermore, a position is
16560         stored using paragraph id/paragraph position.
16561
16562         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16563         Remove LFUN_REF_BACK.
16564
16565 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16566
16567         * converter.C (dvipdfm_options): New method.
16568
16569 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16570
16571         * vspace.C (isValidLength): Fix for empty input string.
16572
16573 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16574
16575         * LyXAction.C (init): change description of LFUN_FIGURE to
16576         "Insert Graphics"
16577
16578 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16579
16580         * LaTeX.C: add using directive
16581
16582 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16583
16584         * MenuBackend.C (expand): Fix the sorting of the formats.
16585
16586 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16587
16588         * lyx_main.C: tiny error message fix
16589
16590 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16591
16592         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16593         calling fl_initialize(). This fixes the problem with ',' as
16594         decimal separator in text files.
16595
16596 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16597
16598         * trans.C (process): Fix the keymap bug.
16599
16600 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * LaTeX.C (scanAuxFiles): New method. Provides support for
16603         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16604         (scanLogFile) Scan for "run BibTeX" messages.
16605
16606         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16607         OT1 font encoding. Also, load the aecompl package if the ae
16608         package is loaded.
16609
16610         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16611
16612 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * texrow.C (increasePos): turn two error messages into debug
16615         messages.
16616
16617 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16618
16619         * LaTeX.C (scanAux): Handle the \@input macro.
16620         (runBibTeX): Use scanAux().
16621
16622         * language.C (latex_options_): New field.
16623
16624         * LaTeXFeatures.C (getMacros): Add language macros.
16625
16626         * buffer.C (makeLaTeXFile): Small fix.
16627
16628 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16629
16630         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16631
16632         * text2.C: add a using directive.
16633
16634 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16635
16636         * BufferView2.C:
16637         * lyx_gui_misc.h:
16638         * lyxfr1.C:
16639         * lyxfunc.C: kill LyXBell.
16640
16641 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16642
16643         * text.C (IsBoundary): Remove the error message
16644
16645         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16646
16647         * lyxrc.C (setDefaults): Correct initialization value for
16648         font_norm_type.
16649
16650 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16651
16652         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16653         gotoError().
16654
16655         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16656         and GotoNextNote().
16657
16658         * src/LyXAction.C: Added reference-next.
16659
16660         * text.C (InsertChar): Use contains instead of strchr.
16661
16662         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16663
16664 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16665
16666         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16667         alignment commands (when needed).
16668
16669         * text.C (InsertChar): Add ':' to number separator chars.