]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
0d6ed80ef71980a694695b432704b9c6c7679ef1
[lyx.git] / src / ChangeLog
1 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfunc.C (getStatus): do not lose previous information when
4         calling BufferView::getStatus; do not set a default "Command
5         disabled" message at the beginning, but just before returning.
6
7 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
8
9         * cursor.h (getStatus): add better comment from src/cursor.C
10
11 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * text3.C (getStatus): return false when the lfun is not handled
14
15 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16
17         * broken_headers.h: remove
18         
19         * Makefile.am (lyx_SOURCES): remove broken_headers.h
20
21 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
22
23         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
24         offset_ref accessors
25
26         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
27         top_y_, merge fitcursor with update
28         (updateScrollbar, scrollDocView, fitCursor, center, update): new
29         coord scheme
30         (metrics): introduce
31         (workAreaDispatch): adapt to new coord scheme
32         (redoCurrentBuffer): remove
33
34         * FontIterator.[Ch]: Use Paragraph & instead of pit_type 
35
36         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
37         CurStatus enum.
38
39         * coordcache.[Ch]: add paragraph cache and helpers
40
41         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
42         adjust everywhere
43
44         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
45         (targetX, setTargetX): introduce
46
47         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
48         baseline -> ascent, as the rest of lyx
49
50         * lyxtext.h: remove redoParagraphs, updateParPositions,
51         fullRebreak, redoParagraphInternal. move dist to anon namespace in
52         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
53         have ascent/descent (ascent is ascent of first par)
54
55         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
56         step of BufferView
57
58         * paragraph.[Ch]: unify dimension handling with the rest of lyx
59
60         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
61
62         * pariterator.C: fix infinite loop introduced in par->pit renaming
63
64         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
65         in insets and LyXText, draw two off-screen paragraphs using
66         NullPainter, and adapt to new coord scheme
67
68         * text.C: 
69         * text2.C: 
70         * text3.C: adapt lfun handlers to the new coord scheme, which
71         means: there's only guaranteed coord information for onscreen pars
72         plus one above and one below. This implies that one can do search
73         from y coordinates in the range [-1,workHeight]
74
75 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
76
77         * rename a lot of InsetOld to InsetBase
78
79 2004-11-25  Angus Leeming  <leeming@lyx.org>
80
81         * BufferView_pimpl.C:
82         * lyx_cb.C:
83         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
84
85 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
86
87         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
88         call BufferView::getStatus if LCursor::getStatus did nothing
89         (setStatusMessage, getStatusMessage): removed.
90
91         * FuncStatus.C (message): new methods. Used to provide an error
92         message indicating why a command is disabled.
93         (clear, |=, FuncStatus): update for message.
94
95 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * lyxfunc.C (dispatch): always call sendDispatchMessage
98
99 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
100
101         * BufferView.C:
102         * BufferView_pimpl.C:
103         * CutAndPaste.C:
104         * FontIterator.C:
105         * buffer.C:
106         * cursor.C:
107         * cursor_slice.[Ch]:
108         * dociterator.[Ch]:
109         * lyxfind.C:
110         * paragraph_funcs.C:
111         * pariterator.C:
112         * rowpainter.C:
113         * text.C:
114         * text2.C:
115         * text3.C:
116         * undo.C: par->pit renaming
117
118 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
119
120         * tabular.C (cellstruct): use initialization, store a shared_ptr
121         to insettext instead of the insettext directly, adjust to fit.
122         (operator=):  new function
123         (swap): new function
124         (rowstruct): use initialization
125         (columnstruct): use initialization
126         (ltType): use initialization
127
128
129         * lyxlength.h (swap): new function
130
131         * LColor.[Ch] (operator=): use the common semantics
132
133 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * lyxfind.C (findNextChange): update the bufferview after setting
136         the selection.
137
138 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
139
140         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
141         number of InsetOptArgs has already been inserted.
142
143         * output_latex.C (latexOptArgInsets): new method. This outputs all
144         the optarg insets, up to the limit defined in the layout file.
145         (optArgInset): removed
146         (TeXOnePar): call latexOptArgInsets; correctly update texrow
147
148 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * paragraph.C (isLetter): remove special spellchecker-related
151         code; return true also for digits
152         (isWord, isKomma): remove
153
154         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
155         * lyxfind.C (MatchString()): use isLetter instead of isWord
156
157 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
158
159         * pariterator.h (operatir=): comment out un-implemented member
160         function.
161
162         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
163         static cast.
164
165 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
166
167         * lyxfont.h: include LColor.h to satisfy concept checks.
168
169 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * pariterator.h: add typdefs for value_type, difference_type,
172         pointer and reference to satisfy concept checks. Also add default
173         constructor for same reason.
174
175         * pariterator.C (operator++): add post-increment operator to
176         satisfy concept checks.
177
178         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
179         checks.
180
181         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
182
183         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
184         checks. Also rename base_type to BaseType to follow naming
185         standard better.
186
187         * FloatList.h: include Floating.h to satisfy concept checks.
188
189 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * lyxfunc.C (getStatus): when the origin of the request is menu or
192         toolbar, and the LyXView does not have focus, do as if there was
193         no buffer (bug 1720)
194
195         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
196         FuncRequest to individual entries of LFUN_SEQUENCE
197
198 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
199
200         * output_latex.C (TeXOnePar): override runparams.moving_arg
201         according to the needprotect value of the current paragraph (bug
202         1739)
203
204         * paragraph.C (simpleTeXOnePar): no need to override
205         runparams.moving_args here
206
207 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
208
209         * vspace.C: fix off-by-one-error, related to fix #1682
210
211 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * lengthcommon.C: a more general fix for bug 1682
214
215 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
216
217         * text.C (backspace): fix crash
218
219 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
220
221         * format.[Ch] (getFormatFromFile): new method
222         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
223
224 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
227
228 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * lyxfunc.C (dispatch): remove the verbose argument
231         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
232         instead
233
234         * kbmap.C (defkey): set the origin of func to KEYBOARD
235
236         * MenuBackend.C (MenuItem):
237         * ToolbarBackend.C (add): set the origin of func to UI
238
239         * funcrequest.[Ch]: add origin member, which indicates which part
240         of LyX requests an action
241
242 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
243
244         * converter.C (move): don't lie in the error message
245         * converter.h (isReachable, move): document
246
247 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
248
249         * buffer.C: remove unused using lyx::support::atoi
250         * paragraph_funcs.C: ditto
251
252 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
253
254         * bufferlist.C (exists): use bind and equal_to instead of
255         compare_memfun
256         (getBuffer): ditto
257         * lyxtextclasslist.C (NumberOfClass): ditto
258
259         * cursor.C (insert): use for_each instead of explicit for loop
260
261         * bufferlist.C (getFileNames): use std::transform and
262         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
263
264         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
265         for loop
266
267         * buffer.C (changeLanguage): use for_each instead of explicit for
268         loop
269         (hasParWithID): implement using getParFromID
270
271         * LaTeXFeatures.C: ws change only
272
273         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
274         to cleanup a bit.
275
276         * BufferView_pimpl.C (trackChanges): use for_each instead of
277         expilicit for loop
278
279 2004-11-04  André Pönitz  <poenitz@gmx.net>
280
281         * undo.h:
282         * undo.C (textUndoOrRedo): fix crash when creating undo information.
283
284         * dociterator.C (asDocIterator): use hard assert again.
285
286 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
287
288         * lyxlength.C (asLatexString): rewrite so that it does not use
289         snprintf anymore
290
291 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
292
293         * text3.C (specialChar, dispatch): make sure cursor moves to the
294         right after inserting an inset
295
296 2004-11-02  José Matos  <jamatos@lyx.org>
297
298         * output_docbook.C (docbook):
299         * paragraph.C (getID):
300         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
301         garantee that the output is always legal.
302
303         * tabular.C (docbook):
304         * outputprams.[Ch]: remove mixed contents.
305
306 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
307
308         * text2.C (setCounter): prevent endless loop
309
310 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * exporter.C (copyFile): use the mover instead of support::copy()
313         * exporter.C (Export): pass format and latex name to copyFile()
314         * exporter.h (addExternalFile): document
315         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
316
317 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
320
321 2004-10-30  José Matos  <jamatos@lyx.org>
322
323         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
324         text and no inset or font change. This allows to use CDATA
325         sections just for the whole paragraph.
326
327 2004-10-30  José Matos  <jamatos@lyx.org>
328
329         * paragraph.C (getFirstWord): remove unused variable.
330
331 2004-10-30  José Matos  <jamatos@lyx.org>
332
333         * paragraph.C (getFirstWord): the content should always be escaped
334         there.
335         (simpleDocBookOnePar):
336         * output_docbook.C (makeEnvironment): replace reference to CDATA
337         to style pass_thru.
338
339 2004-10-30  José Matos  <jamatos@lyx.org>
340
341         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
342
343 2004-10-30  José Matos  <jamatos@lyx.org>
344
345         * output_docbook.C (makeParagraphs):
346         * paragraph.[Ch] (emptyTag): for docbook and company, if the
347         standard paragraph has only a given type of content drop the wrapper.
348
349 2004-10-29  José Matos  <jamatos@lyx.org>
350
351         * output_docbook.C (makeEnvironment):
352         * sgml.C (openTag):
353         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
354
355 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
356
357         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
358         (cleanID): sanitize any id.
359
360 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
361
362         * buffer.C, lyxlex_pimpl.C:
363         * lyxlex_pimpl.C (setFile):
364         s/getExtFromContents/getFormatFromContents/
365
366 2004-10-28  José Matos  <jamatos@lyx.org>
367
368         * output_docbook.C (makeEnvironment): move id to broadest possible
369         scope.
370
371         * sgml.C (openTag): apply substitution of <> for all attributes.
372
373 2004-10-28  José Matos  <jamatos@lyx.org>
374
375         * buffer.C (makeLinuxDocFile, makeDocBookFile):
376         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
377         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
378
379         * sgml.[Ch]: new version for open and closeTag for paragraph and
380         for strings. Now they handle the ids of paragraphs.
381
382 2004-10-26  Angus Leeming  <leeming@lyx.org>
383
384         * Makefile.am: add mover.[Ch].
385
386         * converter.C (convert, move): use the new Movers to move external
387         files to the temp directory.
388
389         * lyx_main.C (init): ensure that the global system_movers data
390         is initialised.
391
392         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
393         preferences file.
394
395         * mover.[Ch]: new files, defining a Mover as a utility to move an
396         external file between directories and, if necessary, manipulate this
397         file using a helper script.
398
399 2004-10-25  José Matos  <jamatos@lyx.org>
400
401         * output_docbook.C (makeCommand): merge two if's that tested the
402         same condition.
403
404 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * sgml.C (escapeString): fix warning in a better way
407
408 2004-10-25  José Matos  <jamatos@lyx.org>
409
410         * sgml.C (escapeString): import the require boosts header file for
411         tie, and avoid a signed unsigned comparison.
412
413 2004-10-25  José Matos  <jamatos@lyx.org>
414
415         * sgml.h: add #include <string>
416
417 2004-10-25  José Matos  <jamatos@lyx.org>
418
419         * sgml.[Ch] (escapeString): new function to escape all the string.
420
421 2004-10-24  José Matos  <jamatos@lyx.org>
422
423         * paragraph.[Ch] (getFirstWord): new function to get the first
424         word. Useful for description.
425         (simpleDocBookOnePar): remove depth argument, add another that
426         says where to start the paragraph.
427
428         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
429         use the new functions to fix cleanly the support for descriptions.
430
431 2004-10-24  José Matos  <jamatos@lyx.org>
432
433         * buffer.C (makeLinuxDocFile, makeDocBookFile):
434         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
435         * output_linuxdoc.C (linuxdocParagraphs):
436         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
437         add buffer as argument.
438
439 2004-10-24  José Matos  <jamatos@lyx.org>
440
441         * output_docbook.C (makeEnvironment, searchEnvironment): place
442         CDATA inside paragraphs and fix scope for listitems.
443
444 2004-10-24  José Matos  <jamatos@lyx.org>
445
446         * output_docbook.C: remove using statement for stack.
447
448 2004-10-23  José Matos  <jamatos@lyx.org>
449
450         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
451         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
452         docbook. The new scheme is recursive and makes use of iterators, the
453         same as latex export works.
454         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
455         directly with the paragraph contents. This code was moved up to
456         output_docbook.C (docbookParagraphs).
457         * sgml.C (openTag, closeTag): removed unneeded newlines.
458         (closeEnvTags) removed.
459
460 2004-10-23  André Pönitz  <poenitz@gmx.net>
461
462         * undo.C (textUndoOrRedo):
463         * dociterator.C (asDocIterator): work around crash
464
465         * cursor.C (getStatus): replace ASSERT by more verbose error message
466           and manual correction of the problem. Should increase stability
467           while providing more sensible information.
468
469 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
472
473         * bufferlist.C (previous, next): new methods
474
475         * lfuns.h:
476         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
477
478 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
479
480         * buffer.C (makeDocBookFile): add dsssl stylesheet control
481         entities to preamble.
482
483 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
484
485         * messages.C (Pimpl): strip off translation context information
486
487 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
488
489         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
490         the cursor is correct (bug 1694)
491
492 2004-10-13  José Matos  <jamatos@lyx.org>
493
494         * output_docbook.C (docbookParagraphs): fix closing tags in the
495         end of the document.
496
497 2004-10-09  José Matos  <jamatos@lyx.org>
498
499         * buffer.C: format up to 237.
500         * bufferparams.C (write): use tostr to convert booleans to strings.
501
502 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
505
506 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * LaTeX.C: implement use of babel language in xindy.
509
510 2004-10-05  José Matos  <jamatos@lyx.org>
511
512         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
513         Add new translators to help reading and writing the lyx file.
514
515 2004-10-05  José Matos  <jamatos@lyx.org>
516
517         * ParagraphParameters.C (read):
518         * text.C (readParToken): replace nexToken by more appropriate lex
519         methods.
520
521 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
522
523         * LaTeX.C (runMakeIndex):
524         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
525         (usually 'makeindex') configurable.
526
527         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
528         with a variable rather than with a number.
529
530 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * output_latex.C (TeXOnePar): make sure font setting is the first
533         thing that gets output (and the last at the end). Should fix bug
534         1404.
535
536 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
537
538         * pch.h: use proper signal include
539
540         * LaTeX.h: Use preferred calling of Boost.Signal
541         * buffer.h: ditto
542
543 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
544
545         * pch.h: dont include <boost/function/function0.hpp>
546
547         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
548
549         * paragraph_pimpl.h: remove usage of ShareContainer
550
551         * paragraph_pimpl.C: remove initialization of ShareContainer.
552
553 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
554
555         Fix bug #1666
556
557         * BufferView.C (putSelectionAt): change the semantics when
558         backwards == true: now, this just swaps cursor and anchor wrt the
559         forward case
560
561         * BufferView.h (putSelectionAt): add some documentation
562
563         * lyxfind.C (findBackwards): rewrite using while(). In particular,
564         make sure backwardChar is done at least once (to avoid getting
565         stuck)
566         (findNextChange): use putSelectionAt in the forward direction
567         (operator()): use Paragraph::isWord
568
569 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
570
571         * Spacing.C (set): c_str fix
572
573 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
574
575         * lyx_cb.C (Reconfigure): quote the name of configure script in
576         case it contains spaces
577
578 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
579
580         * client: new dir
581
582         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
583         (BOOST_LIBS): use top_buildir when looking for the file
584
585 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
586
587         * pch.h: do not use include boost/format.hpp, multiple symbols
588                 will result (gcc bug)
589
590
591 2004-08-23  José Matos  <jamatos@lyx.org>
592
593         * bufferparams.C (readToken): fix reading of the author field.
594
595 2004-08-20  José Matos  <jamatos@lyx.org>
596
597         * lyxrc.C: remove support/translator.h inclusion since it is not used.
598
599 2004-08-20  José Matos  <jamatos@lyx.org>
600
601         * lyxlex.[Ch] (findToken): remove function.
602
603         * ParagraphParameters.C (findToken):
604         * bufferparams.C (findToken): replace call for previous function
605         with local copy. This local function has one more argument, the
606         read string argument.
607
608 2004-08-16  José Matos  <jamatos@lyx.org>
609
610         * ParagraphParameters.C (write):
611         * Spacing.C (writeFile):
612         * bufferparams.C (writeLaTeX):
613         * lyx_cb.C (Reconfigure):
614         * paragraph.C (write):
615         * tabular.C (write): remove unnecessary space at end of line.
616
617
618 2004-08-16  José Matos  <jamatos@lyx.org>
619
620         * text.C (readParagraph): remove debug message.
621
622 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
623
624         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
625         crash
626
627         * output_plaintext.C (asciiParagraph): set depth correctly
628
629         * outputparams.h: add member depth
630
631         * paragraph_funcs.C (ownerPar): remove.
632
633         * text2.C (setCounter): remove first_pit; comment out some
634         non-working code that uses ownerPar
635
636         * BufferView.C (getParentLanguage): remove. Not used anymore, and
637         uses ownerPar
638
639 2004-08-16  José Matos  <jamatos@lyx.org>
640
641         * text.C (readParToken, readParagraph, read): report all unknown tokens.
642         For the same level of importance use the same chanel to report problems.
643         (read): add code to deal with \begin_body and \end_body.
644
645
646 2004-08-15  José Matos  <jamatos@lyx.org>
647
648         * lyxlex.C (getString): fix comment, buffer::readBody is now
649         buffer:readDocument.
650
651         * tex-strings.C (string_papersize): Default -> default,
652         Custom -> custom, for consistency with other options.
653
654 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * pch.h: new file
657
658         * Makefile.am: support pch
659
660 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
661
662         * text.C (readParToken): remove the static LyXFont variable and
663         pass it as a parameter instead. This fixes a nasty bug where an
664         inset will be inserted with a bad font in some situations
665         (readParagraph): adapt
666
667         * text2.C (setCounter): reduce number of calls to pars_[pit]
668
669         * text.C (singleWidth): add an assert, fix a test
670
671         * rowpainter.C (paintText): reduce number of calls to singleWidth
672
673         * paragraph.C (isHfill):
674         (isNewline): ws only
675
676 2004-08-14  André Pönitz  <poenitz@gmx.net>
677
678         * text.C:
679         * text2.C:
680         * rowpainter.C:
681         * lyxtext.h (several functions): use a Paragraph & argument
682         instead of par_type
683
684 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
685
686         * metricsinfo.h: add a new field ltr_pos to PainterInfo
687
688         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
689
690         * text.C (singleWidth): remove useless test
691
692 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
693
694         * tabular.h: remove bogus comments
695
696         * tabular.C (getDescentOfRow):
697         (isPartOfMultiColumn): add assertions
698
699         * lyxlength.C (inPixels): remove #warning
700
701 2004-08-14  André Pönitz  <poenitz@gmx.net>
702
703         * paragraph.h: inline getChar()
704
705         * BufferView.h: remove unused declarations
706
707 2004-08-14  José Matos  <jamatos@lyx.org>
708
709         * Buffer.[Ch] (readDocument): new name for old readBody.
710         * Buffer.C: new file format, new keywords: \begin_document,
711         \begin_header, \begin_body, \end_body.
712
713         * bufferparams.C (readToken): replace all calls to lex.nextToken
714         by lex.next(). Do the same to eatLine except where really needed.
715
716         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
717         line when writing to the lyx file.
718
719         * output_plaintext.C (asciiParagraph): fix Bibliography style
720         handling.
721
722         * text.C (read): fix end of file handling.
723
724 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
725
726         * MenuBackend.C (Menu::operator[]): new method to access
727         individual menu items
728         (Menu::hasFunc): new method. search for an item that corresponds
729         to a given func
730         (MenuBackend::specialMenu): new method
731         (MenuBackend::expand): if a special menu has been set, skip
732         entries whose func() appears in this menu
733
734 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
735
736         * text3.C: use Debug::DEBUG a bit more
737
738         * text.C (leftMargin): try to simplify a tiny bit change var x to
739         l_margin. Dont output the wide margins always.
740         (rightMargin): no margin in inner texts
741
742         * rowpainter.h (nestMargin): new func
743         (changebarMargin): new func
744         (rightMargin): new func
745
746         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
747         now functions.
748         (paintLast): ditto
749
750         * factory.C (createInset): modify setDrawFrame
751
752         * cursor.C: use Debug::DEBUG a bit more
753
754 2004-08-14  André Pönitz  <poenitz@gmx.net>
755
756         * coordcache.[Ch]:
757         * Makefile.am: new files to accomodate an 'external' (x,y)-position
758         cache for all insets in (at least partially) visible (top-level)
759         paragraphs.
760
761         * BufferView_pimpl.C: reset external coord cache before every update.
762         This means the coord cache only contains valid entries.
763
764 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
765
766         bug 1096
767         * BufferView_pimpl.C (getInsetByCode): move function out of class
768         and change in to a template in anon namespace. Also fix to do what
769         suits us better.
770
771 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
772
773         bug 1305
774         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
775         of char
776         (breakParagraph): rename par to par_offset and use a local
777         reference. Add code to keep the language over a rebreak.
778         (breakParagraphConservative): rename par to par_offset, use a
779         local reference
780         (mergeParagraph): ditto
781         (outerHook): ditto
782         (isFirstInSequence): ditto
783         (outerFont): rename pit to par_offset
784
785         * paragraph.C: ws change
786         * paragraph.h: ditto
787         * text3.C: ditto
788         * text.C: ditto
789
790 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
793         treatment for ']'
794
795         * paragraph.C (simpleTeXOnePar): when we have a \item with
796         optional argument, enclose the argument with curly brackets (in
797         case it contains a closing square bracket)
798
799         * text2.C (editXY):
800         * text2.C (editXY):
801         * text3.C (checkInsetHit): constify
802
803 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
806         documents (bug 1629)
807
808 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         Fix toggling of collapsable insets with the mouse (bug 1558)
811
812         * lyxfunc.C (dispatch): adapt to LCursor changes
813
814         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
815         make sure that dispatch is not invoked twice
816
817         * cursor.C (needsUpdate): new method
818         (dispatch): return void
819         (result): new method, to access the DispatchResult of the cursor.
820
821 2004-08-13  José Matos  <jamatos@lyx.org>
822
823         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
824
825 2004-08-13  André Pönitz  <poenitz@gmx.net>
826
827         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
828
829         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
830           multiple cells
831
832 2004-08-12  André Pönitz  <poenitz@gmx.net>
833
834         * text3.C: take out the 'cursor right' form insertInset and only
835         do it in those places when it is really needed. Fixes crash on
836         C-m...
837
838 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
841
842         * BufferView_pimpl.C (setBuffer): initialize the current font of
843         the underlying LyXText
844
845 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * kbsequence.C (print): use UI native formatting for menu
848         shortcuts
849
850         * text.C (insertChar): call Paragraph::insertChar with a font
851         argument (cosmetic)
852
853         * paragraph.C (insertInset, insertChar): the version that takes a
854         LyXFont argument is now a wrapper around the other one (the
855         opposite used to be true).
856
857         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
858         argument. Font setting is done in Paragraph now.
859
860 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
861
862         * outputparams.h: add new members intitle and lang.
863
864         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
865         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
866
867 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
868
869         * text3.C (dispatch): remove special handling of button 4 and 5,
870         it is now taken care of in the frontend code.
871
872 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
873
874         * Spacing.h: add <string> (STLPort compile fix)
875
876 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
877
878         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
879
880 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
881
882         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
883         to bool.
884
885         * converter.C (showMessage): inherit from unary_function, make
886         operator() const.
887
888         * buffer.C (writeFile): initialize retval
889
890         * InsetList.h: rename private variable list to list_
891         * InsetList.[Ch]: adjust accordingly.
892
893 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
894
895         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
896         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
897         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
898         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
899         * ParagraphParameters.C, LaTeXFeatures.C: replace
900         "support/std_sstream.h" with <sstream>
901
902 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
903
904         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
905         * lyxsocket.C (LyXServerSocket): ditto
906         (serverCallback): ditto
907
908 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
909
910         * LaTeXFeatures.C: check release date when loading jurabib.
911
912 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
913
914         * lyxserver.C (startPipe): call register_socket_callback
915         (endPipe): call unregister_socket_callback
916
917 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
918
919         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
920         (LyXServerSocket): register the callback
921         (LyXServerSocket): unregister the callback
922         (fd): delete function
923         (serverCallback): improve error checking and setup the callbacks.
924         (dataCallback): change arg to fd.
925         (writeln): new func (copied fro the client socket) used for server
926         write to client.
927         (LyXDataSocket): simplify
928         (~LyXDataSocket): close ann unregiser callback
929         (server): delete function
930         (fd): delete function
931         (readln): small changes, improve some std::string usage
932         (writeln): constify a bit
933
934 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
937         Qt frontend
938
939 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
940
941         * BufferView_pimpl.C (setBuffer): set the layout combox value only
942         after it has been populated
943
944 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
945
946         * text2.C (insertInset): move cursor when inserting inset.
947
948 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
949
950         * kbmap.C (findbindings): a couple of new methods. returns a
951         container of kb_sequence objects. The real work is done by the
952         private recursive version
953         (printbindings): uses findbindings to print out a bracketed list
954         of bindings (renamed from findbinding).
955
956         * MenuBackend.C (binding): use kb_keymap::findbindings
957
958         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
959
960 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
961
962         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
963
964 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
965
966         * paragraph.C (isWord): return true on insets that report
967         isLetter().
968
969         * text.C (getWord): use Paragraph::isWord to decide what is in a
970         word and what is not; fix bug 1609.
971
972 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
973
974         * tex-strings.C: add "none" to string_paperpackages[], fixes
975         off-by-one-error in the paperpackage selection.
976
977         * lyxlex.[Ch]:
978         * tex-strings.[Ch]: char const * string[n]
979         -> char const * const string[]
980
981 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
984         command, return early.
985
986 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
987
988         * debug.h: add DEBUG to enum and fix size of ANY.
989
990         * debug.C: add support for Debug::DEBUG
991         (showTags): cast errorTags.level to unsigned int
992
993         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
994         (redoCurrentBuffer): ditto
995         (updateScrollbar): ditto
996         * cursor.C (dispatch): ditto
997         * text2.C (setLayout): ditto
998         (setFont): ditto
999         (updateCounters): ditto
1000         (editXY): ditto
1001         (deleteEmptyParagraphMechanism): ditto
1002
1003 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1004
1005         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1006         annotations to cleanup the Makefile slightly.
1007
1008 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * lyxrc.C: do not set user_email to a default value but use empty
1011         instead. The entry used to be translated, which does not work
1012         since at the point where lyxrc is constructed there is no
1013         translation service available
1014
1015         * messages.C (getLocaleDir): remove and use directly
1016         lyx_localedir() instead
1017
1018 2004-06-02  Angus Leeming  <leeming@lyx.org>
1019
1020         Fix crash caused by dereferencing null pointer 'exportdata' in
1021         OutputParams by creating a new ExportData variable on the heap,
1022         storing it in a boost::shared_ptr.
1023         The crash was triggered when generating an Instant Preview
1024         of an external inset.
1025
1026         * Makefile.am: add outputparams.C
1027
1028         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1029         (c-tor): allocate memory to it.
1030
1031         * exporter.C (c-tor): associated changes.
1032
1033 2004-06-01  Angus Leeming  <leeming@lyx.org>
1034
1035         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1036         contains data before calling isInset(0). (Bug 1513.)
1037
1038 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1039
1040         * exporter.C (checkOverwrite): new method
1041         * exporter.C (copyFile): new method
1042         * exporter.C (Export): copy referenced files to the document dir
1043         * exporter.[Ch]: new class ExportedFile
1044         * exporter.[Ch]: new class ExportData. Contains currently the
1045         names of referenced external files
1046         * outputparams.h: add exportdata member.
1047
1048 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1049
1050         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1051         version.C-tmp
1052
1053 2004-05-19  Angus Leeming  <leeming@lyx.org>
1054
1055         * LaTeXFeatures.C:
1056         * ToolbarBackend.C:
1057         * bufferparams.C:
1058         * lyxfunc.C: small changes due to the introduction of namespace
1059         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1060
1061 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1062
1063         * text3.C (dispatch): supress update when only moving the cursor
1064         * cursor.C (selHandle): remove commented code
1065
1066 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1067
1068         * paragraph.C (startTeXParParams): correct column count
1069         * CutAndPaste.C (pasteSelection): remove const_cast
1070         * output_docbook.C (docbookParagraphs): remove const_cast
1071         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1072         const_cast and return ParagraphList::const_iterator
1073         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1074         * output_plaintext.C (writeFileAscii): remove const_cast
1075         * paragraph.[Ch] (simpleTeXOnePar): make const
1076         * paragraph_funcs.C (outerPar): use const iterators
1077         * paragraph_pimpl.C (validate): use const iterators
1078         * text.C (setHeightOfRow): use const iterators
1079
1080 2004-05-17  Angus Leeming  <leeming@lyx.org>
1081
1082         * lfuns.h:
1083         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1084
1085         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1086         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1087         if the citation engine has changed.
1088
1089 2004-05-14  José Matos  <jamatos@lyx.org>
1090
1091         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1092         if the textclass does not provide it. Have it different for sgml and
1093         xml.
1094         support the language of document.
1095         * output_docbook.C (docbookParagraphs):
1096         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1097         first anchor as the id of the paragraph, remove special case code.
1098         * sgml.C (escapeChar): escape only < & >.
1099
1100 2004-05-14  Angus Leeming  <leeming@lyx.org>
1101
1102         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1103         dependencies on src/frontends/controllers/biblio.h. Define a
1104         CiteEngine_enum wrapper class to enable the enum to be forward
1105         declared.
1106
1107 2004-05-12  Angus Leeming  <leeming@lyx.org>
1108
1109         * buffer.C: up LYX_FORMAT to 234.
1110         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1111         use_numerical_citations with a single biblio::CiteEngine cite_engine
1112         variable.
1113         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1114
1115 2004-05-13  José Matos  <jamatos@lyx.org>
1116
1117         * converter.h:
1118         * converter.C (Converter, readFlags): add xml member.
1119         * outputparams.h: add XML flavor.
1120         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1121
1122 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * lyxfunc.C (dispatch):
1125         (getStatus): fix handling of LFUN_SEQUENCE
1126
1127 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * debug.C (showLevel): do not forget the end-of-line marker
1130
1131 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1132
1133         * kbmap.C (read): do not stop parsing a bind file when an error
1134         occurs (bug 1575)
1135
1136 2004-04-29  Angus Leeming  <leeming@lyx.org>
1137
1138         * cursor.C:
1139         * factory.C:
1140         * pariterator.C:
1141         * text2.C: wrap a bunch of #warning statements
1142         inside #ifdef WITH_WARNINGS blocks.
1143
1144 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * buffer.C: increment format to 233.
1147
1148 2004-04-28  Angus Leeming  <leeming@lyx.org>
1149
1150         * BufferView_pimpl.C:
1151         * lyxfunc.C:
1152         * text3.C:
1153         s/updateToolbar()/updateToolbars()/
1154         s/Toolbar.h/Toolbars.h/
1155
1156 2004-04-28  Angus Leeming  <leeming@lyx.org>
1157
1158         * BufferView.[Ch] (c-tor):
1159         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1160         No longer passes these data to the WorkArea generator.
1161
1162 2004-04-28  Angus Leeming  <leeming@lyx.org>
1163
1164         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1165
1166 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1167
1168         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1169
1170 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1171
1172         * output_latex.C (TeXEnvironment): make sure that there is a line
1173         break before \end{foo} for the last paragraph of a document
1174         (TeXOnePar): if the paragraph is at the end of the document (or
1175         inset) and the language has to be reset, then make sure that the
1176         line break is _before_ the language command, not after (fixes bug
1177         1225); also make sure that the language reset command is the first
1178         thing after the paragraph (to ensure proper nesting of
1179         environments and thus fix bug 1404)
1180
1181 2004-04-21  John Levon  <levon@movementarian.org>
1182
1183         * ToolbarBackend.h:
1184         * ToolbarBackend.C: make "name" be a programmatic name
1185         and a gui_name field.
1186
1187         * lyxfunc.C: display the minibuffer on M-x
1188
1189 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1190
1191         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1192         (bug 1526)
1193
1194 2004-04-19  Angus Leeming  <leeming@lyx.org>
1195
1196         * BufferView_pimpl.C (setBuffer): changed preview interface.
1197
1198         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1199         possible values.
1200
1201 2004-04-19  John Levon  <levon@movementarian.org>
1202
1203         * BufferView_pimpl.C:
1204         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1205
1206 2004-04-05  Angus Leeming  <leeming@lyx.org>
1207
1208         * text.C (redoParagraphs): add call to updateCounters(), thereby
1209         fixing the missing "Figure #:" label from the caption of a
1210         figure float.
1211
1212 2004-04-13  Angus Leeming  <leeming@lyx.org>
1213
1214         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1215         cursor is clicked out of an inset.
1216
1217 2004-04-13  Angus Leeming  <leeming@lyx.org>
1218
1219         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1220         than an InsetOld one.
1221
1222 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1223
1224         * format.[Ch]: add editor to Format
1225         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1226         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1227
1228 2004-04-08  André Pönitz  <poenitz@gmx.net>
1229
1230         * metricsinfo.h: remove PainterInfo::width member
1231
1232 2004-04-08  Angus Leeming  <leeming@lyx.org>
1233
1234         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1235         "\providecommand" rather than "\newcommand", thereby preventing
1236         clashes with packages that define "\boldsymbol" themselves.
1237         Eg, beamer.
1238
1239 2004-04-08  Angus Leeming  <leeming@lyx.org>
1240
1241         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1242         thereby squashing an unnecessary warning.
1243
1244 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1245
1246         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1247         setBuffer()
1248
1249 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1250
1251         * BufferView.C (setCursor): call redoParagraph (some insets could
1252         have been opened)
1253         (putSelectionAt): remove the 'double update' trick
1254
1255         * BufferView_pimpl.C (fitCursor): call refreshPar
1256         (workAreaDispatch): remove an uneeded update call
1257         (dispatch): remove some manual update calls
1258
1259         * cursor.[Ch]: remove cached_y_, updatePos
1260         (selHandle): set noUpdate when appropriate
1261
1262         * lyxfunc.C (dispatch): track if we need an update
1263
1264         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1265
1266         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1267         (paintSelection): cheap optimization, do not call cursorX when not
1268         needed
1269         (paintPars): change signature
1270         (refreshPar): add
1271         (paintText): adjust
1272         (paintTextInset): adjust
1273
1274         * text.C: adjust
1275
1276 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * lengthcommon.C: compilation fix: remove explicit array size from
1279         unit_name[] and friends
1280
1281 2004-04-05  Angus Leeming  <leeming@lyx.org>
1282
1283         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1284
1285         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1286         present only for the preferences dialog.
1287         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1288
1289 2004-04-05  Angus Leeming  <leeming@lyx.org>
1290
1291         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1292         to enable the frontends to export changes to lyxrc correctly.
1293
1294         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1295
1296 2004-04-07  André Pönitz  <poenitz@gmx.net>
1297
1298         * cursor.[Ch] (selClear, adjust): remove math
1299
1300         * cursor_slice.C: more agressive assert
1301
1302         * lyxfunc.C:
1303         * BufferView_pimpl.C: rework mouse event dispatch
1304
1305         * dociterator.C:
1306         * paragraph.C:
1307         * text2.C:
1308         * text3.C: adjust
1309
1310 2004-04-05  André Pönitz  <poenitz@gmx.net>
1311
1312         * cursor.[Ch] (valign, halign...): remove unneeded functions
1313
1314 2004-04-05  Angus Leeming  <leeming@lyx.org>
1315
1316         * lyxlength.[Ch] (unit_name et al.): const-correct.
1317
1318 2004-04-05  Angus Leeming  <leeming@lyx.org>
1319
1320         * BufferView_pimpl.C:
1321         * buffer.C:
1322         * counters.C:
1323         * cursor.C:
1324         * lyxfunc.C
1325         * paragraph.C:
1326         * pariterator.C:
1327         * text.C:
1328         * text2.C:
1329         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1330
1331 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1332
1333         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1334
1335 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1336
1337         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1338         * BufferView_pimpl.[Ch] (getStatus)
1339         * BufferView.[Ch] (getStatus): add
1340         * lyxfunc.C (getStatus): move lfuns handled in
1341         BufferView::dispatch to te function above
1342         * Cursor.C (setSelection): set selection() = true
1343
1344 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1345
1346         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1347
1348 2004-03-31  Angus Leeming  <leeming@lyx.org>
1349
1350         * lyxfunc.C (dispatch): Fall through to the generic
1351         Dialogs::show("preamble").
1352
1353 2004-03-31  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyxfunc.C (dispatch): Fall through to the generic
1356         Dialogs::show("spellchecker").
1357
1358 2004-03-31  Angus Leeming  <leeming@lyx.org>
1359
1360         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1361         preferences dialog.
1362
1363 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1364
1365         * BufferView.C
1366         * cursor.[Ch]
1367         * dociterator.[Ch]:
1368         * insetiterator.[Ch]:
1369         * lyxfind.C:
1370         * lyxfunc.C:
1371         * pariterator.[Ch]:
1372         * text2.C:
1373         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1374
1375 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1378         insets where we are putting the cursor.
1379
1380 2004-03-31  Angus Leeming  <leeming@lyx.org>
1381
1382         * lfuns.h:
1383         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1384
1385         * lyxrc.[Ch] (read, write): overloaded member functions taking
1386         a std::[io]stream arguments.
1387
1388         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1389
1390 2004-03-31  Angus Leeming  <leeming@lyx.org>
1391
1392         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1393         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1394
1395         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1396         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1397
1398 2004-03-31  Angus Leeming  <leeming@lyx.org>
1399
1400         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1401         the LFUN_ALL_INSETS_TOGGLE code.
1402
1403 2004-03-30  Angus Leeming  <leeming@lyx.org>
1404
1405         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1406         has died. Fall through to the generic Dialogs::show("document").
1407
1408 2004-03-30  Angus Leeming  <leeming@lyx.org>
1409
1410         * lfuns.h:
1411         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1412         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1413
1414         * lyxfunc.C (getStatus, dispatch): define the actions for these
1415         lfuns. Little more than a cut and pste job from ControlDocument.C
1416
1417         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1418
1419 2004-03-30  Angus Leeming  <leeming@lyx.org>
1420
1421         * lfuns.h:
1422         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1423         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1424
1425         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1426         open/closed state of ollapsable insets. Usage:
1427
1428         all-inset-toggle <state> <name>, where
1429         <state> == "open" || "closed" || "toggle" and
1430         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1431
1432         * lyxtext.h, text2.C (toggleInset): removed.
1433
1434         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1435         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1436         now passes LFUN_INSET_TOGGLE to the found inset.
1437
1438         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1439         is now invoked as "all-insets-toggle toggle branch".
1440
1441 2004-03-30  Angus Leeming  <leeming@lyx.org>
1442
1443         * dociterator.C:
1444         * insetiterator.C:
1445         * pariterator.[Ch]: added/corrected header blurb.
1446
1447 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1448
1449         * dociterator.[Ch]: add an inset_ member
1450         (backwardPos): implemented
1451         (backwardPos, forwardPos): use inset_ when the stack is empty.
1452         (doc_iterator_begin, doc_iterator_end): implemented
1453         * pariterator.[Ch]: adjust, add begin, end
1454         * insetiterator.[Ch]: adjust, add begin, end
1455         * cursor.C:
1456         * document.C:
1457         * BufferView.C:
1458         * BufferView_pimpl.C:
1459         * CutAndPaste.C: adjust
1460
1461 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1462
1463         * buffer.C: increment file format to 232.
1464         * LaTeXFeatures.C: add bibtopic package.
1465         * bufferparams.[Ch]: param \use_bibtopic.
1466
1467         * lyxrc.[Ch]: add lyxrc bibtex_command
1468         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1469
1470         * buffer.C: increment file format to 231.
1471
1472 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1473
1474         * dociterator.C: implement forwardPar
1475         * iterators.[Ch]: remove, replaced by
1476         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1477         * BufferView.C:
1478         * BufferView_pimpl.C:
1479         * CutAndPaste.C:
1480         * buffer.C:
1481         * bufferview_funcs.C:
1482         * cursor.C:
1483         * lyxfind.C
1484         * lyxfunc.C
1485         * paragraph_funcs.C
1486         * toc.C:
1487         * Makefile.am: adjust
1488
1489 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1490
1491         * CutAndPaste.C (pasteSelection): fix 2 crashes
1492         (eraseSelection): fix a crash
1493         * paragraph_funcs.C: remove a warning
1494
1495 2004-03-28  Angus Leeming  <leeming@lyx.org>
1496
1497         * lfuns.h:
1498         * LyXAction.C (init): new LFUN_PRINT.
1499
1500         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1501
1502 2004-03-27  Angus Leeming  <leeming@lyx.org>
1503
1504         * lfuns.h:
1505         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1506
1507         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1508
1509 2004-03-27  Angus Leeming  <leeming@lyx.org>
1510
1511         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1512         insetlist always contains non-null pointers to insets.
1513
1514 2004-03-26  Angus Leeming  <leeming@lyx.org>
1515
1516         * src/BufferView_pimpl.C:
1517         * src/CutAndPaste.C:
1518         * src/buffer.C:
1519         * src/iterators.C:
1520         * src/output_plaintext.C:
1521         * src/outputparams.h:
1522         * src/paragraph_funcs.C:
1523         * src/rowpainter.C:
1524         * src/text.C:
1525         * src/text2.C:
1526         * src/frontends/controllers/ControlErrorList.C:
1527         * src/frontends/gtk/FileDialogPrivate.C:
1528         * src/frontends/gtk/GPainter.C:
1529         * src/frontends/gtk/GToolbar.C:
1530         * src/frontends/qt2/QRef.C:
1531         * src/mathed/math_scriptinset.C: squash compiler warnings.
1532
1533 2004-03-26  Angus Leeming  <leeming@lyx.org>
1534
1535         * ispell.C (LaunchIspell::start):
1536         * lyx_cb.C (AutoSaveBuffer::start):
1537         invoke run(DontWait) rather than runNonBlocking().
1538
1539 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1540
1541         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1542
1543 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1544
1545         * kbsequence.C (print): adjust
1546
1547         * kbmap.C (printKeySym): rename and change signature
1548         (printKey): use LyXKeySym::print()
1549
1550 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1551
1552         * undo.C: add using std::advance to compile for stlport
1553
1554 2004-03-24  Angus Leeming  <leeming@lyx.org>
1555
1556         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1557         it leads to a crash when no buffer is present.
1558
1559 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560             Martin Vermeer  <martin.vermeer@hut.fi>
1561
1562         * lyxfunc.C (dispatch):
1563         * bufferparams.C (readToken): use the new LColor::setColor
1564
1565         * LColor.[Ch] (setColor): new version that takes two strings as
1566         argument and creates a new color entry if necessary
1567
1568 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1569
1570         * buffer.C (makeLaTeXFile): if the main latex file that is
1571         processed is usually a subdocument of some master, then pretend
1572         for a while that it is actually the master
1573
1574 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1575
1576         * buffer.C (getLabelList):
1577         (getBibkeyList): use getMasterBuffer()
1578         (getMasterBuffer): new method. Returns the main document in the
1579         case where one is using included documents.
1580
1581 2004-03-25  André Pönitz  <poenitz@gmx.net>
1582
1583         * Makefile.am:
1584         * iterators.[Ch]:
1585         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1586
1587         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1588
1589         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1590         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1591
1592         * ParameterStruct.h: merge with ParagraphParameters
1593
1594         * lyxtext.h: remove LyXText::parOffset() and getPar()
1595
1596         * text3.C: Remove all 'manual' update calls. We do now one per user
1597         interaction which is completely sufficient.
1598
1599         * Bidi.C:
1600         * BufferView.[Ch]:
1601         * BufferView_pimpl.C:
1602         * FontIterator.[Ch]:
1603         * MenuBackend.C:
1604         * ParagraphParameters.[Ch]:
1605         * buffer.C:
1606         * buffer.h:
1607         * bufferlist.C:
1608         * cursor.[Ch]:
1609         * cursor_slice.[Ch]:
1610         * dociterator.[Ch]:
1611         * errorlist.[Ch]:
1612         * factory.C:
1613         * lfuns.h:
1614         * lyxfind.C:
1615         * lyxfunc.C:
1616         * output_docbook.[Ch]:
1617         * output_latex.[Ch]:
1618         * output_linuxdoc.[Ch]:
1619         * output_plaintext.[Ch]:
1620         * paragraph.[Ch]:
1621         * paragraph_funcs.[Ch]:
1622         * paragraph_pimpl.[Ch]:
1623         * rowpainter.C:
1624         * tabular.[Ch]:
1625         * text.C:
1626         * text2.C:
1627         * toc.C:
1628         * undo.[Ch]: adjust
1629
1630         * frontends/controllers/ControlDocument.C:
1631         * frontends/controllers/ControlErrorList.C:
1632         * frontends/controllers/ControlSpellchecker.C:
1633         * insets/inset.C:
1634         * insets/inset.h:
1635         * insets/insetbase.h:
1636         * insets/insetbibitem.C:
1637         * insets/insetbox.C:
1638         * insets/insetbranch.C:
1639         * insets/insetcaption.C:
1640         * insets/insetcharstyle.C:
1641         * insets/insetcharstyle.h:
1642         * insets/insetcollapsable.C:
1643         * insets/insetcollapsable.h:
1644         * insets/insetert.C:
1645         * insets/insetfloat.C:
1646         * insets/insetfoot.C:
1647         * insets/insetmarginal.C:
1648         * insets/insetnote.C:
1649         * insets/insetoptarg.C:
1650         * insets/insettabular.C:
1651         * insets/insettext.C:
1652         * insets/insettext.h:
1653         * insets/insetwrap.C:
1654         * mathed/math_mboxinset.C:
1655         * mathed/math_nestinset.C:
1656         * mathed/math_scriptinset.C:
1657         * mathed/math_scriptinset.h:
1658         * support/types.h:
1659
1660 2004-03-24  Angus Leeming  <leeming@lyx.org>
1661
1662         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1663         deal with any child processes that have finished but are waiting to
1664         communicate this fact to the rest of LyX.
1665
1666 2004-03-24  Angus Leeming  <leeming@lyx.org>
1667
1668         64-bit compile fixes.
1669
1670         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1671         (c-tor): pass lyx::pos_types rather than ints.
1672
1673         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1674         lyx::pos_type.
1675
1676         * text.C (Delete): compile fix.
1677         (getPar): ensure that function declaration is the same as that in
1678         the header file.
1679
1680 2004-03-23  Angus Leeming  <leeming@lyx.org>
1681
1682         * ispell.C (LaunchIspell):
1683         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1684         a boost::shred_ptr rather than a std::auto_ptr.
1685
1686 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1689         handle LFUN_FILE_INSERT_*
1690
1691         * lyxrc.C (setDefaults, getDescription, output, read):
1692         * lyxrc.h: remove ps_command
1693
1694 2004-03-22  Angus Leeming  <leeming@lyx.org>
1695
1696         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1697         Ensure that error_handler is processed once only and that all data
1698         is saved before attempting to output any warning messages.
1699
1700         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1701
1702 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1705
1706 2004-03-19  André Pönitz  <poenitz@gmx.net>
1707
1708         * cursor.[Ch] (reset): take main text inset as argument
1709
1710         * BufferView: adjust
1711         * BufferView_pimpl.C: adjust
1712
1713         * paragraph.[Ch]: fix completely broken operator=()
1714
1715 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * LColor.C (getFromLyXName): make sure that the color name is used
1718         as lowercase.
1719
1720 2004-03-17  Angus Leeming  <leeming@lyx.org>
1721
1722         * lfuns.h:
1723         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1724
1725         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1726         dialog and to kill a forked process.
1727
1728 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1729
1730         * text2.C (setCursorFromCoordinates): fix font problem
1731
1732 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1733
1734         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1735         bogus "rebuild cursor" code
1736
1737 2004-03-11  André Pönitz  <poenitz@gmx.net>
1738
1739         * buffer.[Ch]: use InsetText instead of LyXText as container for
1740         the main lyx text.
1741
1742         * dociterator.[Ch]: drop the BufferView * member which is not needed
1743         anymore after the change to buffer.C
1744
1745         * paragraph_funcs.C:
1746         * text.C:
1747         * text2.C:
1748         * BufferView.[Ch]:
1749         * BufferView_pimpl.[Ch]:
1750         * cursor.[Ch]:
1751         * cursor_slice.[Ch]: adjust
1752
1753         * text3.C: fix bug in mathDispatch
1754
1755 2004-03-08  André Pönitz  <poenitz@gmx.net>
1756
1757         * undo.[Ch]: use 'StableDocumentIterator' as base for
1758         the Undo struct.
1759
1760 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1761
1762         * LaTeXFeatures.C:
1763         * bufferparams.[Ch]: add jurabib support and param.
1764
1765         * LaTeX.C: add FIXME/comment.
1766
1767 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1768
1769         * buffer.C: increment file format to 230.
1770
1771 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1772
1773         * cursor.C (dispatch): avoid infinite loops
1774
1775 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * rowpainter.C (paintSelection): fix x coordinates
1778
1779 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1780
1781         * text.C (rowBreakPoint): fix breaking before displayed insets
1782
1783 2004-03-01  André Pönitz  <poenitz@gmx.net>
1784
1785         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1786
1787         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1788
1789         * Makefile.am:
1790         * BufferView.C:
1791         * BufferView_pimpl.C:
1792         * buffer.C:
1793         * lyxfind.C:
1794         * lyxfunc.C:
1795         * text.C:
1796         * text2.C:
1797         * text3.C: adjust
1798
1799 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1800
1801         * lyxtext.h:
1802         * text.C:
1803         * text2.C:
1804         * rowpainter.C:
1805         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1806         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1807
1808 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1809
1810         * Bidi.[Ch] (computeTables): const correctness
1811         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1812         fill_hfill, fill_label_hfill and x from Row
1813         * lyxtext.h: prepareToPrint returns a RowMetrics
1814         * rowPainter.C: adjust
1815         * text.C (prepareToPrint): use width, not textWidth. adjust
1816         (redoParagraphInternal, cursorX): adjust
1817         * text2.C (getColumnNearX): adjust
1818         (init): put a default value to the top LyXText::width
1819
1820 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1821
1822         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1823
1824 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1825
1826         * lyxtext.h: add FontIterator class
1827
1828         * text.C (FontIterator, operator*, operator->, operator++): add
1829         (rowBreakPoint, setRowWidth): adjust (fixing a
1830         rebreaking bug)
1831
1832 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * BufferView_pimpl.C (workAreaDispatch): allow also
1835         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1836
1837 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1838
1839         * text.C (rowBreakPoint): fix a bug showing with very large insets
1840
1841 2004-02-25  André Pönitz  <poenitz@gmx.net>
1842
1843         * text3.C:
1844         * cursor.[Ch]: move some mathed specific code to mathed
1845
1846 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1847
1848         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1849         use_tempdir in preferences
1850         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1851         tempfile creation
1852         * lyx_main.C: ensure that tempdir is valid
1853         * lyxlex.h: correct typo
1854         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1855         * paragraph.[Ch] (isMultiLingual): make const
1856         * cursor.[Ch] (openable): make const
1857
1858 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1859
1860         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1861
1862 2004-02-20  André Pönitz  <poenitz@gmx.net>
1863
1864         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1865
1866         * cursor.[Ch]: prepare for localized getStatus()
1867
1868         * lyxtext.h:
1869         * tabular.C:
1870         * text.C:
1871         * text2.C:
1872         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1873
1874 2004-02-20  André Pönitz  <poenitz@gmx.net>
1875
1876         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1877
1878 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * text2.C (setCursorFromCoordinates): switch to absolute coords
1881         (cursorUp): adjust
1882         (cursorDown): adjust
1883         * text3.C (dispatch): adjust
1884
1885 2004-02-16  André Pönitz  <poenitz@gmx.net>
1886
1887         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1888           insets/ChangeLog)
1889
1890         * cursor_slice.[Ch]: remove unneeded acessor function
1891
1892         * lyxtext.h: rename rtl() to isRTL()
1893
1894         * rowpainter.C:
1895         * tabular.C:
1896         * text.C:
1897         * text2.C:
1898         * text3.C: adjust
1899
1900 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1901
1902         * rowpainter.C (paintSelection): coord fix
1903
1904 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1905
1906         * Spacing.C: compile fix
1907
1908 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * cursor.C (dispatch): restore current_ before returning
1911
1912 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1913
1914         * text2.C (cursorUp, cursorDown): fix coords
1915         (moveUp): fix crash
1916
1917 2004-02-12  André Pönitz  <poenitz@gmx.net>
1918
1919         * lyxtext.h:
1920         * text.C:
1921         * text2.C:
1922         * text3.C: add LCursor & parameter to most cursor movement functions
1923           remove usage of LyXText::cursorRow() and cursorPar()
1924
1925         * cursor.[Ch]: add textRow() needed members
1926
1927         * BufferView.C:
1928         * BufferView_pimpl.C:
1929         * paragraph.[Ch]:
1930         * BufferView.C:
1931         * BufferView_pimpl.C: adjust
1932
1933 2004-02-11  André Pönitz  <poenitz@gmx.net>
1934
1935         * lyxfunc.C:
1936         * BufferView.[Ch]:
1937         * BufferView_pimpl.C: shift undo/redo handling
1938
1939         * cursor.[Ch]: fix mathed crash
1940
1941         * lyxfind.C:
1942         * lyxtext.h: move selectionAsText to LCursor
1943
1944         * output_latex.C:
1945         * paragraph.C:
1946         * text.C:
1947         * text2.C:
1948         * text3.C: adjust
1949
1950         * rowpainter.C: fix excessive drawing
1951
1952 2004-02-06  André Pönitz  <poenitz@gmx.net>
1953
1954         * BufferView.[Ch]:
1955         * BufferView_pimpl.[Ch]:
1956         * text3.C: move some text specific LFUN handling
1957
1958 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * text3.C (checkInsetHit): adjust coords
1961         * text2.C (getColumnNearX): adjust coords
1962         (edit): adjust coords
1963         * text.C (getRowNearY): add two asserts
1964
1965 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1966
1967         * converter.C:
1968         * format.C: add using std::distance to compile on gcc 2.95/stlport
1969
1970 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1971
1972         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1973
1974 2004-02-04  André Pönitz  <poenitz@gmx.net>
1975
1976         * BufferView.[Ch] (insertInset):
1977         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1978
1979         * text2.C:
1980         * text3.C: adjust
1981
1982 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1983
1984         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1985         on the default clause of the switch
1986         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1987         wasn't catched by LCursor::dispatch
1988
1989 2004-02-03  André Pönitz  <poenitz@gmx.net>
1990
1991         * BufferView.C:
1992         * cursor.[Ch]: some additional asserts
1993
1994         * undo.[Ch]: remove LyXText dependency in interface
1995
1996         * lyxfunc.C: adjust
1997
1998         * lyxtext.h (firstPar, lastPar): remove dead functions
1999
2000         * text.C:
2001         * text2.C:
2002         * text3.C:
2003         * paragraph.[Ch]: adjust
2004
2005 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2006
2007         * lyxfind.C (find): fix argument order in call to ::find
2008
2009 2004-02-02  André Pönitz  <poenitz@gmx.net>
2010
2011         * cursor.[Ch]: remove direct access to anchor
2012
2013         * text.C: remove findText() hack
2014
2015 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2016
2017         * iterators.[Ch] (lockPath): remove in favour of...
2018         * BufferView.[Ch] (setCursor): this addition
2019         * BufferView.C (putSelectionAt): adjust
2020         * undo.C (performUndoOrRedo): adjust
2021         * lyxfunc.C (dispatch): adjust
2022
2023 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2024
2025         * iterators.C (lockPath): add a missing slice
2026         * undo.C (performUndoOrRedo): remove redundant positioning code
2027
2028 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2029
2030         * vc-backend.C (scanMaster): ";" -> ';'
2031
2032 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2033
2034         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2035         std::binary_function
2036
2037         * lyxtextclass.C (compare_name): rename to...
2038         (LayoutNamesEqual): ...this
2039
2040         * lyxlex_pimpl.C (compare_tags): inherit from
2041         std::binary_function, put back into anon namespace
2042
2043         * lyxfind.C (MatchString): inherig from std::binary_function
2044         (findChange): use empty() istead of !size()
2045
2046         * format.C (FormatNamesEqual): new functor
2047         (getFormat): use it
2048         (getNumber): use it
2049         (add): use it
2050         (erase): use it
2051         (setViewer): use it
2052
2053         * converter.C (compare_Converter): rename to...
2054         (ConverterEqual): ...this, and fixup a bit.
2055         (getConverter): use it, and make function const
2056         (getNumber): use it, and make function const
2057         (add): use it
2058         (erase): use it:
2059
2060         * bufferlist.C: add using boost::bind
2061
2062         * MenuBackend.C (MenuNamesEqual): new functor
2063         (hasMenu): use it, and make function const
2064         (hasSubmenu): use nested bind to get rid of compare_memfun.
2065
2066 2004-01-30  André Pönitz  <poenitz@gmx.net>
2067
2068         * BufferView_pimpl.C:
2069         * cursor.C:
2070         * cursor.h:
2071         * cursor_slice.[Ch]:
2072         * lyxfunc.C:
2073         * lyxtext.h:
2074         * paragraph_funcs.C:
2075         * paragraph_funcs.h:
2076         * rowpainter.C:
2077         * text.C:
2078         * text2.C:
2079         * text3.C: move some of the edit(x,y) handling to the insets
2080         some coordinate changes.
2081
2082 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2083
2084         * text.C: add using statements for std::advance and std::distance
2085
2086         * paragraph.C: add using statement for std::distance
2087
2088         * lyxfind.C: add using statement for std::advance
2089
2090         * cursor.C (region): remove std:: from swap
2091         (openable): use nucleus in stead of operator->
2092
2093         * BufferView.C: add using statements for std::distance and std::swap
2094
2095 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2096
2097         * iterators.C: Remove the pimple, move the needed structures to
2098         the header file. Create accessor for the positions stack.
2099         (asPosIterator): remove function
2100
2101         * PosIterator.C (PosIterator): move constructors to top of file
2102         (PosIterator): reimplement the constructor taking a ParIterator in
2103         terms of setFrom.
2104         (setFrom): new function
2105         (operator!=): inline it
2106
2107 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2108
2109         * lyxfind.C (replaceAll): use std::advance
2110
2111         * iterators.h: inherit from std::iterator.
2112
2113         * PosIterator.C (advance, distance): remove
2114         * PosIterator.h: interit from std::iterator.
2115
2116 2004-01-26  André Pönitz  <poenitz@gmx.net>
2117
2118         * BufferView.[Ch]:
2119         * BufferView_pimpl.[Ch]:
2120         * InsetList.[Ch]:
2121         * PosIterator.[Ch]:
2122         * buffer.h:
2123         * bufferview_funcs.C:
2124         * cursor.[Ch]:
2125         * cursor_slice.h:
2126         * factory.[Ch]:
2127         * iterators.[Ch]:
2128         * lyxfind.C:
2129         * lyxfunc.C:
2130         * lyxtext.h:
2131         * output_docbook.C:
2132         * output_latex.C:
2133         * output_linuxdoc.C:
2134         * output_plaintext.C:
2135         * paragraph.[Ch]:
2136         * paragraph_funcs.[Ch]:
2137         * paragraph_pimpl.[Ch]:
2138         * rowpainter.C:
2139         * tabular.C:
2140         * tabular.h:
2141         * text.C:
2142         * text2.C:
2143         * text3.C: more IU:  dumps most of the rest of the mathcursor
2144     implementation into cursor.[Ch]; "globalize" a bit of it.
2145
2146 2004-01-25  Angus Leeming  <leeming@lyx.org>
2147
2148         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2149
2150 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2151
2152         * LaTeXFeatures.h: add nice_ and nice() const
2153         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2154
2155 2004-01-20  André Pönitz  <poenitz@gmx.net>
2156
2157         * BufferView.[Ch]:
2158         * BufferView_pimpl.C:
2159         * PosIterator.C:
2160         * bufferview_funcs.C:
2161         * cursor.[Ch]:
2162         * cursor_slice.[Ch]:
2163         * factory.C:
2164         * iterators.C:
2165         * lyx_cb.C:
2166         * lyxfind.C:
2167         * lyxfunc.C:
2168         * lyxtext.h:
2169         * rowpainter.C:
2170         * text.C:
2171         * text2.C:
2172         * text3.C:
2173         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2174           LCursor and mathcursor parts to LCursor and InsetBase.
2175
2176 2004-01-15  André Pönitz  <poenitz@gmx.net>
2177
2178         * cursor_slice.[Ch]: add a few covienience functions
2179
2180         * funcrequest.[Ch]: remove BufferView * member
2181
2182         * BufferView_pimpl.C:
2183         * cursor.C:
2184         * factory.[Ch]:
2185         * lyxfind.[Ch]:
2186         * lyxfunc.C:
2187         * lyxtext.h:
2188         * text3.C:
2189         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2190
2191 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2192
2193         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2194         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2195
2196 2004-01-13  André Pönitz  <poenitz@gmx.net>
2197
2198         * textcursor.[Ch]:
2199         * lyxtext.h: hide cursor and selection anchor behind accessor function
2200
2201         * BufferView.C:
2202         * BufferView_pimpl.[Ch]:
2203         * PosIterator.C:
2204         * bufferview_funcs.C:
2205         * cursor.h:
2206         * lyxfind.C:
2207         * lyxfunc.C:
2208         * text.C:
2209         * text2.C:
2210         * text3.C:
2211         * undo.C: adjust
2212
2213         * cursor.h:
2214         * cursor_slice.[Ch]: some integer type changes for inset unification
2215
2216         * lyxcursor.[hC]: remove, it's CursorSlice now.
2217
2218         * Makefile.am:
2219         * BufferView_pimpl.[Ch]:
2220         * bufferview_funcs.C:
2221         * cursor_slice.C:
2222         * lyxtext.h:
2223         * text.C:
2224         * text2.C:
2225         * text3.C:
2226         * textcursor.[Ch]: adjust
2227
2228 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2229
2230         * text2.C (undoSpan): add and use
2231         * text.C (breakParagraph): use undoSpan (fix bug 578)
2232         * lyxtext.h: adjust
2233
2234 2004-01-08  Angus Leeming  <leeming@lyx.org>
2235
2236         * BufferView_pimpl.C (MenuInsertLyXFile):
2237         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2238         * lyxfunc.C (menuNew, open, doImport):
2239         FileFilterList change to the FileDialog open and save functions.
2240
2241 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2242
2243         * ShareContainer.h: make isEqual and isUnique adaptable
2244
2245         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2246
2247 2004-01-07  Angus Leeming  <leeming@lyx.org>
2248
2249         * LyXAction.C:
2250         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2251
2252         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2253
2254         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2255         functions replacing find, replace and replaceAll.
2256
2257         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2258         LFUN_WORDFIND(FORWARD|BACKWARD).
2259
2260 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2261
2262         * text.C (breakParagraph): remove an outdated #warning
2263
2264 2004-01-07  André Pönitz  <poenitz@gmx.net>
2265
2266         * lyxfind.C: somewhat clearer logic
2267
2268         * text.C: prevent crash in cursorX on unitialized row cache
2269
2270 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2271
2272         * lyxcursor.[Ch] (operator>): add
2273         * textcursor.C (selStart, selEnd): use std::min and std::max
2274
2275 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2276
2277         * Chktex.C: include boost/format.hpp
2278
2279 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2280
2281         * InsetList.C: replace functor MathcIt with adaptable functor
2282         InsetTablePosLess
2283         (insetIterator): modify accordingly
2284
2285         * BranchList.h: move the BranchNamesEqual functor here from...
2286         * BranchList.C: ... to here
2287
2288         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2289         SameName and match.
2290         (add): replace a finding loop with std::find_if.
2291
2292 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2293
2294         * output_docbook.C: moving LatexParam functionality into
2295         .layout files
2296
2297 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2298
2299         * buffer.C: increment format to 229.
2300
2301 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2302
2303         * LaTeXFeatures.C:
2304         * lyx_sty.[Ch]: remove minipageindent_def
2305
2306         * LyXAction.C:
2307         * factory.C:
2308         * lfuns.h:
2309         * lyxfunc.C:
2310         * text3.C: remove LFUN_INSET_MINIPAGE
2311
2312 2003-12-28  Angus Leeming  <leeming@lyx.org>
2313
2314         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2315
2316 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2317
2318         * text2.C (setParagraph): fix off-by-one crash
2319
2320 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2321
2322         * output_docbook.C: header stuff for AGU
2323
2324 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2325
2326         * text2.C (redoCursor): remove
2327         * text.C:
2328         * text3.C:
2329         * BufferView_pimpl.C: remove calls to redoCursor and
2330         setCursor(cursor.par(), cursor.pos()) all around
2331
2332 2003-12-15  Angus Leeming  <leeming@lyx.org>
2333
2334         * buffer.C: up the format to 228.
2335
2336 2003-12-15  André Pönitz  <poenitz@gmx.net>
2337
2338         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2339         slices
2340
2341         * Makefile.am:
2342
2343         * BufferView_pimpl.C:
2344         * cursor.[Ch]:
2345         * lyxcursor.[Ch]:
2346         * rowpainter.[Ch]:
2347         * lyxtext.h:
2348         * text.C:
2349         * text2.C:
2350         * text3.C: adjust
2351
2352 2003-12-15  Angus Leeming  <leeming@lyx.org>
2353
2354         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2355         than getFromGUIName to manipulate the color.
2356
2357 2003-12-14  Angus Leeming  <leeming@lyx.org>
2358
2359         * BranchList.[Ch]: minimize the API.
2360         (Branch::getBranch, getColor): now return a 'const &'.
2361         (Branch::setSelected) now returns a bool set to true if the
2362         selection status changes.
2363         (BranchList::clear, size, getColor, setColor, setSelected,
2364         allBranches, allSelected, separator): removed.
2365         (BranchList::find): new functions, returning the Branch with
2366         the given name.
2367         (BranchList::add, remove): return a bool indicating that
2368         the operation was successful.
2369
2370         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2371         new InsetBranch::isBranchSlected member function.
2372
2373         * LColor.[Ch]: mimimize the API.
2374         (fill): renamed as addColor and made private.
2375         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2376         versions of these functions taking a string arg have been removed.
2377
2378         * bufferparams.C (readToken):
2379         * lyxfunc.C (dispatch):
2380         * lyxrc.C (read): changes due to the altered BranchList and
2381         LColor APIs.
2382
2383         * factory.C (createInset, readInset): changes due to altered
2384         InsetBranch c-tor.
2385
2386 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2387
2388         * factory.C:
2389         * lyxfunc.C: remove insetminipage. "minipage-insert"
2390         now produces a frameless minipage box inset.
2391
2392 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * textcursor.[Ch] (selStart,selEnd): add new methods
2395         remove selection::start, end, use LyXCursor::operator<
2396         * lyxcursor.[Ch] (operator<): add
2397         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2398         * BufferView.[Ch] (unsetXSel): add
2399         * text2.C (clearSelection): use unsetXSel,adjust
2400         * text.C: adjust
2401         * text3.C: adjust
2402         * rowpainter.C: adjust
2403         * bufferview_funcs.C (put_selection_at): adjust
2404
2405 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * BufferView_pimpl.C: small coord. correction
2408
2409 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2412         dragging over the splash screen.
2413
2414 2003-12-11  Angus Leeming  <leeming@lyx.org>
2415
2416         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2417         as it is now handled in LyXText::dispatch.
2418
2419         * text3.C (doInsertInset): remove a level of nesting.
2420
2421 2003-12-11  Angus Leeming  <leeming@lyx.org>
2422
2423         * factory.C (createInset): changes due to the changed interface to
2424         InsetCommandMailer::string2params.
2425
2426 2003-12-10  Angus Leeming  <leeming@lyx.org>
2427
2428         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2429         'dialog-show-new-inset <inset name>'
2430
2431 2003-12-10  Angus Leeming  <leeming@lyx.org>
2432
2433         * buffer.C: up the format to 227.
2434
2435         * factory.C: the box inset is now identified simply by 'Box'.
2436
2437 2003-12-10  Angus Leeming  <leeming@lyx.org>
2438
2439         * buffer.C: up the format to 226.
2440
2441         * factory.C: the note inset is now identified simply by 'Note'.
2442
2443 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2444
2445         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2446         when a pit is enough. Standarize a couple of loops.
2447
2448 2003-12-05  Angus Leeming  <leeming@lyx.org>
2449
2450         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2451         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2452         data to the re-worked "log" dialog.
2453
2454 2003-12-03  André Pönitz  <poenitz@gmx.net>
2455
2456         * PosIterator.C:
2457         * iterators.C:
2458         * lyxtext.h:
2459         * output_latex.C:
2460         * paragraph_funcs.C:
2461         * text.C:
2462         * text2.C: use Inset::getText instead of Inset::getParagraph
2463
2464 2003-12-03  André Pönitz  <poenitz@gmx.net>
2465
2466         * buffer.[Ch]:
2467         * lyxtext.h:
2468         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2469         InsetText::read() as LyXText::read()
2470
2471 2003-12-02  Angus Leeming  <leeming@lyx.org>
2472
2473         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2474         type. Add a comment in the implementation that the function uses
2475         the stream's bad() function rather than fail() as the std::streams
2476         would do.
2477
2478 2003-12-02  André Pönitz  <poenitz@gmx.net>
2479
2480         * lyxlex.[Ch]: make interface more similar to std::stream
2481
2482         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2483
2484 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2485
2486         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2487
2488 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2489
2490         * vspace.[Ch]: remove VSpace::NONE
2491
2492 2003-12-01  André Pönitz  <poenitz@gmx.net>
2493
2494         * buffer.[Ch]:
2495         * lyxtext.h: move ParagraphList member to LyXText
2496         rename LyXText::ownerParagraphs to LyXText::paragraph
2497
2498         * CutAndPaste.C:
2499         * bufferview_funcs.C:
2500         * iterators.[Ch]:
2501         * lyx_cb.C:
2502         * paragraph.C:
2503         * rowpainter.C:
2504         * tabular.C:
2505         * text.C:
2506         * text2.C:
2507         * text3.C: adjust
2508
2509         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2510
2511         * undo.C: fix cursor positioning
2512
2513 2003-12-01  John Levon  <levon@movementarian.org>
2514
2515         * BufferView_pimpl.C: fix a crash on exit with
2516         a buffer open
2517
2518 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2519
2520         * BranchList.C: fix setSelected() method.
2521
2522 2003-11-28  André Pönitz  <poenitz@gmx.net>
2523
2524         * ParagraphParameters.[Ch]:
2525         * ParameterStruct.h: remove space above/below from Paragraph to
2526          InsetVSpace
2527
2528         * BufferView_pimpl.C:
2529         * factory.C:
2530         * lyxfunc.C:
2531         * lyxtext.h:
2532         * output_latex.C:
2533         * paragraph.C:
2534         * paragraph_funcs.C:
2535         * rowpainter.[Ch]:
2536         * text.C:
2537         * text2.C:
2538         * text3.C: adjust
2539
2540 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2541
2542         * factory.C: Syntax change for CharStyles
2543
2544 2003-11-28  André Pönitz  <poenitz@gmx.net>
2545
2546         * BufferView.[Ch]:
2547         * BufferView.[Ch]:
2548         * buffer.[Ch]:
2549         * buffer.[Ch]: move LyXText member
2550
2551 2003-11-28  André Pönitz  <poenitz@gmx.net>
2552
2553         * BufferView.[Ch]: make LyXText * text a private member
2554
2555         * BufferView_pimpl.C:
2556         * cursor.C:
2557         * iterators.C:
2558         * lyx_cb.C:
2559         * lyxfind.C:
2560         * lyxtext.h:
2561         * rowpainter.[Ch]:
2562         * text.C:
2563         * text2.C:
2564         * undo.C: adjust
2565
2566         * output_plaintext.C: cleanup
2567
2568 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2569
2570         * buffer.C:
2571         * lyxtextclass.[Ch]: parametrize SGML document header
2572
2573 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2574
2575         * converter.[Ch]:
2576         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2577         getFlavor().
2578
2579 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2580
2581         * text2.C (setFont): rework using PosIterator (no more recursive)
2582         (setCharFont): no more needed
2583         (setLayout): no more selection cursors fiddling (done by redoCursor)
2584         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2585         destroy remaining ones)
2586
2587 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2588
2589         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2590         * lyxtext.h: ditto
2591         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2592         selection cursors
2593         * lyxfunc.C: adjust
2594         * text3.C: adjust + re-allow multi par depth changes
2595         * textcursor.C: simplify a bit
2596
2597 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2598
2599         * src/buffer.C:
2600         * src/lyxlayout.C:
2601         * src/lyxlayout.h:
2602         * src/lyxtext.h:
2603         * src/output_docbook.C:
2604         * src/output_latex.C:
2605         * src/paragraph.C:
2606         * src/paragraph.h:
2607         * src/sgml.C:
2608         * src/sgml.h:
2609         * src/text2.C: Introducing a number of tags parametrizing various
2610         XML formats that we may want to support
2611
2612 2003-11-25  André Pönitz  <poenitz@gmx.net>
2613
2614         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2615
2616         * lyxtext.h (leftMargin/rightMargin): simplify interface
2617
2618         * rowpainter.C:
2619         * text.C:
2620         * text2.C:
2621         * text3.C: adjust
2622
2623 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2624
2625         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2626         master file to any child files. Fixes bug 546.
2627
2628 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2631
2632 2003-11-24  André Pönitz  <poenitz@gmx.net>
2633
2634         * rowpainter.C: simplification
2635
2636         * text2.C (updateCounters): remove call to redoParagraph on
2637         changed labels as this is far too expensive.
2638
2639 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * converter.C (convert): fix a crash: this function gets
2642         called with buffer == 0 from importer code.
2643
2644 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2645
2646         * text3.C (cursorPrevious): make sure that we do not compare
2647         iterators form different containers.
2648         (cursorNext): ditto
2649
2650         * rowpainter.C (paintSelection): make sure that we do not compare
2651         iterators from different containers.
2652
2653         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2654         iterators from different ParagraphList containers.
2655         [NEXT] ditto
2656
2657         * text2.C (LyXText): change order of initialization slightly
2658         (operator=): new function. copy all variables except cache_par_
2659         (moveUp): make sure that we do not compare iterators from
2660         different ParagraphList constainers.
2661         (moveDown): ditto
2662
2663         * text.C (firstPar): new function
2664         (lastPar): new function
2665         (endPar): new function
2666
2667         * lyxtext.h: move things around and group public functions, public
2668         variables, private functions, private variables
2669
2670 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2671
2672         * factory.C: change call to InsetERT constructor to avoid
2673         additional invocation of method status
2674         * text2.C (toggleInset): remove redundant update() call
2675         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2676         instead of a Bufferview pointer
2677
2678 2003-11-21  André Pönitz  <poenitz@gmx.net>
2679
2680         * rowpainter.C: simplification
2681
2682 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2683
2684         * text3.C (dispatch): make possible to extend a word/row selection
2685         with the mouse
2686
2687 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2688
2689         * lyxtext.h: x0_,y0_ -> xo_,yo_
2690         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2691         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2692         * rowpainter.C (paintRows): paint full paragraphs
2693
2694 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2695
2696         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2697         screen coordinates)
2698
2699 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2700
2701         * lyxtext.h: add x0_, y0_
2702         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2703         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2704
2705 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2706
2707         * text2.C (setCursorIntern): move the x_target update here *
2708         * text3.C: change some bv() to true/false in calls to
2709         cursorUp/Down/Right/Left
2710         * cursor.C: use helper function.
2711
2712 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2713
2714         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2715         * paragraph_funcs.[Ch]: correct comment
2716         * rowpainter.C: do not paint selections away from bv->cursor()
2717         Fix a long standing selection painting bug.
2718         * text3.C: generalize mouse-selection code to LyXTexts other that
2719         top one
2720         * textcursor.C: do not use y coords if we can use par offsets
2721
2722 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2723
2724         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2725         cursor position after e.g. inset insert)
2726
2727 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2728
2729         * lyxfind.C (replace): adjust to locking removal + some
2730         code simplification
2731
2732 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2733
2734         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2735         of the path
2736
2737 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2738
2739         * lyxlayout.[Ch]:
2740         * output_docbook.C: XML sanitation: new layout
2741         parameters InnerTag and CommandDepth
2742
2743 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2744
2745         * BufferView_pimpl.C:
2746         * factory.C:
2747         * text3.C: Fix the insertion and modification of button-style
2748         insets
2749
2750 2003-11-13  André Pönitz  <poenitz@gmx.net>
2751
2752         * InsetList.[Ch]: remove deleteLyXText
2753
2754         * paragraph.[Ch]: cache beginOfBody position
2755
2756         * Bidi.C:
2757         * text.C:
2758         * text2.C:
2759         * text3.C: remove superfluous update() calls
2760
2761         * vspace.C: cleanup
2762
2763 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2764
2765         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2766         * BufferView.C (fitLockedInsetCursor): remove
2767         * cursor.[Ch] (getDim): add
2768         * text.C (getRowNearY): add faster version
2769         * text3.C: remove some update calls
2770
2771 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2772
2773         * LaTeXFeatures.C:
2774         * LyXAction.C:
2775         * MenuBackend.C:
2776         * MenuBackend.h:
2777         * dispatchresult.h:
2778         * factory.C:
2779         * lfuns.h:
2780         * lyxfunc.C:
2781         * lyxtextclass.C:
2782         * lyxtextclass.h:
2783         * text3.C: The Character Style /XML short element patch.
2784
2785 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2786
2787         * text3.C:
2788         * factory.C: Small step to solving 'unable to insert some insets'
2789         problem
2790
2791 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2792
2793         * cursor.[Ch] (updatePos): new function for updating the y
2794         position of the tip inset
2795         * bufferview_funcs.C (put_selection_at):
2796         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2797
2798 2003-11-11  André Pönitz  <poenitz@gmx.net>
2799
2800         * text.C: remove big comment on invalid Paragraph pointers as it is
2801         not valid anymore
2802
2803 2003-11-11  André Pönitz  <poenitz@gmx.net>
2804
2805         * text_funcs.[Ch]: merge with ...
2806
2807         * text.C: ... this
2808
2809         * lyxtext.h:
2810         * text2.C:
2811         * text3.C: adjust
2812
2813         * Makefile.am: remove text_funcs.[Ch]
2814
2815 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2816
2817         * cursor.C (getPos): return absolute cached y coord
2818
2819         * BufferView_pimpl.C (fitCursor): new simplistic code
2820         (workAreaDispatch): add a fitCursor call
2821
2822 2003-11-10  André Pönitz  <poenitz@gmx.net>
2823
2824         * BufferView.[Ch]:
2825         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2826
2827 2003-11-10  André Pönitz  <poenitz@gmx.net>
2828
2829         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2830         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2831         indicate that the cursor needs to leave an inset
2832
2833         * lyxtext.h: remove inset locking
2834
2835         * cursor.[Ch]: re-implement functionality provided by inset locking
2836
2837         * BufferView.[Ch]:
2838         * BufferView_pimpl.[Ch]:
2839         * LyXAction.C:
2840         * bufferview_funcs.[Ch]:
2841         * factory.C:
2842         * funcrequest.[Ch]:
2843         * iterators.C:
2844         * lyx_cb.C:
2845         * lyxfind.C:
2846         * lyxfunc.C:
2847         * text.C:
2848         * text2.C:
2849         * text3.C:
2850         * undo.C: adjust
2851
2852 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * PosIterator.[Ch]: replace the stack with a vector, add inset
2855         accesor
2856         * iterators.[C]: adjust
2857
2858 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2859
2860         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2861         replaced
2862         * paragraph_funcs.C (readParToken): put the correct id in the
2863         error item, not the id of the top paragraph
2864
2865 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2868         * bufferview_funcs.C (put_selection_at): use the above
2869
2870 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2871
2872         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2873
2874 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2875
2876         * output_linuxdoc.h:
2877         * output_plaintext.h:
2878         * output.h:
2879         * output_docbook.h: add #include statements
2880
2881 2003-11-05  José Matos  <jamatos@lyx.org>
2882
2883         * output_docbook.[Ch]:
2884         * output_latex.[Ch]:
2885         * output_linuxdoc.[Ch]:
2886         * output_plaintext.[Ch]: New files for output formats.
2887         * output.[Ch]: New file for helper functions.
2888
2889         * buffer.[Ch]:
2890         * paragraph_funcs.[Ch]: output functions moved to new files.
2891
2892         * outputparams.h: rename of latexrunparams.h
2893
2894         * LaTeX.[Ch]:
2895         * buffer.[Ch]:
2896         * bufferlist.[Ch]:
2897         * converter.[Ch]:
2898         * exporter.C:
2899         * paragraph.[Ch]:
2900         * paragraph_funcs.[Ch]:
2901         * paragraph_pimpl.[Ch]:
2902         * tabular.[Ch]: rename ascii to plaintext
2903         and LatexRunParams to OutputParams.
2904
2905 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2906
2907         * iterators.[Ch] (text): require bv argument
2908         * undo.C (recordUndo):
2909         * lyxfunc.C (dispatch):
2910         * bufferview_funcs.C (put_selection_at): adjust
2911
2912 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2913
2914         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2915
2916 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2917
2918         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2919         nestings
2920
2921 2003-11-04  André Pönitz  <poenitz@gmx.net>
2922
2923         * cursor.[Ch]: restructure
2924
2925         * BufferView.[Ch]:
2926         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2927
2928         * iterators.[Ch] (asCursor): remove
2929
2930         * lfuns.h: remove LFUN_INSET_EDIT
2931
2932         * lyxfunc.C:
2933         * tabular.C:
2934         * text.C:
2935         * text2.C:
2936         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2937
2938 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * lyxfind.[Ch]: complete overhaul
2941         * BufferView_pimpl.C:
2942         * lyxfunc.C: adjust
2943         * paragraph.[Ch] (insert): add
2944
2945 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2946
2947         * BufferView.[Ch]:
2948         * lyxtext.h:
2949         * text.C: remove dead spellcheck code
2950
2951 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * dispatchresult.h: add a val setter
2954
2955         * cursor.C (dispatch): use a tempvar for data_[i]
2956
2957 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2958
2959         * PosIterator.[Ch]: compile fix
2960
2961 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2962
2963         * text.C (cursorPar): deactivate the cursor cache
2964
2965 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2966
2967         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2968
2969 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * text3.C (dispatch): adjust for new DisptchResult semantics.
2972
2973         * lyxfunc.C (dispatch): handle update when return from
2974         Cursor::dispatch, adjust for new DispatchResult semantics.
2975
2976         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2977         DispatchResult(true) mean to not update. Add class functions for
2978         setting dispatched and update, as well as reading.
2979
2980         * cursor.C (dispatch): don't handle update here
2981
2982 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2985         * trans_mgr.C: adjust
2986
2987         * paragraph_funcs.C (readParToken): exception safety
2988
2989         * lyxvc.h: store the vcs pointer in a scoped_ptr
2990         * lyxvc.C: adjust
2991
2992         * lyxsocket.C (serverCallback): exception safety
2993
2994         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2995
2996         * ispell.C (clone): make it return a auto_ptr
2997
2998         * factory.C (createInset): exception safety
2999         (readInset): exception safety
3000
3001         * bufferlist.C (newBuffer): exception safety
3002
3003         * Thesaurus.C (Thesaurus): use initialization for aik_
3004
3005         * MenuBackend.C (expandToc): exception safety.
3006
3007 2003-11-03  André Pönitz  <poenitz@gmx.net>
3008
3009         * buffer.C:
3010         * buffer.h:
3011         * bufferview_funcs.C: remove getInsetFromId()
3012
3013         * lyxcursor.[Ch]:
3014         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3015
3016         * lyxfunc.C:
3017         * text2.C:
3018         * text3.C: adjust
3019
3020 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3021
3022         * PosIterator.C (distance, advance): new
3023         * bufferview_funcs.[Ch] (put_selection_at): new
3024         * iterators.[Ch] (lockPath): new
3025
3026 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * iterators.[Ch] (asPosIterator): added
3029         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3030         * PosIterator.[Ch]: added
3031
3032 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3033
3034         * text3.C:
3035         * lyxfunc.C:
3036         * cursor.C (dispatch):
3037         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3038
3039         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3040         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3041         contructor, add a class function dispatched. Remove operator>=
3042
3043 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3044
3045         * debug.C: only use the default constructor for debugstream
3046         (lyxerr) here.
3047
3048         * main.C (main): include debug.h and setup the lyxerr streambuf
3049         here.
3050
3051 2003-10-31  José Matos  <jamatos@lyx.org>
3052
3053         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3054
3055         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3056         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3057         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3058         * paragraph_pimpl.C (simpleTeXSpecialC):
3059         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3060         add LatexRunParams argument.
3061
3062         * exporter.C (Export): change call accordingly.
3063
3064         * latexrunparams.h: add new member to take care of the other backends.
3065 2003-10-30  José Matos  <jamatos@lyx.org>
3066
3067         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3068         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3069         factorise code for paragraph output.
3070         * buffer.[Ch]:
3071         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3072         move functions.
3073
3074 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * text3.C (dispatch):
3077         * lyxfunc.C (dispatch):
3078         * cursor.C (dispatch):
3079         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3080
3081         * dispatchresult.h: make the dispatch_result_t ctor explicit
3082
3083 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3084
3085         * sgml.[Ch]:
3086         * buffer.C: small refactoring of docbook stuff
3087
3088 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3089
3090         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3091         meaning.
3092
3093 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3094
3095         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3096         operator dispatch_result_t, and operators for == != and >=
3097
3098         * cursor.C (dispatch): adjust for operator dispatch_result_t
3099         removal. comment out call to update
3100
3101         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3102
3103 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3104
3105         * text3.C:
3106         * text2.C:
3107         * text.C:
3108         * lyxtext.h:
3109         * lyxfunc.C:
3110         * cursor.C:
3111         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3112         (dispatch):
3113
3114         * dispatchresult.h: new file, DispatchResult broken out of
3115         insets/insetbase.h
3116
3117         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3118
3119 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3120
3121         * text.C (rowBreakPoint): put a hack inside #if 0
3122
3123 2003-10-28  André Pönitz  <poenitz@gmx.net>
3124
3125         * lyxtext.h:
3126         * metricsinfo.C:
3127         * paragraph_funcs.C:
3128         * rowpainter.C:
3129         * text.C:
3130         * text2.C: general cleanup (lots of small stuff)
3131
3132 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3133
3134         * text2.C (cursorEnd): simple fix to the "end key goes to one
3135         before the end on last row" bug
3136
3137 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3138
3139         * text.C (backspace): fix the "zombie characters"
3140
3141 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3142
3143         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3144
3145 2003-10-27  André Pönitz  <poenitz@gmx.net>
3146
3147         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3148
3149         * factory.C: handle new InsetPagebreak, InsetLine
3150
3151         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3152         and move handling into new InsetPagebreak, InsetLine
3153
3154         * BufferView_pimpl.C:
3155         * LyXAction.C:
3156         * ParagraphParameters.C:
3157         * ParameterStruct.h:
3158         * lyxfunc.C:
3159         * lyxtext.h:
3160         * paragraph.C:
3161         * paragraph.h:
3162         * paragraph_funcs.C:
3163         * paragraph_pimpl.C:
3164         * rowpainter.C:
3165         * text.C:
3166         * text2.C:
3167         * text3.C: adjust
3168
3169 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3170
3171         * text.C:
3172         * lyxrow_funcs.[Ch]:
3173         * Bidi.C:
3174         * paragraph.C:
3175         * lyxtext.h:
3176         * rowpainter.C:
3177         * text2.C:
3178         * text3.C: remove lastPos uses in favour of Row::endpos
3179
3180 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3181
3182         * undo.C (performUndoOrRedo): fix two crashes by setting a
3183         cursor by hand and reordering some calls. Use bv->lockInset instead
3184         of inset->edit because the latter loses cursor information
3185
3186 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3187
3188         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3189         by Martin
3190         (rowBreakPoint): fix width. change point to point + 1.
3191         Add a missing check.
3192
3193 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3194
3195         * MenuBackend.C:
3196         * lyxfunc.C: fix (at least partly) the problems
3197         with the Nav menu and headers inside branch insets
3198         reported by Kayvan
3199
3200 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3201
3202         * paragraph.C (getChar): add strong asserts
3203
3204         * lyxrow_funcs.C (lastPos): remove hideous hack
3205
3206         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3207         (fill): adjust to that (avoid an infinite loop)
3208
3209 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3210
3211         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3212
3213 2003-10-23  André Pönitz  <poenitz@gmx.net>
3214
3215         * RowList_fwd.h: change list<> to vector<> to gain speed
3216         after suggestion from Alfredo
3217
3218 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3219
3220         * lyxtext.h: move the bidi stuff from here...
3221         * text.C: and here
3222         * text2.C: and here
3223         * Bidi.[Ch]: ... to here
3224
3225 2003-10-23  André Pönitz  <poenitz@gmx.net>
3226
3227         * lyxtext.h:
3228         * text.C (isLastRow, isFirstRow): new functions
3229
3230         * paragraph.h: new width cache member
3231
3232         * rowpainter.C: replace RowList::iterator with Row & where possible
3233
3234         * lyxfunc.C: replace several view()->text with a single call
3235
3236         * toc.C: fix 'unused' warning
3237
3238 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3241         when woring with stream::pos_type
3242         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3243
3244 2003-10-22  André Pönitz  <poenitz@gmx.net>
3245
3246         * lyxtext.h:
3247         * text.C: use Row & instead of RowList::iterator
3248
3249         * lyxrow.h: rename end() to endpos()
3250
3251         * rowpainter.C:
3252         * text.C:
3253         * text2.C: adjust
3254
3255 2003-10-22  Angus Leeming  <leeming@lyx.org>
3256
3257         * buffer.[Ch] (fully_loaded): new member function, returning true
3258         only when the file has been loaded fully.
3259         Used to prevent the premature generation of previews and by the
3260         citation inset to prevent computation of the natbib-style label.
3261
3262         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3263         templates are all set up.
3264
3265         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3266
3267 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3268
3269         * text.C: fixed an "oops" in the "is a bit silly"
3270         bug fix
3271
3272 2003-10-21  André Pönitz  <poenitz@gmx.net>
3273
3274         * FuncStatus.[Ch]: small stuff, whitespace
3275
3276         * lyxfont.[Ch]: operator<<() for debug reasons
3277
3278         * lyxfunc.C:
3279         * lyxrow_funcs.C:
3280         * lyxtext.h: whitespace, spelling
3281
3282         * paragraph.C: naming of variables
3283
3284         * text.C:
3285         * text2.C: small stuff
3286
3287
3288 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3289
3290         * text.C: (1) finish off the inset display() work;
3291         (2) fix the "is a bit silly" bug (accessing char
3292         past end of par).
3293
3294 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3295
3296         * text.C: re-introduce display() for insets, fixing the
3297         various bugs (stretch of line above, math inset
3298         positioning, ...)
3299
3300 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3301
3302         * text.C (rightMargin): remove spurious semicolon
3303
3304         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3305         1415)
3306
3307 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3308
3309         * text3.C: fix one crash due to wrong cursor def
3310
3311 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3312
3313         * vc-backend.C (scanMaster): make the regex static
3314
3315         * LaTeX.C (scanAuxFile): make the regexs static
3316
3317         * text3.C (doInsertInset, dispatch, dispatch):
3318         * text2.C (cursorUp, cursorDown):
3319         * text.C (selectNextWordToSpellcheck):
3320         * BufferView_pimpl.C (dispatch):
3321         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3322
3323 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3324
3325         * lyxsocket.C: include <cerrno>
3326
3327 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * lyxfunc.C (dispatch): remove textcache stuff
3330
3331         * bufferlist.C (release): remove textcache stuff
3332         (closeAll): ditto
3333
3334         * TextCache.C: delete file
3335         * TextCache.h: delete file
3336
3337         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3338
3339         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3340         delete of the bv_->text.
3341         (resizeCurrentBuffer): remove texcache stuff
3342         (workAreaResize): ditto
3343
3344 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3345
3346         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3347         action.
3348
3349 2003-10-16  André Pönitz  <poenitz@gmx.net>
3350
3351         * lyxrow.[Ch]:
3352         * paragraph.h:
3353         * rowpainter.C:
3354         * text.C:
3355         * text2.C:
3356         * text3.C: speed up by storing y positions per paragraph plus per-row
3357         offset instead of having a 'full' y position in the row.
3358
3359 2003-10-15  André Pönitz  <poenitz@gmx.net>
3360
3361         * iterators.[Ch]:
3362         * iterators.[Ch]:
3363         * undo.[Ch]: make undo aware of inner insets
3364
3365 2003-10-14  Angus Leeming  <leeming@lyx.org>
3366
3367         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3368         static member functions LyX::ref() and LyX::cref.
3369         (lastfiles): new accessor functions for the new lastfiles_ member var.
3370         (addLyXView, views_): add a new LyXView to the list of views_.
3371         (updateInset): loop over all LyXViews to call their own updateInset
3372         member function, returning a pointer to the Buffer owning the inset.
3373
3374         * BufferView_pimpl.C (loadLyXFile):
3375         * MenuBackend.C (expandLastfiles):
3376         * bufferlist.C (MenuWrite, QuitLyX):
3377         lastfiles is no longer a global variable.
3378         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3379
3380         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3381         static function. Access through LyX::cref().emergencyCleanup().
3382
3383 2003-10-14  André Pönitz  <poenitz@gmx.net>
3384
3385         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3386
3387         * undo.[Ch]: restoring part of 'undo in insets'
3388
3389         * Makefile.am:
3390         * undo_funcs.[Ch]: merge with undo.[Ch]
3391
3392         * tabular.C: small cleansing stuff
3393
3394 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * paragraph_funcs.C (readParToken): report unknown insets as error
3397         boxes. Use the outer paragraph as location (also for unknown
3398         tokens).
3399
3400         * factory.C (readInset): do not abort on reading an unknown inset.
3401         Eat it and return 0.
3402
3403 2003-10-13  Angus Leeming  <leeming@lyx.org>
3404
3405         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3406
3407         * lyxrc.C: displayTranslator is now a function,
3408         declared in GraphicsTypes.h.
3409
3410 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3411
3412         * format.C: new placeholder $$a to pass the socket address.
3413
3414         * bufferlist.[Ch]: new function getBufferFromTmp.
3415
3416         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3417           files in the temporary dir.
3418
3419 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3420
3421         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3422
3423         * Makefile.am: add lyxsocket.[Ch].
3424
3425         * lyx_main.C (error_handler): handle SIGPIPE.
3426
3427 2003-10-13  André Pönitz  <poenitz@gmx.net>
3428
3429         * BufferView_pimpl.C:
3430         * lyxtext.h:
3431         * text.C:
3432         * text2.C:
3433         * text3.C:
3434         * undo_funcs.[Ch]: use paroffset_type instead of
3435           ParagraphList::iterators to prevent multiple conversion
3436           (and get a more robust interface)
3437
3438 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3441         * lyxtext.h: ditto
3442         * text3.C (dispatch): ditto
3443
3444 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3447         move the onlyfile, use onlyfile instead of foundfile in a couple
3448         of places.
3449
3450         * DepTable.C (update): flush the error stream a bit more
3451
3452 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3453
3454         * lyxserver.C (callback): adjust
3455
3456         * lyxfunc.C (getStatus): add a missing brace in commented code
3457         (ensureBufferClean): reindent
3458         (dispatch): delete version taking a string
3459
3460 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3461
3462         * LaTeX.C (deplog): move found file handlig from here...
3463         (handleFoundFile): .. to new function here.
3464         (deplog): make sure to discover several files mentioned on the
3465         same log line.
3466
3467 2003-10-10  André Pönitz  <poenitz@gmx.net>
3468
3469         * lyxfunc.C:
3470         * lyxtext.h:
3471         * tabular.C:
3472         * text.C:
3473         * text2.C:
3474         * text3.C: fix some of the tabular crashes
3475
3476 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3477
3478         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3479
3480         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3481
3482 2003-10-09  André Pönitz  <poenitz@gmx.net>
3483
3484         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3485
3486         * BufferView.C:
3487         * BufferView_pimpl.C:
3488         * bufferview_funcs.C:
3489         * lyx_cb.C:
3490         * lyxcursor.C:
3491         * lyxfind.C:
3492         * lyxfunc.C:
3493         * lyxtext.h:
3494         * text.C:
3495         * text2.C:
3496         * text3.C:
3497         * text_funcs.[Ch]:
3498         * textcursor.[Ch]:
3499         * undo_funcs.C: adjust
3500
3501 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3502
3503         * text2.C (incrementItemDepth): new function, use a backtracking
3504         algorithm to discover the correct item depth.
3505         (resetEnumCounterIfNeeded): new function, use a backtracking
3506         algorithm to discover if counter reset is needed.
3507         (setCounter): use them. Simplify a bit. Add different labels for
3508         different item depths for itemize.
3509
3510         * paragraph.C (Paragraph): remove initialization of enumdepth
3511         (operator=): ditto
3512
3513         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3514         enumerate and itemize. Change the type of itemdepth to signed char.
3515
3516 2003-10-08  André Pönitz  <poenitz@gmx.net>
3517
3518         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3519           thing assignable.
3520         * text.C:
3521         * text2.C: adjust
3522
3523         * tabular.[Ch]: fix crash after 'row-insert'
3524
3525 2003-10-08  Angus Leeming  <leeming@lyx.org>
3526
3527         Fix doxygen warnings.
3528
3529         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3530         Remove CutAndPaste:: prefix from header file declaration.
3531
3532         * LColor.h (fill): remove LColor:: prefix from declaration.
3533
3534         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3535         use lyx::depth_type rather than Paragraph::depth_type so that
3536         header file and .C file match.
3537
3538         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3539
3540         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3541         * aspell.C: \file aspell_local.C -> \file aspell.C
3542         * gettext.C: \file gettext.C -> \file src/gettext.C
3543         * gettext.h: \file gettext.h -> \file src/gettext.h
3544         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3545         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3546         * text.C: \file text.C -> \file src/text.C
3547
3548         * toc.C: move comment so that doxygen is not confused.
3549
3550 2003-10-07  Angus Leeming  <leeming@lyx.org>
3551
3552         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3553
3554 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3555
3556         * aspell.C:
3557         * aspell_local.h: add forgotten std::string's.
3558
3559 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3560
3561         * LaTeXFeatures.C:
3562         * LyXAction.C:
3563         * factory.C:
3564         * lfuns.h:
3565         * lyxfunc.C:
3566         * text3.C: The Box patch. Fancybox support, minipage, parbox
3567
3568 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3569
3570         * CutAndPaste.h:
3571         * DepTable.h:
3572         * FloatList.h:
3573         * LaTeXFeatures.h:
3574         * ParagraphParameters.h:
3575         * TextCache.h:
3576         * Thesaurus.h:
3577         * bufferlist.h:
3578         * exporter.h:
3579         * importer.h:
3580         * lastfiles.h:
3581         * lyxfind.h:
3582         * lyxfont.h:
3583         * lyxlex.h:
3584         * lyxtextclasslist.h:
3585         * messages.h:
3586         * paragraph.h:
3587         * paragraph_pimpl.C:
3588         * textcursor.h: add <string> and other small fixes to make Lars'
3589         std::string patch compile with STLport.
3590
3591 2003-10-06  Angus Leeming  <leeming@lyx.org>
3592
3593         * LColor.h: Add missing #include <string>.
3594
3595 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3596
3597         * All most all file in all subdirs: Make <string> be the prefered
3598         way of getting to std::string, add using declarations.
3599
3600 2003-10-06  André Pönitz  <poenitz@gmx.net>
3601
3602         * metricsinfo.C: initialize LyXFont before changing attribute.
3603         (fixes the 'math in \emph is upright' bug)
3604
3605 2003-10-06  André Pönitz  <poenitz@gmx.net>
3606
3607         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3608
3609 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3610
3611         * graph.C:
3612         * paragraph_pimpl.C: Small fixes to build using STLport
3613
3614 2003-10-02  André Pönitz  <poenitz@gmx.net>
3615
3616         * lyxfunc.C:
3617         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3618
3619 2003-10-01  André Pönitz  <poenitz@gmx.net>
3620
3621         * factory.C: assert early
3622
3623 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * lyx_main.C: remove the global debug object
3626
3627         * debug.h: adjust for new debugstream
3628
3629         * debug.C: adjust for new debugstream and keep the global debug
3630         object here.
3631
3632 2003-09-22  Angus Leeming  <leeming@lyx.org>
3633
3634         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3635         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3636         an incomplete class LyXFont.
3637
3638 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3639
3640         * factory.C: bug fix in branches
3641
3642 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3643
3644         * lyxfunc.C (processKeySym): adjust
3645         (dispatch): adjust
3646         (dispatch): change arg name from ev to func, adjust
3647         (sendDispatchMessage): ditto
3648
3649         * lyx_main.C (defaultKeyBindings): adjust keybindings
3650         (deadKeyBindings): ditto
3651
3652         * kbsequence.C (addkey): return a FuncRequest
3653
3654         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3655
3656         * kbmap.C (bind): take a FuncRequest as arg, adjust
3657         (read): adjust
3658         (lookup): adjust
3659         (defkey): change to take a FuncRequest as arg, adjust
3660         (findbinding): take a FuncRequest as arg, adjust.
3661
3662         * funcrequest.h (operator=): added
3663
3664         * funcrequest.C (FuncRequest): default kb_action changed from
3665         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3666
3667         * buffer.C (dispatch): simplify
3668         (dispatch): adjust to take a FuncRequest as arg, adjust
3669
3670         * boost.C (assertion_failed): change assertion message slightly
3671
3672         * ToolbarBackend.C (read): simplify
3673
3674         * MenuBackend.C (binding): adjust call to findbinding, add a
3675         message if no binding is found.
3676         (read): simplify
3677         (expandToc): correct by adding a empty FuncRequest
3678
3679         * LyXAction.C: include <boost/assert.hpp>
3680         (isPseudoAction): delete function
3681         (LookupFunc): change name to...
3682         (lookupFunc): this. change return type to FuncRequest.
3683         (getActionName): take kb_action as arg, simplify
3684         (funcHasFlag): add an assert, simplify.
3685
3686 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * toc.C (action): return a FuncRequest, simplify
3689
3690         * lyxfunc.C (processKeySym): adjust
3691         (getStatus): delete version that takes an int.
3692         (getStatus): adjust
3693         (dispatch): delete version that takes action as int
3694         (dispatch): adjust
3695         (sendDispatchMessage): simplify and adjust
3696
3697         * funcrequest.C (getArg): take unsigned int as arg
3698
3699         * ToolbarBackend.C (read): adjust
3700         (add): delete version that takes func as a string.
3701         (getIton): take a FuncRequest as arg
3702
3703         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3704         action.
3705
3706         * MenuBackend.C (MenuItem): add a new construct that only takes a
3707         Kind, simplify the constructor use for submenus.
3708         (add): adjust
3709         (expandLastfiles): adjust
3710         (expandDocuments): adjust
3711         (expandFormats): adjust
3712         (expandFloatListInsert): adjust
3713         (expandFloatInsert): adjust
3714         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3715
3716         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3717         Remove class variables lyx_pseudo_map and lyx_arg_map
3718
3719         * LyXAction.C (searchActionArg): delete function
3720         (getPseudoAction): delete function
3721         (retrieveActionArg): delete function
3722         (LookupFunc): make it return kb_action, simplify.
3723         (getActionName): simplify
3724
3725         * factory.C (createInset): fix new bug
3726
3727 2003-09-19  Angus Leeming  <leeming@lyx.org>
3728
3729         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3730         masterFilename_ parameter in the include inset.
3731
3732         * factory.C (createInset): changes due to the changes to InsetInclude.
3733
3734 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3735
3736         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3737
3738 2003-09-18  Angus Leeming  <leeming@lyx.org>
3739
3740         * buffer.C:
3741         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3742         Inset::fillWithBibKeys.
3743         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3744
3745 2003-09-18  Angus Leeming  <leeming@lyx.org>
3746
3747         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3748         variables.
3749         (ctor): pass and store a 'Buffer const &'
3750         (buffer): new member function.
3751
3752         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3753         '*this' to the LaTeXFeatures ctor.
3754
3755 2003-09-18  Angus Leeming  <leeming@lyx.org>
3756
3757         * LColor.h:
3758         * lyxfont.C:
3759         * lyxfont.h:
3760         * lyxtext.h:
3761         * text.C: rename EnumLColor as LColor_color.
3762
3763 2003-09-18  Angus Leeming  <leeming@lyx.org>
3764
3765         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3766         remove #include "insets/insetbase.h" from cursor.h.
3767
3768 2003-09-18  Angus Leeming  <leeming@lyx.org>
3769
3770         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3771         InsetOld_code to remove #include "inset.h".
3772
3773         * iterators.C: add #include "insets/inset.h"
3774
3775 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3776
3777         * BufferView.C: remove more locking stuff that apparently doesn't
3778         do anything sensible.
3779
3780 2003-09-16  André Pönitz  <poenitz@gmx.net>
3781
3782         * paragraph.[Ch]:
3783         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3784           performance boost.
3785
3786 2003-09-16  Angus Leeming  <leeming@lyx.org>
3787
3788         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3789
3790         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3791         arg/return type.
3792
3793         * paragraph.h: remove #include "lyxfont.h". Forward declare
3794         LyXFont_size.
3795
3796 2003-09-16  Angus Leeming  <leeming@lyx.org>
3797
3798         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3799         of support/textutils.h.
3800         (isWord): move the contents of support/textutils.h's IsWordChar here.
3801
3802         * buffer.C:
3803         * lyxfind.C:
3804         * rowpainter.C:
3805         * text.C:
3806         * text2.C: add #include "paragraph.h".
3807
3808         * rowpainter.C:
3809         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3810
3811 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3812
3813         * main.C:
3814         * lyx_main.C:
3815         * lyx_cb.C:
3816         * buffer.C:
3817         * LaTeX.C: use namespace alias for lyx::support::os
3818
3819 2003-09-16  Angus Leeming  <leeming@lyx.org>
3820
3821         * bufferparams.C:
3822         * bufferview_funcs.C:
3823         * factory.C:
3824         * lyxfunc.C:
3825         * paragraph_pimpl.C:
3826         * rowpainter.C:
3827         * text.C: add #include "LColor.h".
3828
3829 2003-09-16  Angus Leeming  <leeming@lyx.org>
3830
3831         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3832         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3833         return LyXFont &.
3834         Store the FontBits::color variable as an int rather than as an
3835         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3836         file.
3837
3838         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3839         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3840         string calls together.
3841
3842         * lyxrc.C: add #include "LColor.h".
3843
3844 2003-09-15  Angus Leeming  <leeming@lyx.org>
3845
3846         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3847         a cow_ptr.
3848
3849 2003-09-15  Angus Leeming  <leeming@lyx.org>
3850
3851         * LColor.h: add an EnumLColor wrapper for LColor::color.
3852
3853         * lyxfont.[Ch] (color, setColor, realColor):
3854         * lyxtext.h, text.C (backgroundColor):
3855         pass EnumLColor args to/from the functions, rather than LColor::color
3856         ones.
3857
3858         * lyxfont.h:
3859         * lyxtext.h: forward declare EnumLColor.
3860
3861         * lyx_main.C: add #include "LColor.h".
3862
3863 2003-09-15  Angus Leeming  <leeming@lyx.org>
3864
3865         * .cvsignore: add lyx-gtk.
3866
3867 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3868
3869         * Chktex.C
3870         * LaTeX.C
3871         * LaTeXFeatures.C
3872         * ParagraphParameters.C
3873         * Spacing.C
3874         * buffer.C
3875         * bufferparams.C
3876         * bufferview_funcs.C
3877         * chset.C
3878         * counters.C
3879         * funcrequest.C
3880         * lyxfont.C
3881         * lyxgluelength.C
3882         * lyxlength.C
3883         * paragraph.C
3884         * paragraph_funcs.C
3885         * text3.C
3886         * vc-backend.C: remove usage of STRCONV
3887
3888 2003-09-15  Angus Leeming  <leeming@lyx.org>
3889
3890         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3891         explicitly define the color passed to the painter.
3892
3893 2003-09-15  Angus Leeming  <leeming@lyx.org>
3894
3895         * bufferparams.C (BufferParams): reorder member initializers to avoid
3896         compiler warning.
3897
3898 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3899
3900         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3901         * text.C (updateRowPositions): remove an unusual nop
3902
3903 2003-09-12  André Pönitz  <poenitz@gmx.net>
3904
3905         * BufferView_pimpl.C:
3906         * Bullet.C:
3907         * layout.h:
3908         * lyxfunc.C:
3909         * lyxlayout.[Ch]:
3910         * lyxtextclass.C:
3911         * rowpainter.C:
3912         * text.C:
3913         * text2.C:
3914         * Counters.[Ch]: finish the 'automatic counters' job
3915
3916 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3917
3918         * aspell.C: include <boost/assert.cpp> (compile fix)
3919
3920 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3921
3922         * boost.C (assertion_failed): use lyx::support::abort instead of
3923         assert.
3924
3925 2003-09-10  Angus Leeming  <leeming@lyx.org>
3926
3927         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3928         with their _fwd progeny.
3929
3930 2003-09-09  Angus Leeming  <leeming@lyx.org>
3931
3932         134 files throughtout the source tree: replace 'using namespace abc;'
3933         directives with the appropriate 'using abc::xyz;' declarations.
3934
3935 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3936
3937         * boost.C (emergencyCleanup): moved here from LAssert.c
3938         (assertion_failed): new function, called by BOOST_ASSERT
3939
3940         * several files: change Assert to BOOST_ASSERT
3941
3942 2003-09-09  Angus Leeming  <leeming@lyx.org>
3943
3944         * buffer.[Ch]: Add an Impl class and move Buffer's member
3945         variables into it. As a result move several header files out of
3946         buffer.h.
3947
3948         Add header files to lots of .C files all over the tree as a result.
3949
3950 2003-09-09  Angus Leeming  <leeming@lyx.org>
3951
3952         * buffer.[Ch]: make Buffer's member variables private. Add
3953         accessor functions.
3954
3955         Lots of changes all over the tree as a result.
3956
3957 2003-09-08  Angus Leeming  <leeming@lyx.org>
3958
3959         * graph.C: #include <config.h>.
3960
3961 2003-09-08  Angus Leeming  <leeming@lyx.org>
3962
3963         * BranchList.C:
3964         * BufferView.C:
3965         * BufferView_pimpl.C:
3966         * CutAndPaste.C:
3967         * DepTable.C:
3968         * LaTeX.C:
3969         * LaTeXFeatures.C:
3970         * LyXAction.C:
3971         * MenuBackend.C:
3972         * TextCache.C:
3973         * aspell.C:
3974         * buffer.C:
3975         * bufferlist.C:
3976         * changes.C:
3977         * chset.C:
3978         * converter.C:
3979         * counters.C:
3980         * debug.C:
3981         * graph.C:
3982         * ispell.C:
3983         * lyx_cb.C:
3984         * lyxfind.C:
3985         * lyxfunc.C:
3986         * lyxlex_pimpl.C:
3987         * lyxrc.C:
3988         * lyxrow.C:
3989         * paragraph.C:
3990         * rowpainter.C:
3991         * texrow.C:
3992         * text.C:
3993         * text2.C:
3994         * toc.C: remove redundant using directives.
3995
3996 2003-09-07  Angus Leeming  <leeming@lyx.org>
3997
3998         * LaTeXFeatures.h: remove #include "support/types.h".
3999         * ToolbarBackend.h: remove #include <algorithm>.
4000         * changes.h: remove #include <ctime>.
4001         * debug.h: remove #include <iosfwd>.
4002         * graph.h: remove #include "support/std_string.h".
4003         * lyx_main.h: remove #include <csignal>.
4004         * lyxlex_pimpl.h: remove #include <fstream>.
4005         * sgml.h: remove #include <algorithm>, <utility>.
4006         * toc.h: remove #include "support/std_ostream.h".
4007         Add #include <iosfwd>.
4008
4009 2003-09-07  Angus Leeming  <leeming@lyx.org>
4010
4011         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4012
4013         * converter.h: forward declare LatexRunParams.
4014         * encoding.h: remove #include "lyxrc.h".
4015         * lyxtext.h: remove #include "LColor.h".
4016         * lyxtextclass.h: remove #include "support/types.h".
4017         * trans.h: remove #include "tex-accent.h".
4018         * trans_mgr.h: remove #include "tex-accent.h".
4019         * insets/inset.h: remove #include "support/types.h", <vector>.
4020         * insets/insetcollapsable.h: remove #include "LColor.h".
4021         * insets/insetinclude.h: remove #include "dimension.h".
4022         * insets/insetlatexaccent.h: remove #include "dimension.h".
4023         * insets/insetoptarg.h:: remove #include "insettext.h".
4024         * insets/insettext.h: remove #include "dimension.h",
4025         <boost/shared_ptr.hpp>
4026
4027         * insets/renderers.h: add #include "dimension.h".
4028         * insets/updatableinset.h: add #include "support/types.h".
4029
4030         * many .C files: Associated changes.
4031
4032 2003-09-06  Angus Leeming  <leeming@lyx.org>
4033
4034         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4035         one, inside testInvariant.
4036
4037         * PrinterParams.C: new file.
4038         * PrinterParams.[Ch]: move the function bodies out of line.
4039
4040 2003-09-06  Angus Leeming  <leeming@lyx.org>
4041
4042         * ParagraphParameters.h: forward declare ParameterStruct rather than
4043         including its header file.
4044         (depth): moved out-of-line.
4045
4046 2003-09-06  Angus Leeming  <leeming@lyx.org>
4047
4048         * BufferView_pimpl.h:
4049         * kbmap.h:
4050         * kbsequence.h:
4051         * lyxfunc.h: forward declare LyXKeySym rather than
4052         #include "frontends/LyXKeySym.h".
4053
4054         * BufferView_pimpl.C:
4055         * kbmap.C:
4056         * kbsequence.C:
4057         * lyxfunc.C: associated changes.
4058
4059 2003-09-06  Angus Leeming  <leeming@lyx.org>
4060
4061         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4062         As a result, can remove the #include "insets/inset.h" from BufferView.h
4063
4064 2003-09-06  Angus Leeming  <leeming@lyx.org>
4065
4066         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4067         As a result, can remove the #include "insets/inset.h" from BufferView.h
4068
4069 2003-09-06  Angus Leeming  <leeming@lyx.org>
4070
4071         * buffer_funcs.C:
4072         * buffer.h:
4073         * bufferlist.C:
4074         * BufferView.C:
4075         * bufferview_funcs.C:
4076         * BufferView_pimpl.C:
4077         * CutAndPaste.C:
4078         * lyx_cb.C:
4079         * lyxfunc.C:
4080         * paragraph.h:
4081         * ParagraphParameters.C:
4082         * tabular.C:
4083         * text3.C:
4084         * toc.C:
4085         * undo_funcs.C:
4086         * frontends/controllers/ControlDocument.C:
4087         * insets/insetcaption.C: rearrange the #includes into some sort of
4088         coherent order.
4089
4090         * buffer.h: remove #includes ErrorList.h, undo.h
4091
4092 2003-09-06  Angus Leeming  <leeming@lyx.org>
4093
4094         * support/types.h: add a 'depth_type' typedef, used to store the
4095         nesting depth of a paragraph.
4096
4097         * paragraph.h:
4098         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4099         defining explicitly.
4100
4101         * buffer.h:
4102         * paragraph_funcs.h:
4103         * ParagraphParameters.h:
4104         * sgml.h: use lyx::depth_type rather than Paragraph or
4105         ParameterStruct's depth_type.
4106
4107         * buffer.h
4108         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4109
4110         * BufferView.C:
4111         * BufferView_pimpl.C:
4112         * CutAndPaste.C:
4113         * ParagraphParameters.C:
4114         * buffer_funcs.C:
4115         * bufferlist.C:
4116         * bufferview_funcs.C:
4117         * lyx_cb.C:
4118         * lyxfunc.C:
4119         * tabular.C:
4120         * text3.C:
4121         * toc.C:
4122         * undo_funcs.C:
4123         * frontends/LyXView.C:
4124         * frontends/controllers/ControlDocument.C:
4125         * frontends/controllers/ControlErrorList.C:
4126         * insets/insetbibitem.C:
4127         * insets/insetbranch.C:
4128         * insets/insetcaption.C:
4129         * insets/insetcollapsable.C:
4130         * insets/insetenv.C:
4131         * insets/insetert.C:
4132         * insets/insetfloat.C:
4133         * insets/insetfoot.C:
4134         * insets/insetfootlike.C:
4135         * insets/insetnewline.C:
4136         * insets/insetquotes.C:
4137         * insets/insettabular.C:
4138         * insets/insettext.C:
4139         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4140
4141         * frontends/controllers/ControlChanges.C: #include "changes.h".
4142
4143 2003-09-06  Angus Leeming  <leeming@lyx.org>
4144
4145         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4146         than #including paragraph.h.
4147
4148         * ParagraphList.h:
4149         * RowList.h: deleted. Superfluous.
4150
4151         * CutAndPaste.h:
4152         * iterators.h:
4153         * lyxcursor.h:
4154         * lyxtext.h:
4155         * text_funcs.h:
4156         * undo.h:
4157         * undo_funcs.h:
4158         * insets/inset.h:
4159         * insets/insettext.h: use ParagraphList_fwd.h rather than
4160         ParagraphList.h.
4161
4162         * paragraph.h: don't forward declare ParagraphList.
4163
4164         * buffer.h:
4165         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4166         rather than ParagraphList.h. paragraph.h is still needed for the
4167         Paragraph::depth_type parameters.
4168
4169         * textcursor.h: enable it to compile stand-alone in light of the
4170         above changes.
4171
4172         * bufferview_funcs.C:
4173         * iterators.C:
4174         * lyxfunc.C:
4175         * lyxrow_funcs.C:
4176         * paragraph.C:
4177         * rowpainter.C:
4178         * text.C:
4179         * text2.C:
4180         * text3.C:
4181         * text_funcs.C:
4182         * textcursor.C:
4183         * undo.C:
4184         * frontends/controllers/ControlParagraph.C:
4185         * frontends/controllers/ControlTabular.C:
4186         * insets/insetmarginal.C:
4187         * insets/insetminipage.C:
4188         * insets/insetnote.C:
4189         * insets/insetoptarg.C: add header files needed to compile again.
4190
4191 2003-09-06  Angus Leeming  <leeming@lyx.org>
4192
4193         * RowList_fwd.h: new file, forward-declaring Row rather than
4194         #including lyxrow.h.
4195
4196         * lyxrow_funcs.h:
4197         * lyxtext.h:
4198         * paragraph.h:
4199         * insets/insettext.h: use it instead of RowList.h
4200
4201         * bufferview_funcs.C:
4202         * lyxfunc.C:
4203         * lyxrow_funcs.C:
4204         * paragraph.C:
4205         * rowpainter.C:
4206         * text.C:
4207         * text2.C:
4208         * text3.C: #include "RowList.h".
4209
4210 2003-09-05  Angus Leeming  <leeming@lyx.org>
4211
4212         * factory.C (createInset):
4213         * vspace.C (c-tor): replace sscanf call with an istringstream.
4214         * ispell.C: re-add missing HP/UX headers.
4215         * lyxserver.C: re-add missing  os2 headers.
4216
4217 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4218
4219         * BranchList.C:
4220         * graph.C:
4221         * ispell.C:
4222         * lastfiles.C:
4223         * lyx_cb.C:
4224         * lyxserver.C:
4225         * texrow.C:
4226         * text3.C: re-add missing system headers, needed for 2.95.2.
4227
4228 2003-09-05  Angus Leeming  <leeming@lyx.org>
4229
4230         Changes most place everywhere due to the removal of using directives
4231         from support/std_sstream.h.
4232
4233 2003-09-05  Angus Leeming  <leeming@lyx.org>
4234
4235         Replace LString.h with support/std_string.h,
4236         Lsstream.h with support/std_sstream.h,
4237         support/LIstream.h with support/std_istream.h,
4238         support/LOstream.h with support/std_ostream.h.
4239
4240         Changes resulting throughout the tree.
4241
4242 2003-09-05  Angus Leeming  <leeming@lyx.org>
4243
4244         * sgml.h: ensure that the header file can be compiled stand-alone.
4245         * *.C: strip out redundant #includes. (320 in total.)
4246
4247 2003-09-04  Angus Leeming  <leeming@lyx.org>
4248
4249         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4250         here (from getPackages).
4251
4252         * debug.[Ch]: add a new EXTERNAL tag.
4253
4254 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4255
4256         * text2.C (cursorEnd): simplify
4257         (setCursor): adjust
4258         (getColumnNearX): adjust
4259
4260         * text.C (computeBidiTables): adjust
4261         (fill): adjust
4262
4263         * rowpainter.C (paintChars): adjust
4264         (paintSelection): adjust
4265         (paintChangeBar): adjust
4266         (paintText): adjust
4267
4268         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4269         lastPos instead.
4270         (numberOfSeparators): adjust
4271
4272 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * LyXAction.C:
4275         * box.[Ch]:
4276         * lfuns.h:
4277         * lyxfunc.C:
4278         * text3.C: Restricts the mouse click functionality
4279         of insets like bibtex, include, toc and floatlist to the visible
4280         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4281         up the dialogs. Cursor has to be in front of the inset (i.e.
4282         start of row) for this to function.
4283
4284 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4285
4286         * bufferview_funcs.C (currentState): output row information
4287
4288 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4289
4290         * bufferview_funcs.C (currentState): output paragraph position
4291
4292 2003-09-04  Angus Leeming  <leeming@lyx.org>
4293
4294         * FloatList.h: move out #include "Floating.h".
4295         * LaTeX.h: move out #include "DepTable.h".
4296         * LyXAction.h: move out #include "funcrequest.h".
4297         * buffer.h: move out #include "author.h", "iterators.h".
4298         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4299         * lyx_main.h: move out #include "errorlist.h".
4300         * lyxfunc.h: move out #include "FuncStatus.h".
4301         * lyxtext: move out #include "lyxcursor.h".
4302         * paragraph_pimpl.h: move out #include "counters.h".
4303
4304 2003-09-03  Angus Leeming  <leeming@lyx.org>
4305
4306         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4307         preamble_snippets list, enabling us to add snippets to the preamble
4308         only if the snippet was not there already.
4309
4310 2003-09-04  Angus Leeming  <leeming@lyx.org>
4311
4312         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4313
4314 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4317         update
4318
4319 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4320
4321         * BranchList.C: point fix, earlier forgotten
4322
4323 2003-09-02  Angus Leeming  <leeming@lyx.org>
4324
4325         * box.C (contains): renamed from 'contained' after a fantastic
4326         amount of hot air.
4327
4328 2003-09-02  John Levon  <levon@movementarian.org>
4329
4330         * BufferView.C:
4331         * lyxcursor.h:
4332         * lyxcursor.C:
4333         * lyxfunc.C:
4334         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4335
4336 2003-09-02  John Levon  <levon@movementarian.org>
4337
4338         * text2.C: simplification of cursorEnd(), including partial
4339         fix for bug 1376
4340
4341 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * buffer.C (readFile): add a space
4344
4345 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4346
4347         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4348
4349 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * buffer.C (readFile): new function, take a filename and a
4352         ParagraphList::iterator
4353         (readFile): adjust
4354         (readFile): adjust, make it private. don't use setStream, make
4355         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4356         always contain the filename.
4357
4358         * BufferView.C (insertLyXFile): simplify and make it work for
4359         gzipped files.
4360
4361 2003-08-30  John Levon  <levon@movementarian.org>
4362
4363         * Makefile.am: fix dist (from Kayvan)
4364
4365 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4366
4367         * most files: change to use const Buffer refs
4368
4369 2003-08-27  André Pönitz  <poenitz@gmx.net>
4370
4371         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4372         on top of ownerPar().
4373
4374 2003-08-27  John Levon  <levon@movementarian.org>
4375
4376         * funcrequest.C: properly initialise POD members
4377
4378 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4379
4380         * lyxtext.h (top_y): move top_y from here
4381         * text.C:
4382         * text2.C:
4383         * text3.C:
4384         * BufferView.[Ch]:
4385         * BufferView_pimpl.[Ch]: to here
4386         * frontends/screen.C:
4387         * insets/insettabular.C:
4388         * insets/insettext.C: adjust
4389         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4390
4391 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4392
4393         * BufferView.[Ch]:
4394         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4395
4396 2003-08-26  André Pönitz  <poenitz@gmx.net>
4397
4398         * paragraph_func.[Ch] (outerPar): new function
4399
4400         * paragraph.C:
4401         * paragraph_funcs.C:
4402         * paragraph_funcs.h:
4403         * paragraph_pimpl.C:
4404         * text2.C: remove Inset::par_owner
4405
4406 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4407
4408         * lyxrow_funcs.C:
4409         * lyxtext.h:
4410         * text.C:
4411         * text2.C: eliminates the needFullRow/display() stuff
4412         altogether, putting the logic in metrics/draw in the insets.
4413
4414 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * text2.C (redoParagraphInternal, redoParagraphs):
4417         * text.C (redoParagraph): add a call to updateRowPositions at the
4418         end of each 'metrics-like' call. Remove all others.
4419         (getRow): remove the 'y-computing' version.
4420         (getRowNearY): do not compute nor return the real y. Solve the
4421         'y < 0' problem and simplify.
4422
4423 2003-08-22  Angus Leeming  <leeming@lyx.org>
4424
4425         * *.[Ch]: clean-up of licence and author blurbs.
4426         Also move config.h out of a few .h files and into a few .C files.
4427
4428 2003-08-22  André Pönitz  <poenitz@gmx.net>
4429
4430         * lyxrow.[Ch]: add x_ and *fill_ members
4431
4432         * lyxtext.h:
4433         * text.C:
4434         * rowpainter.C:
4435         * text2.C: adjust/remove prepareToPrint() calls
4436
4437 2003-08-22  André Pönitz  <poenitz@gmx.net>
4438
4439         * lyxrow.[Ch]: add  end_ member
4440
4441         * lyxrow_funcs.C: use LyXRow::end_
4442
4443         * lyxtext.h (singleWidth): add LyXFont parameter
4444
4445         * rowpainter.C:
4446         * text2.C: adjust LyXText::singleWidth() calls
4447
4448         * text.C (redoParagraph): simplify row breaking logic
4449
4450
4451 2003-08-19  André Pönitz  <poenitz@gmx.net>
4452
4453         * funcrequest.C: initialize button_ member
4454
4455         * text3.C:
4456         * rowpainter.[Ch]: interface consolidation
4457
4458 2003-08-18  André Pönitz  <poenitz@gmx.net>
4459
4460         * BufferView.C:
4461         * BufferView_pimpl.C:
4462         * lyxfind.C:
4463         * paragraph_funcs.C:
4464         * rowpainter.C:
4465         * text3.C: remove LyXScreen::draw() and fitCursor calls
4466
4467         * BranchList.h: remove spurious semicolons
4468
4469         * MenuBackend.C: fix branchlist related crash
4470
4471 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4472
4473         * BranchList.[Ch]:
4474         * InsetList.[Ch]:
4475         * LColor.[Ch]:
4476         * LyXAction.C:
4477         * Makefile.am:
4478         * MenuBackend.[Ch]:
4479         * bufferparams.[Ch]:
4480         * factory.C:
4481         * lfuns.h:
4482         * lyxfunc.C:
4483         * text3.C: implements the 'branch inset'
4484         idea. This allows the output of various versions of a document
4485         from a single source version, selectively outputing or suppressing
4486         output of parts of the text.
4487         This implementation contains a 'branch list editor' in a separate
4488         tab of the document settings dialog. Branches are user definable
4489         and have a "display colour" to distinguish them on-screen.
4490
4491         ColorHandler was somewhat cleaned up.
4492         (1) make possible a dynamically growing LColor list by allowing
4493         the graphic context cache to grow along (vector);
4494         (2) eliminate an IMHO unnecessary step in colour allocation.
4495
4496 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4497
4498         * BufferView_pimpl.C: compile fix
4499
4500 2003-08-15  André Pönitz  <poenitz@gmx.net>
4501
4502         * rowpainter.C: remove extra metrics calls
4503
4504         * lyxtext.h: merge the two constructors into a single one,
4505           pass reference to owner's par list
4506
4507         * BufferView_pimpl.C:
4508         * text.C:
4509         * text2.C: adjust
4510
4511 2003-08-15  André Pönitz  <poenitz@gmx.net>
4512
4513         * lyxrow_funcs.[Ch]:
4514         * lyxtext.h:
4515         * paragraph.h:
4516         * paragraph_funcs.C:
4517         * rowpainter.C:
4518         * text.C:
4519         * text2.C:
4520         * text3.C:
4521         * text_funcs.C: split LyXText::rowlist_ into individual
4522         Paragraph::rows_ chunks
4523
4524         * BufferView.[Ch]:
4525         * BufferView_pimpl.[Ch]:
4526         * lyxfind.C:
4527         * lyxtext.h:
4528         * text3.C: remove toggleSelection()
4529
4530 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4531
4532         * bufferlist.C: beautify two alerts (shorter text of buttons)
4533         * buffer.C: Remove redundant ' ' from message
4534         * tabular.h:
4535         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4536         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4537         rename VALIGN_CENTER to VALIGN_MIDDLE
4538
4539 2003-08-11  André Pönitz  <poenitz@gmx.net>
4540
4541         * lyxtext.h (getPar):
4542         * text.C: new function
4543
4544 2003-08-11  André Pönitz  <poenitz@gmx.net>
4545
4546         * Makefile.am:
4547         * tracer.[Ch]: remove unneeded files
4548
4549         * InsetList.[Ch]: remove resizeInsetsLyXText()
4550
4551         * lyxtext.h:
4552         * text.C:
4553         * text2.C:
4554         * text3.C: merge insertParagraphs() and appendParagraph()
4555         remove breakAgain(), update()
4556
4557         * BufferView_pimpl.[Ch]:
4558         * bufferview_funcs.[Ch]:
4559         * lyxfunc.C:
4560         * paragraph.[Ch]:
4561         * rowpainter.C:
4562         * tabular.C: adjust after text & InsetList changes.
4563
4564 2003-08-08  André Pönitz  <poenitz@gmx.net>
4565
4566         * text.C (insertChar, backspace): replace rowlist fiddling
4567         with rebreak of full par
4568
4569         * lyxtext.h:
4570         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4571         checkParagraph, updateInset): removed
4572
4573 2003-08-07  André Pönitz  <poenitz@gmx.net>
4574
4575         * paragraph.C:
4576         * text3.C: merge some LFUN handlers, remove dead code
4577
4578 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4579
4580         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4581
4582 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * text2.C (DEPM): fix part of bug 1255 and 1256
4585
4586 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4587
4588         * BufferView_pimpl.C (workAreaDispatch): change to use
4589         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4590         that are no mouse related.
4591
4592 2003-08-05  André Pönitz  <poenitz@gmx.net>
4593
4594         * BufferView.[Ch]:
4595         * BufferView_pimpl.[Ch]:
4596         * bufferview_funcs.C:
4597         * text2.C:
4598         * text3.C: rip out "deep update"
4599
4600         * textcursor.[Ch] (last_sel_cursor): remove unused member
4601
4602 2003-08-04  André Pönitz  <poenitz@gmx.net>
4603
4604         * BufferView.[Ch]:
4605         * BufferView_pimpl.[Ch]:
4606         * ParagraphParameters.C:
4607         * bufferview_funcs.C:
4608         * lyx_cb.C:
4609         * lyxfind.C:
4610         * lyxfunc.C:
4611         * text.C:
4612         * text2.C:
4613         * text3.C: replace "complicated" BufferView::update(...) calls with
4614         simpler ones.
4615
4616         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4617
4618 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4619
4620         * Makefile.am (lyx_SOURCES): add paper.h
4621
4622 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4623
4624         * Makefile.am: move things around so that both lyx-qt and
4625         lyx-xforms can be built (according to --with-frontend). Then lyx
4626         is a symbolic link to lyx-[firstfrontend]
4627
4628 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4629
4630         * Always use std::endl with lyxerr
4631
4632 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4633
4634         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4635
4636 2003-08-01  André Pönitz  <poenitz@gmx.net>
4637
4638         * BufferView.[Ch]:
4639         * BufferView_pimpl.[Ch]:
4640         * lyxfunc.C:
4641         * text3.C: merge BufferView::repaint() and BufferView::update()
4642
4643 2003-08-01  José Matos  <jamatos@lyx.org>
4644
4645         * buffer.[Ch]: file_format is no longer a buffer data element.
4646
4647 2003-08-01  André Pönitz  <poenitz@gmx.net>
4648
4649         * BufferView.C:
4650         * lyxtext.h:
4651         * text.C:
4652         * text2.C: make redoParagraph more independent of current cursor
4653
4654         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4655         * text.C:
4656         * text2.C: remove unneeded members
4657
4658 2003-07-30  André Pönitz  <poenitz@gmx.net>
4659
4660         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4661
4662         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4663           create a single function...
4664
4665         * paragraph_funcs.C (moveItem): ... here.
4666
4667         * text.C:
4668           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4669
4670 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4671
4672         * LColor.[Ch]: Add comment and greyedout logical colors.
4673
4674 2003-07-30  André Pönitz  <poenitz@gmx.net>
4675
4676         * tabular.C: don't use Assert too heavily. This crashes where it
4677           shouldn't
4678
4679 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4680
4681         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4682         is disabled (bug 1232)
4683
4684 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4685
4686         * factory.C: limited 'arg' scope
4687
4688 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4689
4690         * factory.C: fixed Note submenu issues
4691
4692 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4693
4694         * factory.C: submenu for Note/Comment/Greyedout
4695
4696 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4697
4698         * lyx_main.C (LyX):
4699         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4700
4701 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4702
4703         * LaTeXFeatures.C:
4704         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4705         greyedout. Patch provided by Jürgen Spitzmüller.
4706
4707 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4708
4709         * kbmap.C (read): fix error message when reading bind files
4710
4711 2003-07-29  Angus Leeming  <leeming@lyx.org>
4712
4713         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4714         certainly does not do what it purports to do. I am doing it, and
4715         us, a favour by killing it.
4716
4717 2003-07-28  José Matos  <jamatos@lyx.org>
4718
4719         * buffer.C (readBody, do_writeFile):
4720         * paragraph.C(readParagraph): \end_document replaces \the_end.
4721
4722 2003-07-29  André Pönitz  <poenitz@gmx.net>
4723
4724         * BufferView.[Ch]:
4725         * BufferView_pimpl.[Ch]:
4726         * lyxfunc.C:
4727         * text2.C:
4728         * text3.C:
4729         * textcursor.[Ch]: remove toggleToggle & Co
4730
4731 2003-07-28  José Matos  <jamatos@fep.up.pt>
4732
4733         * buffer.C (readParagraph):
4734         * params_func (readParToken, readParagraph):
4735         * paragraph.C (write): \layout -> \begin_layout.
4736
4737 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * lyxlex_pimpl.C (setFile): clean up slightly.
4740
4741         * bufferparams.h: add compressed var
4742
4743         * buffer_funcs.C (readFile): adjust for LyXLex change
4744         (newFile): ditto + simplify
4745
4746         * buffer.C (writeFile): handle writing of compressed files
4747
4748         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4749         Check if the file is compressed and set a bufferparm if so.
4750
4751         * Makefile.am (lyx_LDADD): remove explicit -lz
4752
4753 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4754
4755         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4756         makeDocBookFile): put the real LyX version in the first line of
4757         the file
4758
4759         * version.h:
4760         * version.C.in: remove lyx_docversion
4761
4762         * tabular.C (write_attribute): add a template-based version to
4763         write enums properly
4764
4765 2003-07-28  André Pönitz  <poenitz@gmx.net>
4766
4767         * lyxtext.h:
4768         * text.C:
4769         * text2.C:
4770         * text3.C: use doubles again for x-coordinates. They are needed.
4771
4772 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * messages.C (getLocaleDir): use lyx_localedir()
4775
4776         * lyxlex_pimpl.C (setFile): compress stuff
4777
4778         * buffer.C (writeFile): add some compression stuff
4779         (do_writeFile): new func, dont call expliti close... will this
4780         breake anything?
4781
4782         * Makefile.am (lyx_LDADD): add -lz
4783
4784 2003-07-28  José Matos  <jamatos@fep.up.pt>
4785
4786         * buffer.C: increment file format.
4787         * paragraph_funcs (readParagraph, readParToken):
4788         * paragraph.C (readParagraph): add \end_layout.
4789
4790 2003-07-27  Angus Leeming  <leeming@lyx.org>
4791
4792         * Makefile.am: remove special casing for configure-time setting of
4793         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4794
4795         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4796         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4797
4798 2003-07-26  André Pönitz  <poenitz@gmx.net>
4799
4800         * paragraph_func.[Ch]:
4801         * paragraph.C (realizeFont): inline it whereever it is used
4802
4803         * rowpainter.C:
4804         * text.C:
4805         * text2.C:
4806         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4807
4808
4809 2003-07-26  André Pönitz  <poenitz@gmx.net>
4810
4811         *       lyxtext.h:
4812         * text.C:
4813         * text2.C: get rid of LyXText::need_break_row
4814
4815 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * toc.[Ch]: put namespace toc inside namespace lyx
4818
4819         * MenuBackend.C (expandToc2): adjust for lyx::toc
4820         (expandToc): ditto
4821
4822         * lyxfunc.C (dispatch): adjust for lyx::find
4823
4824         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4825         lyx::find instead. Reorganize a bit.
4826         (LyXReplace): rename to replace
4827         (LyXFind): rename to find
4828
4829         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4830         (dispatch): ditto
4831
4832 2003-07-26  André Pönitz  <poenitz@gmx.net>
4833
4834         * text.C (setHeightOfRow): restrict scope of temporary variable
4835
4836         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4837           code (never has been used?)
4838
4839 2003-07-27  Asger Alstrup  <alstrup@local>
4840
4841         * text.C (fill): Optimise algorithm to exploit that we can reuse
4842         the LyXFont for many characters.
4843         (setHeightOfRow): Same thing.
4844         (rowBreakPoint): Same thing.
4845
4846 2003-07-26  Asger Alstrup  <alstrup@local>
4847
4848         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4849
4850         * text.C (singleWidth): Spurious font copying in hot-spot
4851         singleWidth avoided. Reorder tests for arabic for efficiency.
4852
4853         * text.C (fill): handle empty paragraphs better.
4854
4855 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4856
4857         * ispell.C:
4858         * encoding.h: add includes
4859
4860         * lyxrc.C: remove reading of bind files
4861
4862         * lyx_main.C (init): setup bindings and menus only if we have a
4863         gui.
4864
4865         * kbmap.C (read): new method. Do the actual reading of bind
4866         files.
4867
4868         * converter.C (dvipdfm_options):
4869         * bufferparams.C:
4870         * lyxrc.C (read):
4871         (output): adapt PAPER_* enums.
4872
4873         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4874
4875         * bufferparams.h: remove paper-related enums from there
4876
4877         * paper.h: New file. A trivial header file to hold paper-related
4878         enums. It should later expand to contain many paper-related
4879         horrors access.
4880
4881         * lyxrc.C: declare extern displayTranslator
4882
4883 2003-07-27  José Matos  <jamatos@fep.up.pt>
4884
4885         * tabular.[Ch] (linuxdoc): add support for tables and figures
4886         (linuxdoc).
4887
4888 2003-07-27  José Matos  <jamatos@fep.up.pt>
4889
4890         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4891         consistency in both functions.
4892         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4893
4894 2003-07-26  Asger Alstrup  <alstrup@local>
4895
4896         * rowpainter.C (paintRows): Change algorithm to work directly on
4897         the insets rather than asking every character in the document
4898         whether its an inset.
4899
4900 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4901
4902         * buffer.C (openFileWrite): factorize some code
4903
4904 2003-07-26  Angus Leeming  <leeming@lyx.org>
4905
4906         * lyx_cb.C:
4907         * lyx_main.[Ch]: replace occurances of system_tempdir with
4908         os::getTmpDir().
4909
4910 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * rename Inset to InsetOld
4913
4914 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4915
4916         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4917         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4918         which I think is a bit clearer. EDIT is gone, since it was
4919         premature optimisation, and broken for mathed anyway.
4920         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4921         with cursor positioning in insets as well (math insets still do not
4922         work, but that's a different story anyway.) It mysteriously
4923         crashes sometimes with undo in the first paragraph, but I'm fairly
4924         confident that this is a compiler bug.
4925
4926 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4927
4928         * paragraph.C (Paragraph): adjust for new clone return type
4929         (operator==): ditto
4930         (copyIntoMinibuffer): ditto
4931
4932 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4933
4934         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4935         by not having a special case, and always doing a full rebreak of
4936         the document after undo.
4937
4938 2003-07-23  Angus Leeming  <leeming@lyx.org>
4939
4940         * factory.C (createInset): InsetExternal::setParams now takes a
4941         Buffer const * arg.
4942
4943 2003-07-23  Angus Leeming  <leeming@lyx.org>
4944
4945         * factory.C (createInset): changed interface to the external and
4946         graphics mailers' string2params functions.
4947
4948 2003-07-23  Angus Leeming  <leeming@lyx.org>
4949
4950         * factory.C (createInset): pass a
4951         Buffer const * parameter to InsetExternalMailer's string2params.
4952
4953 2003-07-22  John Levon  <levon@movementarian.org>
4954
4955         * Thesaurus.h: include the right aiksaurus header
4956
4957 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4958
4959         * MenuBackend.C (expand): check menu shortcuts unconditionally
4960
4961 2003-07-21  Angus Leeming  <leeming@lyx.org>
4962
4963         * factory.C (createInset): pass a
4964         buffer_path parameter to InsetGraphicsMailer's string2params.
4965
4966 2003-07-21  Angus Leeming  <leeming@lyx.org>
4967
4968         * BufferView_pimpl.C (buffer):
4969         * buffer.C (d-tor):
4970         * lyx_main.C (LyX):
4971         * lyxfunc.C (dispatch):
4972         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4973         rather than the grfx shortcut.
4974
4975 2003-07-21  André Pönitz  <poenitz@gmx.net>
4976
4977         * rowpainter.C: remove unused variables
4978
4979         * tabular_funcs.C:
4980         * tabular_funcs.h: move to tabular.C
4981         * Makefile.am: adjust
4982
4983         * tabular.[Ch]: basic optical cleaning
4984
4985         * author.h: pass references, not values
4986
4987 2003-07-18  André Pönitz  <poenitz@gmx.net>
4988
4989         * lyxtext.h:
4990         * metricsinfo.C:
4991         * metricsinfo.h:
4992         * rowpainter.C:
4993         * text.C:
4994         * text2.C:
4995         * text3.C: two-phase drawing for InsetText and InsetTabular
4996         some float -> int changes.
4997
4998 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4999
5000         * lyx_main.C: fix the fix
5001
5002 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5003
5004         * lyx_main.C: fix a crash in batch mode if no files specified
5005         * converter.C: ws
5006
5007 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5008
5009         * format.[Ch] (papersize): moved to BufferParams
5010         * converter.[Ch] (dvips_options): moved to BufferParams
5011         (dvipdfm_options): moved to anon namespace
5012         * bufferparams.[Ch]: added above functions.
5013
5014 2003-07-17  André Pönitz  <poenitz@gmx.net>
5015
5016         * lyxtext.h:
5017         * rowpainter.C:
5018         * text2.C: don't call inset->update() anymore
5019
5020         * metricsinfo.[Ch]: add convenience constructor
5021
5022 2003-07-16  André Pönitz  <poenitz@gmx.net>
5023
5024         * lyxcursor.[Ch]:
5025         * lyxfunc.[Ch]:
5026         * text.C:
5027         * text2.C: replace the LyXCursor::irow_ member with
5028          on-demand computation of the value
5029
5030 2003-07-16  John Levon  <levon@movementarian.org>
5031
5032         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5033
5034 2003-07-15  André Pönitz  <poenitz@gmx.net>
5035
5036         * text.C:
5037         * text2.C: remove no more needed refresh_row
5038
5039 2003-07-15  André Pönitz  <poenitz@gmx.net>
5040
5041         * lyxtext.h:
5042         * rowpainter.C:
5043         * text2.C:
5044         * text3.C: refresh_status tristate -> need_update bool
5045
5046 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5047
5048         * lyxtext.h (init): remove reinit argument (act as if always true)
5049         * text2.C: adjust to that
5050
5051 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5052
5053         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5054         * text3.C: use it to delete selections in some cases
5055         (bugs 441, 673, 702, 954).
5056
5057 2003-07-14  André Pönitz  <poenitz@gmx.net>
5058
5059         * rowpainter.[Ch]: reduce interface
5060
5061 2003-07-14  André Pönitz  <poenitz@gmx.net>
5062
5063         * BufferView_pimpl.C:
5064         * text2.C: adjust after removing unused BufferView * argument
5065
5066 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5067
5068         * text2.C (init): fix a crash fired on resize
5069
5070 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5071
5072         * buffer.[Ch]: added new closing signal
5073         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5074         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5075         BufferView::Pimpl via the closing the signal
5076
5077 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5078
5079         * buffer.[Ch]: take out all bv-related from buffer
5080         * BufferView.C:
5081         * BufferView_pimpl.[Ch]: connect to new signals
5082         * CutAndPaste.C: removed useless asserts
5083         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5084         * lyxvc.[Ch]:
5085         * vc-backend.[Ch]:
5086         * lyxfunc.C: moved view-related funciontality from vc here
5087         * paragraph.C: removed outdated comments
5088         * text.C: ws
5089
5090 2003-07-10  André Pönitz  <poenitz@gmx.net>
5091
5092         * BufferView_pimpl.C:
5093         * tabular.h:
5094         * tabular_funcs.C:
5095         * text.C:
5096         * text2.C: remove InsetText::InnerCache, clean up consequences
5097
5098 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5099
5100         * ispell.C: fix two typos in error messages
5101
5102 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5103
5104         * Extend Note inset to other forms of annotation like Comment
5105         and Greyedout. Right button click gives dialog.
5106
5107         Files modified or added (+):
5108
5109         * insetnote.[Ch]
5110         * FormNote.[Ch]      +
5111         * ControlNote.[Ch]   +
5112         * form_note.fd       +
5113         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5114         frontends/controllers
5115         * xforms/Dialogs.C
5116         * factory.C
5117
5118 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5119
5120         * aspell.C: add missing namespace lyx::support
5121
5122 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * BufferView.[Ch] (newFile): Add
5125         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5126         * LaTeX.[Ch] (message): added this signal and use it
5127         * buffer.[Ch] (busy, message): added these signals and use them
5128         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5129         * converter.C:
5130         * exporter.C:
5131         * format.C:
5132         * importer.C: use buffer signals instead of direct bv calling
5133         * lyx_cb.[Ch] (ShowMessage): removed
5134         * lyx_main.C:
5135         * lyxfunc.C:
5136         * paragraph_funcs.C:
5137         * text2.C: use buffer signals
5138
5139 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * introduce namespace lyx::graphics
5142
5143 2003-07-02  André Pönitz  <poenitz@gmx.net>
5144
5145         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5146
5147 2003-07-01  André Pönitz  <poenitz@gmx.net>
5148
5149         * text.C:
5150         * text2.C:
5151         * text3.C:
5152         * text_funcs.[Ch]:
5153         * textcursor.h:
5154         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5155           text*.C to text_func.C
5156
5157 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5158
5159         * introduce namespace lyx::support
5160
5161 2003-06-30  André Pönitz  <poenitz@gmx.net>
5162
5163         * Chktex.C:
5164         * funcrequest.C:
5165         * lyxtext.h:
5166         * text.C: re-enable --with-included-string
5167
5168 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * textcursor.C: add <config.h>
5171
5172         * text.C (getWord): remove const from word_location arg
5173
5174         * lyxvc.C (getLogFile): fix const type order
5175
5176         * lyxtext.h: remove const from word_location arg, add arg name
5177
5178         * lyxlayout.h: currect type on labeltype.
5179
5180         * importer.C: correct \file
5181
5182         * converter.C (intToFormat): use std:: on ret val, ws changes
5183
5184         * bufferlist.h: correct \file
5185
5186         * buffer.C (makeLinuxDocFile): fix const type order
5187         (makeDocBookFile): ditto
5188         (fillWithBibKeys): use std:: on stdlib args.
5189
5190         * CutAndPaste.C: fix authors.
5191         (availableSelections): use std:: on return vector
5192
5193 2003-06-27  André Pönitz  <poenitz@gmx.net>
5194
5195         * BufferView_pimpl.C:
5196         * bufferview_funcs.C:
5197         * lyxcursor.C:
5198         * lyxcursor.h:
5199         * lyxfunc.C:
5200         * lyxtext.h:
5201         * rowpainter.C:
5202         * text.C:
5203         * text2.C:
5204         * text3.C: remove LyXCursor::row_ member
5205
5206         * lyxtext.h:
5207         * text.C: rename fullRebreak() to partialRebreak() and implement
5208           a fullRebreak() that really bereks fully
5209
5210         * textcursor.h: new struct for cursor-related data
5211
5212 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5213
5214         * lyx_main.C (LyX): get full path of document loaded on the
5215         command line
5216
5217 2003-06-26  André Pönitz  <poenitz@gmx.net>
5218
5219         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5220           remove unused/broken operator>,<,>=.
5221
5222         *       text.C: remove only use of broken operator<= in an Assert().
5223
5224 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5225
5226         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5227         moved errorlist_.clear to showErrorList
5228
5229 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5230
5231         * converter.C (scanLog, runLaTeX):
5232         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5233         move the bv->showErrorList call to the callers
5234         * lyxfunc.C: i.e. here...
5235         * text2.C: and here
5236         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5237         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5238         namespace, the second to...
5239         * buffer_funcs (BufferFormat, parseErrors): added
5240         * errorlist.C (ErrorList(TeXErrors const &)): removed
5241
5242 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5243
5244         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5245
5246 2003-06-24  "Garst R. Reese" <reese@isn.net>
5247
5248         * debug.C: fix typo
5249
5250 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5251
5252         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5253
5254         * version.C.in: change docversion to 1.4
5255
5256 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5257
5258         * buffer.C: fix a bug just introduced
5259
5260 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * buffer.[Ch]: added the parseError signal and use it, removed
5263         sgmlError
5264         * BufferView.[Ch] (addError): moved to ...
5265         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5266         to the Buffer::parseError signal to catch (guess what) parse errors
5267         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5268
5269 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5270
5271         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5272         ability to create a buffer and to return an existing one from
5273         the list. Moved these functions to...
5274         * buffer_funcs.[Ch]: added
5275         * BufferView.[Ch] (loadLyXFile): added
5276         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5277         job removed from bufferlist::loadLyXFile.
5278         * buffer.C (setReadOnly): make it work without view
5279         (i.e added an if (users))
5280
5281 2003-06-19  Angus Leeming  <leeming@lyx.org>
5282
5283         * lfuns.h:
5284         * LyXAction.C (init):
5285         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5286         with LFUN_DIALOG_SHOW <name> <data>.
5287
5288 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5289
5290         * CutAndPaste.C (availableSelections): small compilation fix for
5291         ancient (gcc 2.9x) compilers
5292
5293 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5294
5295         * text3.C (cursorNext): add tmp var
5296
5297         * text2.C (updateCounters): for function calling out of for clause
5298         (replaceSelectionWithString): ditto
5299         (insertStringAsParagraphs): ditto
5300         (getColumnNearX): add tmp var
5301         (setCursorFromCoordinates): add tmp var
5302         (cursorDownParagraph): add tmp var
5303         (deleteEmptyParagraphMechanism): add tmp var
5304
5305         * text.C (insertChar): add tmp var
5306
5307         * rowpainter.C (paintDepthBar): add tmp var
5308
5309         * CutAndPaste.C (availableSelections): potentially check all
5310         paragraphs in a cut to fill the shown strings.
5311
5312 2003-06-18  André Pönitz  <poenitz@gmx.net>
5313
5314         * kbmap.[Ch]: use vector<> instead of list<>
5315
5316 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5317
5318         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5319         pasteSelection with index
5320
5321         * text2.C (pasteSelection): modify, call pasteSelection with index
5322
5323         * paragraph.C (asString): reimplement version with no interval to
5324         call the one with interval.
5325
5326         * lyxtext.h: add index arg to pasteSelection
5327
5328         * MenuBackend.C (MenuItem): handle PasteRecent
5329         (Menu::read::Menutags): add md_pasterecent
5330         (read): handle it
5331         (expandPasteRecent): new function
5332         (expand): use it
5333
5334         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5335
5336         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5337         the limited stack
5338         (availableSelections): new function
5339
5340 2003-06-17  Angus Leeming  <leeming@lyx.org>
5341
5342         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5343
5344 2003-06-17  Angus Leeming  <leeming@lyx.org>
5345
5346         * lfuns.h:
5347         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5348
5349         * lyxfunc.C (dispatch): invoke it.
5350
5351 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5352
5353         * iterators.C (operator++, ParPosition): reintroduce some
5354         const_cast for the benefit of older compilers.
5355
5356 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5357
5358         * text3.C (dispatch): do not modify clipboard when doing
5359         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5360         LFUN_DELETE_SKIP on a selection selection
5361
5362 2003-06-16  André Pönitz  <poenitz@gmx.net>
5363
5364         * BufferView.C:
5365         * buffer.C:
5366         * buffer.h:
5367         * paragraph.C:
5368         * tabular.[Ch]: IU of clone() and getLabelList();
5369
5370 2003-06-13  André Pönitz  <poenitz@gmx.net>
5371
5372         * tabular.h: compactification
5373
5374 2003-06-12  André Pönitz  <poenitz@gmx.net>
5375
5376         * tabular.C:
5377         * tabular.h:
5378         * tabular_funcs.h: some renaming plus whitespace
5379
5380 2003-06-12  André Pönitz  <poenitz@gmx.net>
5381
5382         * BufferView.C:
5383         * BufferView_pimpl.C:
5384         * CutAndPaste.C:
5385         * buffer.C:
5386         * iterators.[Ch]:
5387         * lyxfunc.C:
5388         * text.C:
5389         * toc.C: Return a Paragraph & for ParIterator::operator*()
5390
5391 2003-06-11  John Levon  <levon@movementarian.org>
5392
5393         * lyx_main.C:
5394         * ToolbarBackend.h:
5395         * ToolbarBackend.C: add "Toolbars" section and
5396         put the flags there
5397
5398 2003-06-10  Angus Leeming  <leeming@lyx.org>
5399
5400         * lfuns.h:
5401         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5402
5403         * lyxfunc.C (dispatch): invoke it.
5404
5405 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5406
5407         * main.C: protect <ios> with HAVE_IOS
5408         (main): protect sync_with_stdio with HAVE_IOS
5409
5410 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5411
5412         * text2.C (cutSelection): adjust
5413         (pasteSelection): adjust
5414
5415         * messages.C: handle get of empty string
5416
5417         * main.C (main): use sync_with_stdio(false)
5418
5419         * lyxfunc.C (dispatch): adjust
5420
5421         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5422         (WriteAs): remove unneeded BufferView arg.
5423
5424         * bufferparams.h: use correct types on papersize, papersize2 and
5425         paperpackage.
5426
5427         * bufferparams.C (readToken): adjust for type
5428         (writeLaTeX): add missing cases to switch.
5429
5430         * bufferlist.C (quitWriteBuffer): adjust
5431         (close): adjust
5432
5433         * buffer.C (asciiParagraph): remove some commented code.
5434
5435         * CutAndPaste.C: remove current_view extern variable.
5436         (cutSelection): add BufferParams arg.
5437         (eraseSelection): add BufferParams arg.
5438         (pasteSelection): add Buffer const & arg
5439
5440 2003-06-07  John Levon  <levon@movementarian.org>
5441
5442         * buffer.C:
5443         * paragraph_funcs.C:
5444         * paragraph_pimpl.C:
5445         * text.C:
5446         * text2.C:
5447         * paragraph.h:
5448         * paragraph.C: allow InsetERT to freely space lines,
5449         and some consolidation of code
5450
5451 2003-06-06  José Matos  <jamatos@fep.up.pt>
5452
5453         * buffer.C (makeDocBookFile): fix bug #821
5454
5455 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5458
5459 2003-06-04  Angus Leeming  <leeming@lyx.org>
5460
5461         * buffer.C: bump format to 224.
5462
5463 2003-06-05  André Pönitz  <poenitz@gmx.net>
5464
5465         * text2.C (redoParagraphs): remove two const_cast<>
5466
5467 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5468
5469         * ParagraphList.h: remove last remnants of NO_STD_LIST
5470
5471 2003-06-03  Angus Leeming  <leeming@lyx.org>
5472
5473         * factory.C (createInset): small change to the way InsetExternal's params
5474         are set.
5475
5476 2003-06-04  André Pönitz  <poenitz@gmx.net>
5477
5478         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5479
5480         * paragraph_pimpl.h:
5481         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5482
5483         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5484
5485         * undo_funcs.C: make some simple cases of undo work again
5486
5487 2003-06-03  John Levon  <levon@movementarian.org>
5488
5489         * ispell.C: HPUX doesn't have sys/select.h
5490         (from Albert Chin)
5491
5492 2003-06-03  John Levon  <levon@movementarian.org>
5493
5494         * CutAndPaste.C: update tabular and include inset
5495         buffer references
5496
5497         * buffer.h:
5498         * paragraph.h:
5499         * paragraph.C: remove owningBuffer(), don't pass Buffer
5500         to clone()
5501
5502         * factory.C: insetGraphicsParams changed
5503
5504 2003-06-02  John Levon  <levon@movementarian.org>
5505
5506         * LyXAction.C:
5507         * factory.C:
5508         * lfuns.h:
5509         * lyxfunc.C:
5510         * text3.C: remove insetparent
5511
5512 2003-06-02  John Levon  <levon@movementarian.org>
5513
5514         * buffer.h:
5515         * buffer.C: fix inset_iterator.end(), move out of line
5516         (bug 1149)
5517
5518 2003-06-01  John Levon  <levon@movementarian.org>
5519
5520         * text3.C: use a proper cut/paste when doing inset
5521         insert (from Jürgen Spitzmüller)
5522
5523 2003-06-01  John Levon  <levon@movementarian.org>
5524
5525         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5526
5527 2003-05-30  André Pönitz  <poenitz@gmx.net>
5528
5529         * rowpainter.C: unify second drawing phase
5530
5531 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5532
5533         * trans_mgr.C: remove one case of current_view
5534
5535         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5536
5537         * paragraph_funcs.h: remove paragraph.h include
5538
5539         * paragraph.h: delete NO_STD_LIST stuff
5540
5541         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5542
5543         * buffer.h: remove paragraph.h include
5544
5545         * ParagraphList.C: delete file
5546
5547         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5548
5549         * toc.C (getTocList): adjust
5550
5551         * paragraph_pimpl.C (validate): adjust
5552
5553         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5554
5555         * paragraph.C (Paragraph): adjust
5556         (getPositionOfInset): use const_iterator, adjust
5557         (bibitem): use const_iterator, adjust
5558         (setInsetOwner): adjust
5559
5560         * iterators.C (operator++): adjust
5561
5562         * InsetList.[Ch]: Replace selfmade iterator with standard
5563         vector::iterator also introduce const_iterator. Remove getPos,
5564         getInset and setInset from InsetTable. Adjust accordingly.
5565
5566         * BufferView.C (lockInset): adjust
5567         (ChangeInsets): adjust
5568
5569         * tabular.[Ch]: delete commented same_id functions
5570
5571 2003-05-28  John Levon  <levon@movementarian.org>
5572
5573         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5574
5575 2003-05-28  André Pönitz  <poenitz@gmx.net>
5576
5577         * metricsinfo.[Ch]: remove 'fullredraw' member
5578
5579 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5580
5581         * lyxtextclass.C (operator): remove caching.
5582
5583 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * text3.C: adjust
5586
5587         * text2.C (cursorBottom): adjust
5588         (setCounter): use ParagraphList::find, adjust
5589
5590         * text.C (workWidth): use ParagraphList::find, adjust
5591
5592         * lyxcursor.C (LyXCursor): adjust
5593
5594         * buffer.C (inset_iterator): adjust
5595
5596         * ParagraphList.h: make iterator(value_type) private, make
5597         ParagraphList a friend of iterator.
5598
5599         * ParagraphList.C (find): new function
5600
5601         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5602
5603 2003-05-27  André Pönitz  <poenitz@gmx.net>
5604
5605         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5606
5607 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5608
5609         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5610
5611 2003-05-26  John Levon  <levon@movementarian.org>
5612
5613         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5614
5615 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * remove same_id from function signatures, adjust.
5618
5619 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5620
5621         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5622
5623         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5624
5625         * paragraph.C (Paragraph): get rid of same_ids parameter
5626
5627         * ParagraphList.C (insert): adjust
5628         (push_back): adjust
5629
5630 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * paragraph_funcs.C (breakParagraph): adjust
5633         (breakParagraphConservative): adjust
5634
5635         * buffer.C (readParagraph): adjust
5636
5637         * ParagraphList.C (insert): take a reference instead of a pointer
5638         (insert): adjust
5639
5640         * paragraph.[Ch] (id): new function
5641
5642         * bufferlist.C (newFile): adjust
5643
5644         * ParagraphList.C (ParagraphList): adjust
5645         (assign): adjust
5646         (push_back): take a reference instead of a pointer.
5647
5648         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5649
5650         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5651         instead.
5652
5653         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5654         set else use old code.
5655
5656         * ParagraphList.C: remove all NO_NEXT code and only compile this
5657         code of NO_STD_LIST is set.
5658
5659 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5660
5661         * BufferView_pimpl.C:
5662         * TextCache.C:
5663         * TextCache.h:
5664         * bufferlist.C:
5665         * errorlist.h:
5666         * format.C:
5667         * format.h:
5668         * graph.C:
5669         * lyxfunc.C:
5670         * lyxrc.C:
5671         * graphics/GraphicsConverter.C:
5672         * graphics/PreviewLoader.C: header adjustment
5673
5674 2003-05-23  Angus Leeming  <leeming@lyx.org>
5675
5676         * LaTeXFeatures.[Ch] (useBabel): new method.
5677         * bufferparams.C (writeLaTeX): use it.
5678
5679 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5680
5681         * ParagraphList.h (set): remove unused function.
5682
5683 2003-05-23  André Pönitz  <poenitz@gmx.net>
5684
5685         * BufferView.C:
5686         * BufferView_pimpl.C:
5687         * buffer.C:
5688         * buffer.h:
5689         * lyxfunc.C:
5690         * undo_funcs.C: setUndo reworked
5691
5692         * iterators.[Ch]: add access to topmost ParagraphList
5693
5694         * lyxtext.[Ch] (workWidth): add a const
5695
5696 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * texrow.[Ch] (increasePos): remove function
5699         * exporter.C (export): removed unused var and outdated comment
5700
5701 2003-05-23  Angus Leeming  <leeming@lyx.org>
5702
5703         * latexrunparams.h: rename fragile as moving_arg.
5704         * paragraph.C (simpleTeXOnePar): ditto.
5705         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5706
5707 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5710         (createUndo): ditto
5711         (textUndoOrRedo): comment out a currently unused var.
5712
5713         * paragraph.h (NO_NEXT): enable NO_NEXT
5714
5715         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5716
5717         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5718
5719         * exporter.C (Export): adjust for removeAutoInsets removal.
5720
5721         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5722
5723         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5724
5725         * BufferView.[Ch] (removeAutoInsets): delete function
5726
5727 2003-05-22  Angus Leeming  <leeming@lyx.org>
5728
5729         * latexrunparams.h: add a free_spacing variable.
5730
5731         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5732         to pass moving_arg, as the data is stored in runparams.fragile.
5733
5734         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5735         to Inset::latexOptional or to simpleTeXOnePar.
5736
5737         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5738         free_spacing arg to Inset::latexOptional.
5739
5740         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5741         free_spacing arg.
5742
5743 2003-05-22  Angus Leeming  <leeming@lyx.org>
5744
5745         * latexrunparams.h: add fragile and use_babel variables.
5746
5747         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5748         * buffer.C (makeLaTeXFile): store this returned value in
5749         runparams.use_babel, thus passing it to the inset::latex methods.
5750
5751         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5752         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5753
5754         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5755         longer has a fragile arg, as it is stored in runparams.fragile.
5756
5757         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5758         moving_arg parameter as the data is stored in runparams.fragile.
5759
5760         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5761         a fragile parameter as the data is stored in runparams.fragile.
5762
5763 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5766
5767 2003-05-22  Angus Leeming  <leeming@lyx.org>
5768
5769         * latexrunparams.h: add a 'bool nice' which defaults to false.
5770
5771         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5772         now encapsulated within runparams.
5773
5774         * bufferlist.C (updateIncludedTeXfiles):
5775         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5776
5777 2003-05-22  Angus Leeming  <leeming@lyx.org>
5778
5779         * latexrunparams.h: new file containing struct LatexRunParams.
5780         * Makefile.am: add new file.
5781
5782         * LaTeX.[Ch] (c-tor, run):
5783         * buffer.[Ch] (makeLaTeXFile):
5784         * bufferlist.[Ch] (updateIncludedTeXfiles):
5785         * converter.C (convert, scanLog):
5786         * converter.[Ch] (runLaTeX):
5787         * exporter.C (Export):
5788         * paragraph.[Ch] (simpleTeXOnePar):
5789         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5790         * paragraph_funcs.[Ch] (latexParagraphs):
5791         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5792         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5793         pass around a LatexRunParams parameter.
5794
5795 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * paragraph.[Ch]: remove unused constructor
5798
5799         * ParagraphList.C (erase): new function, taking two iterators
5800
5801 2003-05-22  André Pönitz  <poenitz@gmx.net>
5802
5803         * undo_funcs.C: remove duplicated code
5804
5805         * iterator.[Ch]: operator=
5806
5807 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5808
5809         * tabular.C (SetMultiColumn): ws changes
5810
5811         * rowpainter.C (paintFirst): get rid of a ->previous
5812
5813         * lyx_cb.C (getPossibleLabel): parlist simplification
5814
5815         * BufferView.C (ChangeInsets): simplify slightly.
5816
5817 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5818
5819         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5820         * lfuns.h: new LFUN_SPACE
5821         * lyxfunc.C: protected space has a new lfun
5822         * paragraph_funcs.C: read new space insets
5823         * text3.C:
5824         * factory.C: handle new space insets
5825
5826 2003-05-22  André Pönitz  <poenitz@gmx.net>
5827
5828         * BufferView.C:
5829         * BufferView_pimpl.C:
5830         * buffer.[Ch]:
5831         * lyxfunc.C:
5832         * undo_funcs.C: return a ParIterator from getParFromID.
5833
5834         * iterators.[Ch]: add two const's
5835
5836 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * toc.C (getTocList): adjust
5839
5840         * iterators.[Ch]: rework for parlist
5841
5842         * buffer.C (par_iterator_begin): adjust
5843         (par_iterator_end): adjust
5844
5845         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5846
5847         * BufferView.C (removeAutoInsets): adjust
5848         (ChangeInsets): adjust
5849
5850 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * text.C (top_y): fix bug 1110
5853
5854 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5855
5856         * errorlist.[Ch]: added
5857         * buffer.C:
5858         * BufferView.[Ch]:
5859         * BufferView_pimpl.C:
5860         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5861         instead
5862
5863 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5864
5865         * Makefile.am: ensure that lyx is relinked upon changes to the
5866         various "convenience" libs.
5867
5868 2003-05-20  Angus Leeming  <leeming@lyx.org>
5869
5870         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5871         files are compiled in alphabetical order again.
5872
5873         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5874
5875 2003-05-19  Angus Leeming  <leeming@lyx.org>
5876
5877         * gettext.[Ch]: remove "char const * _(char const *)".
5878
5879 2003-05-19  André Pönitz  <poenitz@gmx.net>
5880
5881         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5882
5883         * Makefile.am:
5884         * BufferView.C:
5885         * DepTable.h:
5886         * LaTeXFeatures.C:
5887         * buffer.C:
5888         * lyxfont.C:
5889         * lyxlex.h:
5890         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5891
5892 2003-05-19  André Pönitz  <poenitz@gmx.net>
5893
5894         * buffer.C:
5895         * lyxlayout.[Ch]:
5896         * lyxtextclass.[Ch]:
5897         * paragraph.C:
5898         * paragraph_funcs.[Ch]:
5899         * text2.C:
5900         * text3.C: more insetenv work
5901
5902 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5903
5904         * ParagraphParameters.C (params2string): small bug fixed
5905
5906 2003-05-16  André Pönitz  <poenitz@gmx.net>
5907
5908         * debug.C:
5909         * bufferview_funcs.C: patch from Kornel Benko to prevent
5910           crash when _(...) is called twice in a statement
5911
5912 2003-05-16  André Pönitz  <poenitz@gmx.net>
5913
5914         * BufferView.C:
5915         * lyxfunc.C:
5916         * text.C:
5917         * text2.C:
5918         * text3.C:
5919         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5920
5921 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5922
5923         * lyx_main.C (init): remove spurious static_cast
5924
5925 2003-05-14  André Pönitz  <poenitz@gmx.net>
5926
5927         * BufferView.C: fix format string
5928
5929 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5930
5931         * BufferView.[Ch] (insertErrors): removed
5932         * BufferView.[Ch] (showErrorList): added
5933         * buffer.C (runChkTeX):
5934         * converter.C (scanLog): call showErrorList instead of inserterrors
5935
5936 2003-05-13  André Pönitz  <poenitz@gmx.net>
5937
5938         * BufferView_pimpl.C:
5939         * buffer.C:
5940         * bufferview_func.C:
5941         * MenuBackend.C:
5942         * lyxfunc.C:
5943         * lyxrc.C:
5944         * tex-accent.C:
5945         * text3.C:
5946         * toc.C:
5947         * tabular_funcs.h: tostr() from its own header
5948
5949         * ParagraphParameters.C:
5950         * ToolbarBackend.C:
5951         * bufferparams.C:
5952         * format.C:
5953         * lyxlex_pimpl.C:
5954         * text3.C: STRCONV()
5955
5956 2003-05-12  André Pönitz  <poenitz@gmx.net>
5957
5958         * BufferView.C:
5959         * BufferView_pimpl.C:
5960         * CutAndPaste.C:
5961         * LaTeX.C:
5962         * LaTeXFeatures.C:
5963         * ParagraphParameters.C:
5964         * buffer.C:
5965         * bufferlist.C:
5966         * bufferparams.C:
5967         * bufferview_funcs.C:
5968         * converter.C:
5969         * counters.C:
5970         * debug.C:
5971         * exporter.C:
5972         * format.C:
5973         * importer.C:
5974         * lyx_cb.C:
5975         * lyx_main.C:
5976         * lyxfont.C:
5977         * lyxfunc.C:
5978         * lyxvc.C:
5979         * paragraph.C:
5980         * paragraph_funcs.C:
5981         * tabular.C:
5982         * tabular_funcs.C:
5983         * text2.C:
5984         * text3.C:  boost::format -> bformat  all over the place
5985
5986
5987 2003-05-09  André Pönitz  <poenitz@gmx.net>
5988
5989         * LColor.[Ch]: Pimpl the #include <map> away
5990
5991 2003-05-09  John Levon  <levon@movementarian.org>
5992
5993         * bufferlist.C: never remove emergency saves
5994
5995 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5996
5997         * Makefile.am: better lib building
5998
5999 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6000
6001         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6002         instead.
6003         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6004         (simpleTeXSpecialChars): adjust
6005         (simpleTeXSpecialChars): adjust
6006         * paragraph.C (simpleTeXOnePar): adjust
6007         * buffer.C (makeLaTeXFile): adjust
6008
6009         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6010
6011         * text2.C (changeDepth): parlist cleanup
6012         (getColumnNearX): ditto
6013
6014         * rowpainter.C (getLabelFont): parlist cleanup
6015
6016         * bufferlist.C (newFile): parlist cleanup
6017
6018         * CutAndPaste.C (eraseSelection): parlist cleanup
6019
6020         * BufferView_pimpl.C (trackChanges): parlist cleanup
6021         (dispatch): ditto
6022
6023         * BufferView.C (lockInset): parlist cleanup.
6024         (ChangeInsets): ditto
6025
6026 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6027
6028         * CutAndPaste.h: Update file header.
6029
6030         * CutAndPaste.C: Update file header.
6031         Store the parts cut out of the Document in a limited_stack.
6032         (copySelection): adjust
6033         (pasteSelection): new function, takes the index in the limited stack.
6034         (nrOfParagraphs): adjust
6035         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6036         simplify error inset insertion.
6037         (checkPastePossible): adjust
6038
6039 2003-05-06  John Levon  <levon@movementarian.org>
6040
6041         * text2.C: don't cast wrap inset to float
6042
6043 2003-05-05  André Pönitz  <poenitz@gmx.net>
6044
6045         * iterator.C:
6046         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6047
6048         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6049           few naked Paragraph *.
6050
6051 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6052
6053         * bufferparams.C: Output warning if a document with missing
6054         TeX document class is loaded
6055         * exporter.C: Disable TeX exports if the document class is missing
6056         * lyxtextclass.C:
6057         * lyxtextclass.h:
6058         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6059         isTeXClassAvailable()
6060
6061 2003-05-03  John Levon  <levon@movementarian.org>
6062
6063         * BufferView.h:
6064         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6065         explicit cursor show/hide
6066
6067         * BufferView_pimpl.h:
6068         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6069         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6070
6071         * lyxfunc.C: hide cursor before dispatching.
6072
6073         * lyx_cb.C:
6074         * lyxfind.C:
6075         * text.C:
6076         * text3.C: remove explicit cursor hides
6077
6078 2003-05-02  André Pönitz  <poenitz@gmx.net>
6079
6080         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6081
6082         * undo_funcs.C:
6083         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6084           linked lists
6085
6086         * text2.C: tiny whitespace
6087
6088 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * undo_funcs.C: almost only ws changes.
6091
6092         * ParagraphList.C (splice): just return if pl is empty.
6093
6094 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * ParagraphList.C (splice): new function.
6097
6098         * CutAndPaste.C (pasteSelection): use it
6099
6100 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6101
6102         * CutAndPaste.C (pasteSelection): remove the last next and
6103         previous from this file.
6104
6105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * CutAndPaste.C (pasteSelection): more clean up, user proper
6108         ParagraphList functions for pasteing.
6109
6110         * ParagraphList.C (insert): new function, three arg insert
6111
6112 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * ParagraphList.C (insert): new function, three arg insert
6115
6116         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6117         not on paragraphs.
6118
6119 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6122
6123 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6124
6125         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6126
6127 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6130         (copySelection): clean up a bit.
6131         (pasteSelection): use make_pair
6132
6133         * ParagraphList.C (ParagraphList): implement copy constructor
6134         (operator=): implement, base on copy constructor.
6135         (assign): new func
6136
6137         * paragraph.C (erase): return a bool
6138
6139         * paragraph_pimpl.C (erasePos): remove function, move contents...
6140         (erase): ... here. Return a bool.
6141         (erase): call erase instead of erasePos.
6142
6143 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6144
6145         * ParagraphList.h: define PitPosPair
6146         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6147         ParagraphList, fix a bug on pasting multiple pars
6148         * text2.C: change interface to C&P
6149
6150 2003-04-30  André Pönitz  <poenitz@gmx.net>
6151
6152         * undo_func.C: revert part of yesterday's patch 2
6153
6154 2003-04-30  John Levon  <levon@movementarian.org>
6155
6156         * LColor.C: s/tabular/table/
6157
6158 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6159
6160         * text3.C (dispatch): do not convert iterator -> pointer
6161         * undo_funcs.C (setCursorParUndo): ditto
6162         * text_funcs.C (transposeChars): ditto
6163
6164         * text2.C (setLayout): ws changes only
6165
6166         * text.C (breakParagraph): do not convert iterator -> pointer
6167         (insertChar): ditto
6168         (acceptChange): ditto
6169         (rejectChange): ditto
6170         (changeCase): ditto
6171         (Delete): ditto
6172         (backspace): ditto
6173
6174         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6175         pointer
6176
6177 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6178
6179         * text3.C (gotoInset): YABG (yet another bad getChar)
6180
6181 2003-04-29  André Pönitz  <poenitz@gmx.net>
6182
6183         * paragraph.h: make operator= private unimplemented as long as
6184           it is unusable
6185
6186         * ParagraphList.C: whitespace
6187
6188         * paragraph.[Ch]:
6189         * paragraph_pimpl.[Ch]:
6190         * paragraph_funcs.C:
6191         * CutAndPaste.C:
6192         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6193
6194         * text2.C:
6195           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6196
6197 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6198
6199         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6200         * paragraph.[Ch] (erase):
6201         * paragraph_pimpl.[Ch] (erase): change return type and value
6202         * text2.C (cutSelection): some rework
6203
6204 2003-04-28  John Levon  <levon@movementarian.org>
6205
6206         * bufferlist.C: changes for unsaved changes dialog
6207
6208 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * bufferlist.C (newFile): set language (messages_) for new
6211         documents also.
6212
6213         * buffer.C (readFile): ws changes only.
6214
6215 2003-04-28  André Pönitz  <poenitz@gmx.net>
6216
6217         * undo_funcs.C:
6218         * lyxfunc.C:
6219         * buffer.[Ch]:
6220         * BufferView_pimpl.C:
6221         * BufferView.C: getParFromID related ParagraphList::iterator changes
6222
6223 2003-04-28  André Pönitz  <poenitz@gmx.net>
6224
6225         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6226           Changes
6227
6228 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * messages.C: remove one more localedir class variable.
6231
6232 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * messages.C (getLocaleDir): singleton generation function
6235         (Pimpl): use it.
6236         (Messages): add a default constructor.
6237
6238         * main.C (main): do not setup localedir here, do not call
6239         gettext_init.
6240
6241         * gettext.C (_): use it.
6242         (gettext_init): delete funciton
6243
6244 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6245
6246         * gettext.C (getLyXMessages): new singleton generating function.
6247
6248         * buffer.C (updateDocLang): adjust
6249
6250         * Makefile.am (messages.o): add target
6251         (main.o): remove target
6252
6253 2003-04-27  John Levon  <levon@movementarian.org>
6254
6255         * bufferlist.C:
6256         * lyx_cb.C:
6257         * lyxfunc.C:
6258         * lyxvc.C: specify cancel button in Alert::prompt
6259
6260 2003-04-26  John Levon  <levon@movementarian.org>
6261
6262         * text3.C:
6263         * lyxfunc.C:
6264         * lfuns.h:
6265         * LyXAction.C: add LFUN_INSET_SETTINGS
6266
6267         * lyxfunc.C: don't enable tabular-feature when there's
6268         just any locking inset
6269
6270 2003-04-26  John Levon  <levon@movementarian.org>
6271
6272         * bufferlist.C: re-add Cancel to buffer close question
6273
6274         * lyxfunc.C: fix import UI a bit
6275
6276 2003-04-25  John Levon  <levon@movementarian.org>
6277
6278         * gettext.C: remove the broken asserts for now
6279
6280 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * messages.C: make case where setlocale cannot comply work better.
6283
6284         * buffer.C (updateDocLang): new function
6285         (changeLanguage): use it
6286         (readFile): use it
6287
6288         * text2.C (setCounter): use B_ a bit.
6289
6290         * lyxlayout.C (Read): be sure to trim the label strings.
6291
6292         * messages.C (Messages): fix typo in comment
6293
6294         * buffer.C (readFile): set message_ after file is loaded.
6295         (makeDocBookFile): remove double return
6296         (changeLanguage): reset message_ upon language change.
6297         (B_): new func, use this to get translated buffer strings.
6298
6299         * main.C: add myself and Jean Marc as authors.
6300
6301 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * messages.[hC]: pimplify Messages, and three different pimpls to be
6304         used in different circumstances.
6305
6306         * gettext.[Ch]: change for use with new message code.
6307
6308 2003-04-24 André Pönitz <poenitz@gmx.net>
6309
6310         * factory.C: support for eqref
6311
6312 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6313
6314         * messages.[Ch]: add missing char
6315
6316         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6317
6318         * messages.[Ch]: New files
6319
6320 2003-04-18  John Levon  <levon@movementarian.org>
6321
6322         * BufferView.h:
6323         * BufferView.C:
6324         * BufferView_pimpl.C:
6325         * lfuns.h:
6326         * LyXAction.C:
6327         * lyxtext.h:
6328         * text2.C: remove layout-copy/paste (bug 778)
6329
6330 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6331
6332         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6333
6334 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6335
6336         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6337         if they succeed. Act accordingly.
6338
6339 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * text2.C (setCharFont): adjust
6342         (setCounter): adjust
6343         (insertStringAsLines): adjust
6344
6345         * text.C (leftMargin): adjust
6346         (setHeightOfRow): adjust
6347
6348         * rowpainter.C (paintFirst): adjust
6349         (paintLast): adjust
6350
6351         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6352         (outerHook): ditto
6353         (isFirstInSequence): ditto
6354         (getEndLabel): ditto
6355         (outerFont): adjust
6356
6357         * paragraph.C (getParLanguage): comment out some hard stuff.
6358
6359         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6360         (sgmlError): ditto
6361         (simpleDocBookOnePar): ditto
6362         (makeDocBookFile): use ParagraphList::iterator
6363
6364         * CutAndPaste.C (pasteSelection): adjust
6365
6366 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6367
6368         * text2.C (getFont): adjust
6369         (getLayoutFont): adjust
6370         (getLabelFont): adjust
6371
6372         * paragraph_funcs.C (TeXOnePar): adjust
6373
6374         * buffer.C (simpleLinuxDocOnePar): adjust
6375         (simpleDocBookOnePar): adjust
6376
6377         * CutAndPaste.C (pasteSelection): adjust
6378
6379         * BufferView.C (getEncoding): adjust
6380
6381         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6382
6383 2003-04-16  John Levon  <levon@movementarian.org>
6384
6385         * lyxfind.C: use parlist stuff for search/changes
6386
6387 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6388
6389         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6390
6391         * text2.C (deleteEmptyParagraphMechanism): adjust
6392
6393         * text2.[Ch] (ownerParagraph): delete func (both of them
6394
6395 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6398
6399 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * ParagraphList.C: prepare for NO_NEXT
6402
6403 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6404
6405         * text2.C (getFont): adjust
6406         (getLayoutFont): adjust
6407         (getLabelFont): adjust
6408
6409         * paragraph.C (getFont): adjust
6410         (getLabelFont): adjust
6411         (getLayoutFont): adjust
6412
6413         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6414
6415 2003-04-15  John Levon  <levon@movementarian.org>
6416
6417         From Angus Leeming
6418
6419         * lyx_main.C: handle Include in .ui files
6420
6421 2003-04-15  John Levon  <levon@movementarian.org>
6422
6423         * MenuBackend.C: make the doc files length shorter
6424
6425         * ToolbarBackend.h:
6426         * ToolbarBackend.C: handle toolbar placement flags,
6427         Minibuffer
6428
6429 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6432         adjust
6433
6434         * paragraph_funcs.C (TeXOnePar): adjust
6435
6436         * paragraph.C (getLabelFont): add outerfont arg, adjust
6437         (getLayoutFont): ditto
6438         (simpleTeXOnePar): adjust
6439
6440         * paragraph_pimpl.C (realizeFont): delete func
6441
6442 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6443
6444         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6445         row argument, constify cur argument.
6446
6447 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * text2.C (getFont): adjust
6450         (getLayoutFont): adjust
6451         (getLabelFont): adjust
6452
6453         * paragraph_funcs.C (TeXOnePar): adjust
6454         (outerFont): new func...
6455         (realizeFont): ...moved out from here, changed this to facilitate
6456         transition
6457
6458         * paragraph.C (getFont): take outerfont as arg, adjust
6459         (simpleTeXOnePar): add outerfont arg, adjust
6460
6461         * buffer.C (simpleLinuxDocOnePar): adjust
6462         (simpleDocBookOnePar): adjust
6463
6464         * CutAndPaste.C (pasteSelection): adjust
6465
6466         * BufferView.C (getEncoding): adjust
6467
6468 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6469
6470         * text2.C (setCharFont): adjust
6471         (setCounter): adjust
6472
6473         * text.C (leftMargin): adjust
6474         (setHeightOfRow): adjust
6475
6476         * rowpainter.C (paintFirst): adjust
6477         (paintLast): adjust
6478
6479         * paragraph_pimpl.C (realizeFont): adjust
6480
6481         * paragraph.C (isFirstInSequence): move from here...
6482         * paragraph_funcs.C (isFirstInSequence): ...to here
6483
6484         * paragraph.C (outerHook): move from here...
6485         * paragraph_funcs.C (outerHook): ...to here
6486
6487         * paragraph.C (depthHook): move from here...
6488         * paragraph_funcs.C (depthHook): ...to here
6489
6490         * paragraph.C (getEndLabel): move from here...
6491         * paragraph_funcs.C (getEndLabel): ...to here
6492
6493         * text2.C (realizeFont): move from here...
6494         * paragraph_funcs.C (realizeFont): ...to here
6495
6496 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6499
6500 2003-04-14  Angus Leeming  <leeming@lyx.org>
6501
6502         * LColor.[Ch]: scrap LColor mathcursor.
6503
6504 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * lyxlex.[Ch] (text): delete function
6507         * trans.C (Load): adjust
6508         * paragraph_funcs.C (readParToken): adjust
6509
6510 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6511
6512         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6513         vector<char> instead of a char[].
6514
6515         * lyxlex_pimpl.C (getString): adjust
6516         (next): adjust
6517         (lex): use getString
6518         (eatLine): adjust
6519         (nextToken): adjust
6520
6521         * lyxlex.C (text): use pimpl_->getString()
6522         (getBool): ditto
6523         (findToken): ditto
6524
6525 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6528         (makeFontEntriesLayoutSpecific): temp var for par.size()
6529         (setLayout): temp var for ownerParagraphs().end()
6530         (fullRebreak): temp var for rows().end()
6531         (selectionAsString): temp var for boost::next(startpit), realize
6532         that the while really is a regular for loop.
6533         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6534         setCursor in one place.
6535         (setParagraph): temp vr for ownerParagraphs().end()
6536         (updateCounters): make the while loop a for loop
6537         (cutSelection): temp var for ownerParagraphs().end()
6538         (updateInset): make the do {} while() a regular for loop
6539         (getCursorX): use temp vars
6540         (setCurrentFont): use temp vars
6541         (getColumnNearX): use temp vars
6542
6543 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * text.C (transformChar): use temp var for getChar
6546         (computeBidiTables): use temp var for row->par()
6547         (fill): move temp vars for row->par() and pit->layout() earlier in
6548         the function.
6549         (labelFill): use temp var for row->par()
6550         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6551         asc and desc, realize that pit never changes and that firstpit is
6552         just a duplicate and not needed. Exchange rit->par() with pit in a
6553         lot of places.
6554         (breakAgain): use a temp var for boost::next(rit)
6555         (breakAgainOneRow): ditto
6556         (breakParagraph): use a temp var for rows().begin()
6557         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6558         (cursorRightOneWord): use temp var for cursor.par() and
6559         cursor.pos(), remove usage of tmpcursor.
6560         (cursorLeftOneWord): use temp var for cursor.par() and
6561         cursor.pos() only set cur at end of function.
6562
6563 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6564
6565         * text.C, text2.C: exchange all usage of Paragraph::next with
6566         boost::next(ParagraphList::iterator)
6567
6568         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6569
6570         * text2.C (cursorTop): simplify implementation
6571         (cursorBottom): ditto
6572         (setParagraph): use ParagraphList::iterator
6573         (setCurrentFont): adjust
6574         (getColumnNearX): adjust
6575         (cursorRight): adjust
6576         (cursorLeft): remove usage of Paragraph::previous
6577         (cursorUpParagraph): ditto
6578         (deleteEmptyParagraphMechanism): slight cleanup
6579
6580         * text.C (isBoundary): take a Paragraph const & instead of a
6581         pointer as arg.
6582         (addressBreakPoint): ditto
6583         (leftMargin): remove usage of Paragraph::previous.
6584         (setHeightOfRow): ditto
6585         (cursorLeftOneWord): ditto
6586         (selectNextWordToSpellcheck): ditto
6587         (Delete): ditto
6588         (backspace): ditto
6589         (breakParagraph): remove one usage of Paragraph::next
6590         (redoParagraph): ditto
6591         (acceptChange): ditto
6592         (insertChar): adjust
6593         (rowBreakPoint): adjust
6594
6595         * bufferview_funcs.C (toggleAndShow): adjust
6596
6597 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6598
6599         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6600         methods to access it.
6601         * lyxtext.h:
6602         * text.C: Added updateRowPositions to compute all row positions.
6603         Make top_y and getRowNearY() to use the cached y position
6604
6605 2003-04-11  John Levon  <levon@movementarian.org>
6606
6607         * text.C (rowBreakPoint): reintroduce the labelEnd
6608         checks, code copied from the row fill stuff. Deep voodoo.
6609
6610         * text.C (fill): add a comment and debugging for the
6611         next poor soul.
6612
6613 2003-04-11  John Levon  <levon@movementarian.org>
6614
6615         * text.C: make sure fullrow insets get wrapped to the next line,
6616         even when they're in a manual label
6617
6618 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6619
6620         * text2.C (insertParagraph): make it take ParagraphList::iterator
6621         as arg.
6622         (setLayout): make it return ParagraphList::iterator
6623         (redoParagraphs): ditto
6624         (setCounter): ditto
6625         (checkParagraph): ditto
6626
6627         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6628
6629         * text2.C: adjust several funcs.
6630         (realizeFont): take a ParagraphList::iterator as arg.
6631         (getLayoutFont): ditto
6632         (getLabelFont): ditto
6633         (setCharFont): ditto
6634
6635         * text.C: adjust several funcs.
6636
6637 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6638
6639         * text.C (selectNextWordToSpellcheck): don't accidentally
6640         skip insets
6641
6642 2003-04-10  John Levon  <levon@movementarian.org>
6643
6644         * ToolbarBackend.C (getIcon): special handling for
6645         LFUN_MATH_DELIM
6646
6647 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6648
6649         * text2.C (cursorRight): a getChar assert fixed
6650
6651 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6652
6653         * text2.C (getFont): change to take a ParagraphList::iterator
6654         instead of Paragraph*
6655         Adjust several functions.
6656
6657         * text.C (transformChar): change to take a ParagraphList::iterator
6658         instead of Paragraph*
6659         (singleWidth): ditto
6660         Adjust several functions.
6661
6662         * rowpainter.C: adjust several functions
6663         * rowpainter.h:store a ParagraphList::iterator and not a
6664         Paragraph&.
6665
6666
6667 2003-04-09  John Levon  <levon@movementarian.org>
6668
6669         * lyxfunc.C:
6670         * lfuns.h:
6671         * LyXAction.h:
6672         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6673         and the "help" bits as well
6674
6675 2003-04-09  John Levon  <levon@movementarian.org>
6676
6677         * ToolbarBackend.h:
6678         * ToolbarBackend.C: allow multiple toolbars
6679
6680 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6681
6682         * undo_funcs.C (setCursorParUndo): adjust
6683
6684         * text_funcs.C (transposeChars): adjust
6685
6686         * text3.C (gotoNextInset): adjust
6687         (dispatch): adjust
6688
6689         * text2.C (setLayout): adjust
6690         (changeDepth): adjust
6691         (setFont): adjust
6692         (redoParagraphs): adjust
6693         (selectionAsString): adjust
6694         (setParagraph): adjust
6695         (insertInset): adjust
6696         (cutSelection): adjust
6697         (copySelection): adjust
6698         (pasteSelection): adjust
6699         (insertStringAsLines): adjust
6700         (updateInset): adjust
6701         (setCursor): change to take a ParagraphList::iterator parameter
6702         (setCursorIntern): change to take a ParagraphList::iterator parameter
6703         (setCurrentFont): adjust
6704         (cursorLeft): adjust
6705         (cursorRight): adjust
6706         (deleteEmptyParagraphMechanism): adjust
6707
6708         * text.C (breakParagraph): adjust
6709         (insertChar): adjust
6710         (acceptChange): adjust
6711         (rejectChange): adjust
6712         (selectNextWordToSpellcheck): adjust
6713         (changeCase): adjust
6714         (Delete): adjust
6715         (backspace): adjust
6716
6717         * lyxfind.C (SearchForward): adjust
6718         (SearchBackward): adjust
6719         (nextChange): adjust
6720
6721         * lyxcursor.C (par): adjust
6722
6723         * lyxcursor.h: store a ParagraphList::iterator instead of a
6724         Paragraph*
6725
6726         * lyx_cb.C (getPossibleLabel): adjust
6727
6728         * bufferview_funcs.C (toggleAndShow): adjust
6729
6730         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6731         (dispatch): adjust
6732
6733         * BufferView.C (removeAutoInsets): adjust
6734         (lockedInsetStoreUndo): adjust
6735
6736 2003-04-09  John Levon  <levon@movementarian.org>
6737
6738         * ToolbarBackend.C: try icon without argument
6739         if with argument fails
6740
6741 2003-04-08  John Levon  <levon@movementarian.org>
6742
6743         * ToolbarBackend.h:
6744         * ToolbarBackend.C: add getIcon(), handle tooltip,
6745         and change from "Icon" to "Item".
6746
6747 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6748
6749         * BufferView.C (lockInset): another bad getchar crunched
6750
6751 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6754         again)
6755
6756 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6757
6758         * lyxfind.C (searchForward, searchBackwards): bug 782
6759
6760 2003-04-07  John Levon  <levon@movementarian.org>
6761
6762         * paragraph.C: remove dead comment
6763
6764         * text.C: remove troublesome depth-fiddling code
6765         in leftMargin() and rightMargin() (bug 1017)
6766
6767         * text.C: fix breaking of rows in nested lists
6768         (bug 1004)
6769
6770         * text2.C (updateCounters): fix up depth values
6771         (bug 1013)
6772
6773 2003-04-07  John Levon  <levon@movementarian.org>
6774
6775         * BufferView_pimpl.C: clear message when doc finishes resizing,
6776         and after a mouse event
6777
6778         * lyxfunc.C: clear message after exiting inset
6779
6780 2003-04-07  John Levon  <levon@movementarian.org>
6781
6782         * bufferview_funcs.C: show math status not outside
6783         status in the statusbar
6784
6785 2003-04-07  John Levon  <levon@movementarian.org>
6786
6787         * lyxfunc.C: note status changed after a depth change
6788
6789 2003-04-04  Angus Leeming  <leeming@lyx.org>
6790
6791         * LaTeX.h: move AuxInfo operator==, != out of line.
6792         Remove LaTeX virtual destructor; nothing derives from it.
6793         Move operator()() out of public area and rename it startscript().
6794         Change protected for private.
6795
6796 2003-04-04  Angus Leeming  <leeming@lyx.org>
6797
6798         * lyxfunc.C:
6799         * text2.C: remove unneeded #includes.
6800
6801 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6802
6803         * text2.C (dEPM): fix the heigth of the next row
6804
6805 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6806
6807         * text.C: squashed an invalid getChar requester + some ws changes
6808
6809 2003-04-03  John Levon  <levon@movementarian.org>
6810
6811         * bufferview_funcs.h:
6812         * bufferview_funcs.C:
6813         * lyxfunc.C:
6814         * lyxtext.h:
6815         * text2.C: make getStatus work for the env depth lfuns
6816
6817 2003-04-03  John Levon  <levon@movementarian.org>
6818
6819         * bufferview_funcs.h:
6820         * bufferview_funcs.C:
6821         * lyxfunc.C:
6822         * lyxtext.h:
6823         * text2.C: parlistize decDepth(), by merging it with incDepth()
6824
6825 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6826
6827         * lyxrow.h: store a ParagraphList::iterator instead of a
6828         Paragraph* and adjust other class functions to suit.
6829
6830         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6831         above.
6832
6833 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6834
6835         * text2.C (setCursor): do not anchor to cursor row for the time being
6836
6837 2003-04-02  John Levon  <levon@movementarian.org>
6838
6839         * LyXAction.C:
6840         * lfuns.h:
6841         * lyx_main.C:
6842         * lyxtext.h:
6843         * text.C:
6844         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6845
6846 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6847
6848         * paragraph.h: make ParagraphList and ParagraphList::iterator
6849         friends of Paragraph.
6850
6851         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6852
6853         * ParagraphList.C: Use the private next_ and previous_ from
6854         Paragraph.
6855
6856 2003-04-01  John Levon  <levon@movementarian.org>
6857
6858         * ToolbarBackend.h:
6859         * ToolbarBackend.C:
6860         * Makefile.am: rename, remove defaults gunk
6861
6862         * MenuBackend.h:
6863         * MenuBackend.C: remove defaults gunk
6864
6865         * Languages.h:
6866         * Languages.C: remove defaults gunk
6867
6868         * lyx_main.h:
6869         * lyx_main.C: error out if files couldn't be found.
6870
6871 2003-04-02  John Levon  <levon@movementarian.org>
6872
6873         * text2.C: make incDepth() use parlist
6874
6875 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * undo_funcs.C (firstUndoParagraph): adjust
6878
6879         * text3.C (gotoInset): adjust
6880         (dispatch): adjust, and rewrite loop.
6881
6882         * text2.C (init): adjust, and rewrite loop.
6883         (redoParagraphs): adjust
6884         (updateInset): adjust, and rewrite loop.
6885         (deleteEmptyParagraphMechanism): adjust
6886
6887         * tabular.C (LyXTabular): adjust
6888         (SetMultiColumn): adjust
6889         (TeXRow): adjust
6890
6891         * lyxtext.[Ch] (ownerParagraph): delete function
6892         (ownerParagraphs): new function returns a ParagraphList.
6893
6894         * BufferView.C (removeAutoInsets): adjust
6895         (insertErrors): adjust
6896         (setCursorFromRow): adjust
6897
6898 2003-04-01  Angus Leeming  <leeming@lyx.org>
6899
6900         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6901         in the frontends.
6902
6903 2003-04-02  John Levon  <levon@movementarian.org>
6904
6905         * lyxtext.h:
6906         * text.C:
6907         * Makefile.am:
6908         * text_funcs.h:
6909         * text_funcs.C: make transposeChars a free function
6910
6911         * lyxrow_funcs.C: remove wrong comment
6912
6913 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6914
6915         * lyxtext.h: adjust
6916         * rowpainter.C: adjust
6917         * text.C: adjust
6918         * text2.C: adjust
6919         * text3.C: adjust
6920
6921         * lyxrow_funcs. [Ch]: new files
6922
6923         * lyxrow.[Ch]: remove next and previous pointers
6924         (next,previous): remove accessor functions
6925         (isParEnd): move to lyxrow_funcs
6926         (lastPos): move to lyxrow_funcs
6927         (nextRowIsAllInset): move to lyxrow_funcs
6928         (lastPrintablePos): move to lyxrow_funcs
6929         (numberOfSeparators): move to lyxrow_funcs
6930         (numberOfHfills): move to lyxrow_funcs
6931         (numberOfLabelHfills): move to lyxrow_funcs
6932         (hfillExpansion): move to lyxrow_funcs
6933
6934         * lyxfunc.C: adjust
6935
6936         * bufferview_funcs.C (toggleAndShow): adjust
6937
6938         * RowList.h: Remove class RowList from file leave just a
6939         std::list<Row>.
6940
6941         * RowList.C: delete file
6942
6943         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6944         and lyxrow_funcs.h
6945
6946 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6947
6948         * text3.C (cursorPrevious): adjust
6949         (cursorNext): adjust
6950         (dispatch): adjust
6951
6952         * text2.C (redoHeightOfParagraph): adjust
6953         (redoDrawingOfParagraph): adjust
6954         (setCursor): adjust
6955
6956         * text.C (breakParagraph): adjust
6957         (insertChar): adjust
6958         (backspace): adjust
6959
6960         * rowpainter.C (RowPainter): adjust
6961         (leftMargin): simplify and adjust
6962         (most rowpainter functions): adjust.
6963
6964         * rowpainter.h: store the row as RowList::iterator not as Row*
6965
6966         * lyxcursor.C (row): taka RowList::iterator as arg
6967         (irow): ditto
6968
6969         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6970         of Row*.
6971
6972 2003-04-01  Angus Leeming  <leeming@lyx.org>
6973
6974         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6975         stuff like bool Bool.
6976
6977 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6978
6979         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6980         rewrite a loop
6981
6982 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6983
6984         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6985         RowList::iterator.
6986
6987         * lyxtext.h (rows): drop one version and leve a const variant that
6988         returns a RowList::iterator.
6989
6990 2003-03-31  Angus Leeming  <leeming@lyx.org>
6991
6992         * text.C (fill): ensure that the signature is the same as that in the
6993         header file.
6994
6995 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6996
6997         * text2.C (redoParagraphs): adjust
6998         (updateCounters): adjust
6999         (checkParagraph): adjust
7000         (getColumnNearX): adjust and reformat a bit.
7001
7002         * text.C (top_y): adjust
7003         (workWidth): adjust
7004         (leftMargin): adjust
7005         (prepareToPrint): adjust
7006         (getRow): adjust
7007         (getRowNearY): adjust
7008
7009         * lyxtext.h: make rowlist_ mutable.
7010
7011         * RowList.h: add const_iterator
7012         * RowList.C: adjust for RowList::const_iterator.
7013
7014         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7015         adjust.
7016
7017 2003-03-31  John Levon  <levon@movementarian.org>
7018
7019         * lyxrc.h:
7020         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7021
7022         * lyx_main.C: set default fonts from using lyx_gui funcs
7023
7024         * exporter.C: pdf_mode moved from lyxrc
7025
7026         * lyx_cb.C:
7027         * lyxfunc.C: changes from above
7028
7029 2003-03-31  John Levon  <levon@movementarian.org>
7030
7031         * lyx_main.C: fix to the last fix
7032
7033 2003-03-31  John Levon  <levon@movementarian.org>
7034
7035         * bufferlist.C: "Load original" -> "Load Original"
7036
7037         * converter.C:
7038         * exporter.C:
7039         * importer.C:
7040         * lyx_main.C:
7041         * format.C: more Alert cleanups
7042
7043 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7044
7045         * text2.C (removeParagraph): make it take a RowList::iterator as
7046         arg, adjust.
7047         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7048         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7049
7050         * text.C (anchor_row): make it take a RowList::iterator as arg,
7051         adjust.
7052         (computeBidiTables): make it take a const reference to Row instead
7053         of Row pointer, adjust.
7054         (leftMargin): make it take a RowList::iterator as arg, adjust.
7055         (rowBreakPoint): adjust
7056         (breakAgainOneRow): make it take a RowList::iterator as arg,
7057         adjust.
7058         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7059
7060         * bufferview_funcs.C (toggleAndShow): adjust
7061
7062 2003-03-30  John Levon  <levon@movementarian.org>
7063
7064         * Makefile.am:
7065         * BoostFormat.h:
7066         * boost-inst.C: moved to support
7067
7068         * several files: changes as a result
7069
7070 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7071
7072         * text2.C (LyXText): adjust.
7073         (init): adjust
7074         (removeRow): make it take a RowList::iterator as arg, adjust.
7075         (fullRebreak): adjust
7076         (deleteEmptyParagraphMechanism): adjust
7077         (clearPaint): adjust
7078         (postPaint): adjust
7079
7080         * text.C (top_y): adjust
7081         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7082         (breakAgain): make it take a RowList::iterator as arg, adjust.
7083         (breakParagraph): adjust
7084         (insertChar): adjust
7085         (backspace): adjust
7086
7087         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7088         need_break_row, and refresh_row.
7089
7090         * text3.C (dispatch): adjust
7091
7092         * text2.C (checkParagraph): adjust
7093         (setCursor): adjust
7094         (setCursorFromCoordinates): adjust
7095
7096         * text.C (top_y): adjust
7097         (workWidth): adjust
7098         (getRow): make it return a RowList::iterator, adjust
7099         (getRowNearY): make it return a RowList::iterator, adjust
7100
7101         * text2.C (init): adjust
7102         (insertRow): remove function
7103         (insertParagraph): adjust
7104         (redoParagraphs): adjust
7105         (fullRebreak): adjust
7106         (updateCounters): adjust
7107
7108         * text.C (top_y): rewrite to use RowList iterators.
7109         (top_y): adjust
7110         (setHeightOfRow): rewrite to sue RowList iterators.
7111         (appendParagraph): adjust
7112         (breakAgain): adjust
7113         (breakAgainOneRow): adjust
7114         (breakParagraph): adjust
7115         (getRow): adjust
7116         (getRowNearY): adjust, and remove commented code.
7117
7118         * lyxtext.h (firstRow): delete function
7119         (lastRow): delete function
7120         (rows): new function (const and non-const versions.)
7121         (insertRow): delete function
7122
7123         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7124
7125 2003-03-29  John Levon  <levon@movementarian.org>
7126
7127         * BufferView_pimpl.C: always update scrollbar top
7128         because pasting text when we're anchored could mean we
7129         miss an update altogether
7130
7131 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * text2.C (init): use rowlist_.end() and not 0.
7134         (insertRow): change to take a RowList::iterator as arg, adjust
7135         for this.
7136         (insertParagraph): change to take a RowList::iterator as arg,
7137         adjust for this.
7138         (redoParagraphs): remove some debug msgs.
7139
7140         * text.C (appendParagraph): change to take a RowList::iterator
7141         arg, adjust for this.
7142         (breakAgain): add an assert
7143         (breakAgainOneRow): ditto
7144
7145 2003-03-29  John Levon  <levon@movementarian.org>
7146
7147         * text2.C: do not clear selection after inc/decDepth
7148         (bug 550)
7149
7150 2003-03-29  John Levon  <levon@movementarian.org>
7151
7152         * BufferView.C:
7153         * buffer.C: fix broken strerrors according to Lars
7154
7155 2003-03-29  John Levon  <levon@movementarian.org>
7156
7157         * converters.C: more Alert cleanups
7158
7159 2003-03-29  John Levon  <levon@movementarian.org>
7160
7161         * bufferview_funcs.C: remove pointless Alert
7162
7163         * buffer.C: fix confusing error message when
7164         a template is chmoded 000
7165
7166 2003-03-29  John Levon  <levon@movementarian.org>
7167
7168         * BufferView.C:
7169         * BufferView.h:
7170         * BufferView_pimpl.C: Alert fixes
7171
7172         * Makefile.am:
7173         * tabular.C:
7174         * tabular-old.C: remove unused table compat reading
7175
7176 2003-03-29  John Levon  <levon@movementarian.org>
7177
7178         * BufferView.C:
7179         * buffer.C:
7180         * lyx_cb.h:
7181         * lyx_cb.C: more Alert cleanups
7182
7183         * lyxfunc.C: don't allow chktex if not latex document
7184
7185 2003-03-29  John Levon  <levon@movementarian.org>
7186
7187         * lyx_cb.C:
7188         * BufferView.C:
7189         * buffer.C: warnings pushed down from support/,
7190         kill err_alert
7191
7192 2003-03-29  John Levon  <levon@movementarian.org>
7193
7194         * lyxfunc.C: safety check for C-r (revert)
7195
7196 2003-03-29  John Levon  <levon@movementarian.org>
7197
7198         * bufferlist.h:
7199         * bufferlist.C: several UI fixes using Alert::prompt.
7200         Fix the pointless looping quit code. Fix stupid revert
7201         behaviour (bug 938)
7202
7203         * lyxvc.h:
7204         * lyxvc.C:
7205         * lyx_cb.C: use Alert::prompt
7206
7207         * lyx_main.C: remove a silly question
7208
7209         * lyxfunc.C: remove a couple of silly questions,
7210         use Alert::prompt
7211
7212 2003-03-28  John Levon  <levon@movementarian.org>
7213
7214         * text2.C: fix bug 974 (End on empty par)
7215
7216 2003-03-28  John Levon  <levon@movementarian.org>
7217
7218         * BufferView_pimpl.C:
7219         * LyXAction.C:
7220         * lfuns.h: remove do-nothing math greek lfuns
7221
7222 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7223
7224         * lyxgluelength.h (isValidGlueLength): add default arg on
7225         parameter 2. Remove default arg from friend in class.
7226
7227         * lyxlength.h (isValidLength): add default arg on parameter 2.
7228         Remove default arg from friend in class.
7229
7230         * text2.C (LyXText): adjust, initialize refresh_row.
7231         (init): adjust
7232         (removeRow): adjust
7233         (insertRow): adjust
7234         (insertParagraph): adjst
7235         (redoParagraphs): adjust
7236         (fullRebreak): adjust
7237         (updateCounters): adjust
7238         (deleteEmptyParagraphMechanism): first attempt at fixing a
7239         crashing bug.
7240
7241         * text.C (top_y): adjust
7242         (setHeightOfRow): adjust
7243         (getRow): adjust
7244         (getRowNearY): adjust
7245
7246         * lyxtext.h: include RowList.h
7247         (~LyXText): not needed anymore, deleted.
7248         (firstRow): modify for RowList
7249         (lastRow): new function
7250         Delete firstrow and lastrow class variables, add a Rowlist
7251         rowlist_ class variable.
7252
7253         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7254         paragraph is empty.
7255
7256         * RowList.C (insert): fix case where it == begin().
7257
7258 2003-03-26  Angus Leeming  <leeming@lyx.org>
7259
7260         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7261         the thesaurus dialog.
7262
7263 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7266
7267         * RowList.[Ch]: new files
7268
7269         * ParagraphList.C (erase): handle the case where it == begin
7270         correctly.
7271
7272 2003-03-25  John Levon  <levon@movementarian.org>
7273
7274         * Makefile.am:
7275         * aspell_local.h:
7276         * aspell.C: add new aspell support
7277
7278         * lyxrc.h:
7279         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7280         have it accessible.
7281
7282 2003-03-25  Angus Leeming  <leeming@lyx.org>
7283
7284         * lfuns.h:
7285         * LyXAction.C (init): new LFUN_INSET_INSERT.
7286
7287         * BufferView_pimpl.C (dispatch): split out part of the
7288         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7289
7290         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7291         LFUN_INSET_APPLY.
7292
7293 2003-03-25  Angus Leeming  <leeming@lyx.org>
7294
7295         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7296
7297 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7298
7299         * text2.C:
7300         * text3.C: remove useless row->height(0)
7301
7302 2003-03-25  John Levon  <levon@movementarian.org>
7303
7304         * lyxtext.h:
7305         * text2.C:
7306         * text3.C: rename the refreshing stuff to better names
7307
7308 2003-03-24  John Levon  <levon@movementarian.org>
7309
7310         * BufferView_pimpl.h:
7311         * BufferView_pimpl.C: update layout choice on a mouse
7312         press/release
7313
7314 2003-03-23  John Levon  <levon@movementarian.org>
7315
7316         * Makefile.am: fix commandtags.h reference
7317
7318 2003-03-22  John Levon  <levon@movementarian.org>
7319
7320         * BufferView_pimpl.C:
7321         * lyxtext.h:
7322         * rowpainter.C:
7323         * rowpainter.h:
7324         * text.C:
7325         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7326
7327 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * lyxtext.h:
7330         * text.C: take the rtl methods out of line
7331
7332 2003-03-21 André Pönitz <poenitz@gmx.net>
7333
7334         * metricsinfo.[Ch]: new files containing structures to be passed around
7335         during the two-phase-drawing...
7336
7337 2003-03-21 André Pönitz <poenitz@gmx.net>
7338
7339         * lyxtextclass.C: read 'environment' tag.
7340
7341 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7342
7343         * text2.C (removeRow): fix bug 964
7344
7345 2003-03-20  John Levon  <levon@movementarian.org>
7346
7347         * rowpainter.C:
7348         * text.C:
7349         * text2.C: paint cleanups. Inset::update() dropped font
7350         parameter
7351
7352 2003-03-19  John Levon  <levon@movementarian.org>
7353
7354         * lyxfunc.C: only fitcursor/markDirty if available()
7355
7356 2003-03-19  John Levon  <levon@movementarian.org>
7357
7358         * commandtags.h: rename to ...
7359
7360         * lfuns.h: ... this, and renumber / cleanup
7361
7362 2003-03-19  John Levon  <levon@movementarian.org>
7363
7364         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7365         fit the cursor after an lfun
7366
7367         * BufferView.h:
7368         * BufferView.C:
7369         * BufferView_pimpl.h:
7370         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7371
7372         * LyXAction.C: layout-character should have ReadOnly
7373
7374         * ParagraphParameters.C:
7375         * buffer.C:
7376         * bufferview_funcs.C:
7377         * lyx_cb.C:
7378         * lyxfind.C:
7379         * lyxtext.h:
7380         * text.C:
7381         * text2.C:
7382         * text3.C:
7383         * undo_funcs.C: changes from above
7384
7385 2003-03-18  John Levon  <levon@movementarian.org>
7386
7387         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7388         remove it from update()
7389
7390         * lyxfunc.C: update layout choice after an lfun
7391
7392         * text3.C: remove extra updateLayoutChoice()s
7393
7394 2003-03-18  John Levon  <levon@movementarian.org>
7395
7396         * text.C: top_y change means full repaint, fix
7397         a drawing bug with cursor movement
7398
7399 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7400
7401         * lyxtext.h:
7402         * text.C:
7403         * text2.C: anchor row on setCursor
7404
7405 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7406
7407         * lyxtext.h: remove almost all mutable keywords
7408         * text.C:
7409         * text2.C:
7410         * text3.C: remove const keywords accordingly
7411
7412 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7413
7414         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7415         anon namespace
7416         (TeXEnvironment): ditto
7417         (TeXOnePar): ditto
7418
7419 2003-03-17  John Levon  <levon@movementarian.org>
7420
7421         * text.C (rowBreakPoint): remove attempt to fix displayed
7422         math insets inside a manual label
7423
7424 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * lyxtext.h: remove BufferView* as first arg from almost all class
7427         functions.
7428         * other files: adjust.
7429
7430 2003-03-17  John Levon  <levon@movementarian.org>
7431
7432         * lyxtext.h:
7433         * undo_funcs.C:
7434         * text2.C: more paint cleanups
7435
7436         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7437
7438         * rowpainter.h:
7439         * rowpainter.C: remove "smart" background painting code
7440
7441 2003-03-16  John Levon  <levon@movementarian.org>
7442
7443         * lyxtext.h:
7444         * text.C:
7445         * text2.C:
7446         * text3.C: add helper functions for setting refresh_row/y
7447
7448 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7449
7450         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7451         newline inset which *can* get inserted in the pass_thru layouts.
7452         This is primarily for literate documents.
7453
7454 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7455
7456         * buffer.C: increment LYX_FORMAT to 223
7457
7458 2003-03-14 André Pönitz <poenitz@gmx.net>
7459
7460         * textclass.h: prepare for environment handling, ws changes
7461         * lyxlayout.C: read latexheader and latexfooter tags
7462
7463 2003-03-14  John Levon  <levon@movementarian.org>
7464
7465         * text2.C: rewrite ::status() a bit
7466
7467 2003-03-13  John Levon  <levon@movementarian.org>
7468
7469         * lyxtext.h: add some docs
7470
7471 2003-03-13  John Levon  <levon@movementarian.org>
7472
7473         * lyxtext.h:
7474         * text.C:
7475         * text2.C:
7476         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7477
7478 2003-03-13  John Levon  <levon@movementarian.org>
7479
7480         * text3.C: fix appendix redrawing
7481
7482 2003-03-13  John Levon  <levon@movementarian.org>
7483
7484         * text.C (setHeightOfRow):
7485         * rowpainter.h:
7486         * rowpainter.C: make appendix mark have the text
7487           "Appendix" so the user knows what it is
7488
7489         * LColor.h:
7490         * LColor.C: s/appendixline/appendix/ from above
7491
7492 2003-03-13  John Levon  <levon@movementarian.org>
7493
7494         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7495
7496         * text.C: fix a getChar(pos) bug properly
7497
7498 2003-03-13  Angus Leeming  <leeming@lyx.org>
7499
7500         * commandtags.h:
7501         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7502         Probably only temporary. Let's see how things pan out.
7503
7504         * BufferView.C (unlockInset):
7505         * BufferView_pimpl.C (fitCursor):
7506         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7507
7508         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7509         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7510
7511         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7512         new functions that convert ParagraphParameters to and from a string.
7513
7514         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7515         BufferView::Pimpl's dispatch.
7516         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7517
7518 2003-03-13 André Pönitz <poenitz@gmx.net>
7519
7520         * lyxfunc.C:
7521         * text3.C:
7522         * factory.C: make it aware of InsetEnv
7523
7524 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * text2.C (setCursor): never ask for one past last
7527         (setCursor): add some debugging messages.
7528
7529         * text.C (singleWidth): never ask for one past last
7530         (singleWidth): ditto
7531         (leftMargin): ditto
7532         (rightMargin): ditto
7533         (rowBreakPoint): ditto
7534         (setHeightOfRow): ditto
7535         (prepareToPrint): ditto
7536
7537         * rowpainter.C (paintBackground): never ask for one past last
7538         (paintText): never ask for one past last
7539
7540         * paragraph_pimpl.C (getChar): make the assert stricter, never
7541         allow the one past last pos to be taken
7542
7543         * paragraph.C (getChar): ws changes only
7544
7545         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7546         (numberOfSeparators): ditto
7547         (numberOfHfills): ditto
7548
7549 2003-03-12  John Levon  <levon@movementarian.org>
7550
7551         * author.h:
7552         * author.C:
7553         * bufferparams.h:
7554         * bufferparams.C:
7555         * paragraph_funcs.C: fix per-buffer authorlists
7556
7557 2003-03-12  John Levon  <levon@movementarian.org>
7558
7559         * text.C: fix newline in right address
7560
7561 2003-03-12  Angus Leeming  <leeming@lyx.org>
7562
7563         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7564         duplicate those in LyXFunc::dispatch.
7565
7566         * commandtags.h:
7567         * LyXAction.C:
7568         * ToolbarDefaults.C:
7569         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7570         Add LFUN_FONTFREE_UPDATE.
7571
7572         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7573         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7574
7575         * bufferview_func.[Ch]: several new functions to facilliate
7576         transfer of data to and from the character dialog.
7577
7578 2003-03-12  John Levon  <levon@movementarian.org>
7579
7580         * buffer.C:
7581         * paragraph.h:
7582         * paragraph.C:
7583         * paragraph_funcs.C:
7584         * paragraph_pimpl.C:
7585         * sgml.C:
7586         * tabular.C:
7587         * text.C:
7588         * text3.C: remove META_NEWLINE in favour of an inset
7589
7590         * rowpainter.h:
7591         * rowpainter.C: remove paintNewline (done by inset)
7592
7593 2003-03-12  John Levon  <levon@movementarian.org>
7594
7595         * paragraph_pimpl.C: complain about bad getChar()s
7596         for a while at least
7597
7598 2003-03-12  John Levon  <levon@movementarian.org>
7599
7600         * buffer.h:
7601         * buffer.C: move paragraph read into a separate function,
7602         a little renaming to reflect that.
7603
7604         * bufferparams.h:
7605         * bufferparams.C: remove the author_ids map, not necessary now
7606
7607         * factory.h:
7608         * factory.C: moved Buffer::readInset to here
7609
7610         * paragraph_funcs.h:
7611         * paragraph_funcs.C: readParagraph free function moved from
7612         buffer.C
7613
7614         * tabular.C: name change
7615
7616 2003-03-12  John Levon  <levon@movementarian.org>
7617
7618         * buffer.C:
7619         * ParagraphParameters.C: move par params input to
7620         a read() method
7621
7622         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7623         behave like a normal read from the stream wrt reading
7624         a line vs. a \\token
7625
7626 2003-03-12  John Levon  <levon@movementarian.org>
7627
7628         * paragraph.C:
7629         * ParagraphParameters.h:
7630         * ParagraphParameters.C: move output code to a
7631         ::write() method
7632
7633 2003-03-12  John Levon  <levon@movementarian.org>
7634
7635         * BufferView.C (insertLyXFile):
7636         * buffer.h:
7637         * buffer.C:
7638         * tabular.C: use a parlist iterator for creating the
7639           document.
7640
7641 2003-03-12  John Levon  <levon@movementarian.org>
7642
7643         * buffer.C: make current_change static local not
7644           static file-scope
7645
7646 2003-03-12  John Levon  <levon@movementarian.org>
7647
7648         * buffer.C: fix insertStringAsLines for change tracking
7649
7650 2003-03-12  John Levon  <levon@movementarian.org>
7651
7652         * BufferView.C:
7653         * tabular.C:
7654         * buffer.h:
7655         * buffer.C:
7656         * bufferparams.h:
7657         * bufferparams.C: move author list into params. Rename some
7658           functions. Move the header reading into a separate token
7659           loop. Move the header token reading into BufferParams.
7660
7661 2003-03-12  John Levon  <levon@movementarian.org>
7662
7663         * changes.C: put debug inside lyxerr.debugging() checks
7664
7665 2003-03-11 André Pönitz <poenitz@gmx.net>
7666
7667         * factory.C: make it aware of InsetHFill
7668
7669 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7670
7671         * buffer.C (latexParagraphs): move function from here...
7672         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7673         args.
7674
7675 2003-03-10  Angus Leeming  <leeming@lyx.org>
7676
7677         * LyXAction.C (init): fix bug in poplating array with multiple entries
7678         with the same LFUN (spotted by JMarc).
7679
7680 2003-03-10  John Levon  <levon@movementarian.org>
7681
7682         * text.C:
7683         * text2.C: move getColumnNearX() near its
7684         only call site
7685
7686 2003-03-10  John Levon  <levon@movementarian.org>
7687
7688         * text.C: fix break before a minipage
7689
7690 2003-03-10  John Levon  <levon@movementarian.org>
7691
7692         * text.C: fix the last commit
7693
7694 2003-03-09  John Levon  <levon@movementarian.org>
7695
7696         * lyxtext.h:
7697         * text.C:
7698         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7699         bug 365 (don't break before insets unless needed). Don't
7700         return a value > last under any circumstances.
7701
7702 2003-03-09  Angus Leeming  <leeming@lyx.org>
7703
7704         * BufferView_pimpl.C (trackChanges, dispatch): call
7705         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7706
7707 2003-03-09  Angus Leeming  <leeming@lyx.org>
7708
7709         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7710         than Dialogs::showAboutlyx().
7711
7712 2003-03-09  Angus Leeming  <leeming@lyx.org>
7713
7714         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7715         than Dialogs::showTabularCreate().
7716
7717 2003-03-09  John Levon  <levon@movementarian.org>
7718
7719         * lyxtext.h:
7720         * text.C:
7721         * text2.C: 3rd arg to nextBreakPoint was always the same.
7722           Use references.
7723
7724 2003-03-08  John Levon  <levon@movementarian.org>
7725
7726         * lyxrow.C:
7727         * paragraph.C:
7728         * paragraph.h:
7729         * rowpainter.C:
7730         * text.C:
7731         * text2.C: Remove the "main" bit from the "main body"
7732           notion.
7733
7734 2003-03-08  John Levon  <levon@movementarian.org>
7735
7736         * text.C (leftMargin): The left margin of an empty
7737         manual label paragraph should not include the label width
7738         string length.
7739
7740         * text.C (prepareToPrint): don't attempt to measure hfills
7741         for empty manual label paragraphs - the answer should be 0
7742
7743 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * CutAndPaste.C: remove commented code and reindent.
7746
7747 2003-03-08  John Levon  <levon@movementarian.org>
7748
7749         * lyxfunc.h:
7750         * lyxfunc.C: move reloadBuffer()
7751
7752         * BufferView.h:
7753         * BufferView.C: to here
7754
7755         * lyxvc.C: add comment
7756
7757         * vc-backend.h:
7758         * vc-backend.C: call bv->reload() to avoid
7759           getStatus() check on MENURELOAD
7760
7761 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7762
7763         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7764         to an old format .dep file.
7765
7766 2003-03-07  Angus Leeming  <leeming@lyx.org>
7767
7768         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7769         when the LFUN_MOUSE_RELEASE should have been handled by
7770         inset->localDispatch.
7771
7772 2003-03-07  Angus Leeming  <leeming@lyx.org>
7773
7774         * BufferView_pimpl.C (dispatch):
7775         * LyXAction.C (init):
7776         * ToolbarDefaults.C (init):
7777         * commandtags.h:
7778         * lyxfunc.C (getStatus):
7779         remove LFUN_INSET_GRAPHICS.
7780
7781         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7782
7783 2003-03-07  Angus Leeming  <leeming@lyx.org>
7784
7785         * commandtags.h:
7786         * LyXAction.C (init):
7787         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7788
7789         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7790
7791         * commandtags.h:
7792         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7793
7794         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7795         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7796
7797 2003-03-07  Angus Leeming  <leeming@lyx.org>
7798
7799         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7800         remove "ert".
7801
7802 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7803
7804         * ParagraphList.C (front): new function
7805         (back): implement
7806
7807 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7808
7809         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7810         and top_row_offset_. removed var first_y.
7811         * text.C (top_y):
7812         * text2.C (LyXText, removeRow):
7813         * text3.C:
7814         * BufferView_pimpl.C:
7815         use these methods instead of using first_y
7816
7817 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7818
7819         * text2.C (pasteSelection): adjust for checkPastePossible
7820
7821         * CutAndPaste.C: remove Paragraph * buf and replace with
7822         ParagraphList paragraphs.
7823         (DeleteBuffer): delete
7824         (cutSelection): change the tc type to textclass_type
7825         (copySelection): change the tc type to textclass_type
7826         (copySelection): adjust for ParagraphList
7827         (pasteSelection): change the tc type to textclass_type
7828         (pasteSelection): adjust for Paragraphlist
7829         (nrOfParagraphs): simplify for ParagraphList
7830         (checkPastePossible): simplify for ParagraphList
7831         (checkPastePossible): remove unused arg
7832
7833         * ParagraphList.C (insert): handle the case where there are no
7834         paragraphs yet.
7835
7836         * CutAndPaste.h: make CutAndPaste a namespace.
7837
7838         * text3.C (dispatch): adjust
7839
7840         * text.C (breakParagraph): add a ParagraphList as arg
7841
7842         * paragraph_funcs.C (breakParagraph): change to take a
7843         BufferParams and a ParagraphList as args.
7844         (breakParagraphConservative): ditto
7845         (mergeParagraph): ditto
7846         (TeXDeeper): add a ParagraphList arg
7847         (TeXEnvironment): ditto
7848         (TeXOnePar): ditto
7849
7850         * buffer.C (readLyXformat2): adjust
7851         (insertStringAsLines): adjust
7852         (latexParagraphs): adjust
7853
7854         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7855         (cutSelection): adjust
7856         (pasteSelection): adjust
7857
7858         * BufferView_pimpl.C (insertInset): adjust
7859
7860 2003-03-05  Angus Leeming  <leeming@lyx.org>
7861
7862         * commandtags.h:
7863         * LyXAction.C (init):
7864         * BufferView_pimpl.C (dispatch):
7865         * lyxfunc.C (getStatus):
7866         remove LFUN_CHILD_INSERT.
7867
7868         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7869
7870 2003-03-05  Angus Leeming  <leeming@lyx.org>
7871
7872         * commandtags.h:
7873         * LyXAction.C (init):
7874         * src/factory.C (createInset):
7875         * lyxfunc.C (getStatus):
7876         * text3.C (dispatch):
7877         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7878
7879         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7880
7881 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7882
7883         * ParagraphList.C (insert): handle insert right before end()
7884         (erase): fix cases where it can be first or last paragraph.
7885
7886 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7889         Paragraph::next and Paragraph::previous
7890         (TeXOnePar): ditto
7891
7892         * text.C (breakParagraph): adjust
7893
7894         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7895         BufferParams& as arg.
7896         (breakParagraph): use ParagraphList::insert
7897         (breakParagraphConservative): take a Buffer* instead of a
7898         BufferParams& as arg.
7899         (breakParagraphConservative): use ParagraphList::insert.
7900
7901         * buffer.C (insertStringAsLines): un-const it
7902         (insertStringAsLines): adjust
7903
7904         * ParagraphList.C (insert): new function
7905
7906         * CutAndPaste.C (pasteSelection): adjust
7907
7908         * text.C (backspace): adjust
7909
7910         * tabular.C (SetMultiColumn): adjust
7911
7912         * CutAndPaste.C (cutSelection): adjust
7913         (pasteSelection): adjust
7914
7915         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7916         Buffer const * as arg
7917
7918         * ParagraphList.C (erase): new function
7919         * paragraph_funcs.C (mergeParagraph): use it
7920         (mergeParagraph): make it take a Buffer* instead of a
7921         BufferParams* as arg
7922
7923         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7924         as arg
7925         (breakParagraphConservative): ditto
7926
7927         * paragraph.h: remove the breakParagraph friend
7928
7929         * paragraph.C (eraseIntern): new function
7930         (setChange): new function
7931
7932         * paragraph_funcs.C (mergeParagraph): make it take a
7933         ParagraphList::iterator instead of a Paragraph *, adjust
7934         accordingly.
7935
7936         * paragraph.h: move an #endif so that the change tracking stuff
7937         also works in the NO_NEXT case.
7938
7939 2003-03-04  Angus Leeming  <leeming@lyx.org>
7940
7941         * commandtags.h:
7942         * LyXAction.C: new LFUN_INSET_MODIFY.
7943
7944         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7945         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7946
7947 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7948
7949         * several files: ws changes only
7950
7951         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7952         (TeXEnvironment): ditto
7953         (TeXDeeper): ditto
7954
7955         * buffer.C (makeLaTeXFile): adjust
7956         (latexParagraphs): make it take ParagraphList::iterator as args
7957
7958 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * buffer.C (latexParagraphs): adjust
7961
7962         * paragraph.C (TeXOnePar): move function...
7963         (optArgInset): move function...
7964         (TeXEnvironment): move function...
7965         * paragraph_pimpl.C (TeXDeeper): move function...
7966         * paragraph_funcs.C: ...here
7967
7968         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7969
7970 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7971
7972         * buffer.C (readInset): remove compability code for old Figure and
7973         InsetInfo insets
7974
7975 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7976
7977         * buffer.C: ws changes
7978         (readInset):
7979
7980         * BufferView_pimpl.C: ditto
7981         * author.C: ditto
7982         * buffer.h: ditto
7983         * bufferlist.h: ditto
7984         * changes.h: ditto
7985         * lyxfunc.C: ditto
7986
7987 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7988
7989         * converter.[Ch]: split into itself +
7990         * graph.[Ch]
7991         * format.[Ch]
7992         * Makefile.am: += graph.[Ch] + format.[Ch]
7993         * MenuBackend.C
7994         * buffer.C
7995         * exporter.C
7996         * importer.C
7997         * lyx_main.C
7998         * lyxfunc.C
7999         * lyxrc.C: added #include "format.h"
8000
8001 2003-02-27  Angus Leeming  <leeming@lyx.org>
8002
8003         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8004           a label.
8005
8006         * factory.C (createInset): add "label" to the factory.
8007
8008         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8009           string and do no more.
8010
8011 2003-02-27  Angus Leeming  <leeming@lyx.org>
8012
8013         * commandtags.h:
8014         * LyXAction.C (init):
8015         * factory.C (createInset):
8016         * BufferView_pimpl.C (dispatch):
8017           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8018
8019         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8020
8021         * lyxfunc.C (dispatch):
8022         * text3.C (dispatch): pass name to params2string.
8023
8024 2003-02-26  Angus Leeming  <leeming@lyx.org>
8025
8026         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8027           blocks together.
8028           Rearrange the ~includes. Strip out the unnecessary ones.
8029
8030         * factory.C (createInset): reformat.
8031           create new insets for the various LFUN_XYZ_APPLY lfuns.
8032
8033 2003-02-26  John Levon  <levon@movementarian.org>
8034
8035         * lyxrow.h:
8036         * lyxrow.C: add isParStart,isParEnd helpers
8037
8038         * paragraph.h: make isInserted/DeletedText take refs
8039
8040         * paragraph_funcs.h:
8041         * paragraph_funcs.C: remove #if 0'd code
8042
8043         * lyxtext.h:
8044         * text3.C:
8045         * text2.C:
8046         * text.C: use lyxrow helpers above.
8047           Move draw and paint routines to RowPainter.
8048           Make several methods use refs not pointers.
8049           Make backgroundColor() const.
8050           Add markChangeInDraw(), isInInset().
8051           Merge changeRegionCase into changeCase.
8052           Make workWidth() shouldn't-happen code into an Assert.
8053
8054         * rowpainter.h:
8055         * rowpainter.C: new class for painting a row.
8056
8057         * vspace.h:
8058         * vspace.C: make inPixels take a ref
8059
8060 2003-02-26  Angus Leeming  <leeming@lyx.org>
8061
8062         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8063         LFUN_REF_APPLY.
8064
8065 2003-02-25  John Levon  <levon@movementarian.org>
8066
8067         * ispell.C: give the forked command a more accurate name
8068
8069 2003-02-22  John Levon  <levon@movementarian.org>
8070
8071         * toc.h:
8072         * toc.C: make TocItem store an id not a Paragraph *
8073           (bug #913)
8074
8075 2003-02-21  Angus Leeming  <leeming@lyx.org>
8076
8077         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8078           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8079           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8080           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8081           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8082           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8083
8084         * BufferView_pimpl.C (dispatch):
8085         * LyXAction.C (init):
8086         * factory.C (createInset):
8087         * lyxfunc.C (getStatus, dispatch):
8088         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8089
8090 2003-02-21  Angus Leeming  <leeming@lyx.org>
8091
8092         * BufferView_pimpl.C (MenuInsertLyXFile):
8093         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8094         * lyxfunc.C (menuNew, open, doImport):
8095           no longer pass a LyXView & to fileDlg.
8096
8097 2003-02-21  Angus Leeming  <leeming@lyx.org>
8098
8099         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8100         * LyXAction.C: change, BIBKEY to BIBITEM.
8101         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8102         Change InsetBibKey to InsetBibitem.
8103         Change BIBKEY_CODE to BIBITEM_CODE.
8104         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8105         * factory.C: replace insetbib.h with insetbibitem.h.
8106         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8107         * paragraph.C: replace insetbib.h with insetbibitem.h.
8108         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8109         Change bibkey() to bibitem().
8110         * text.C: remove insetbib.h.
8111         * text2.C: replace insetbib.h with insetbibitem.h.
8112         change bibkey() to bibitem().
8113         * text3.C: remove insetbib.h.
8114         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8115
8116 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8117
8118         * lyxrc.C (output): enclose user email in quotes (in case there are
8119         several words)
8120
8121 2003-02-18  John Levon  <levon@movementarian.org>
8122
8123         * buffer.h: add std::
8124
8125 2003-02-17  John Levon  <levon@movementarian.org>
8126
8127         * SpellBase.h:
8128         * ispell.h:
8129         * ispell.C:
8130         * pspell.h:
8131         * pspell.C: reworking. Especially in ispell, a large
8132           number of clean ups and bug fixes.
8133
8134         * lyxfunc.C: fix revert to behave sensibly
8135
8136 2003-02-17 André Pönitz <poenitz@gmx.net>
8137
8138         * LyXAction.C:
8139         * commandtags.h: new LFUN_INSERT_BIBKEY
8140
8141         * layout.h:
8142         * lyxlayout.C:
8143         * buffer.C:
8144         * factory.C:
8145         * text.C:
8146         * text2.C:
8147         * text3.C:
8148         * paragraph.[Ch]:
8149         * paragraph_func.C: remove special bibkey handling
8150
8151 2003-02-17  John Levon  <levon@movementarian.org>
8152
8153         * text.C (Delete): fix case where delete at the end of
8154           the very first paragraph would not merge the pars
8155
8156 2003-02-17  John Levon  <levon@movementarian.org>
8157
8158         * lyxrow.C: fix lastPrintablePos()
8159
8160 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8161
8162         * bufferparams.C (writeLaTeX): add a std:here
8163
8164         * buffer.C: and remove a using directive there
8165
8166 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8167
8168         * buffer.C (makeLaTeXFile): move the code that generates the
8169           preamble...
8170
8171         * bufferparams.C (writeLaTeX): ... in this new method
8172
8173         * LaTeXFeatures.C (getEncodingSet): make const
8174           (getLanguages): make const
8175
8176         * MenuBackend.C (binding): returns the binding associated to this
8177           action
8178           (add): sets the status of each item by calling getStatus. Adds
8179           some intelligence.
8180           (read): add support for OptSubMenu
8181           (expand): remove extra separator at the end of expanded menu
8182
8183 2003-02-15  John Levon  <levon@movementarian.org>
8184
8185         * BufferView.C:
8186         * BufferView_pimpl.C:
8187         * bufferlist.h:
8188         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8189           inset code that had no actual effect. Remove unneeded status
8190           code.
8191
8192 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8193
8194         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8195           in preamble
8196
8197 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8198
8199         * text.C (drawLengthMarker): also draw an arrow marker for
8200           symbolic lengths (medskip...)
8201
8202 2003-02-14  John Levon  <levon@movementarian.org>
8203
8204         * tabular.h:
8205         * tabular.C: better method names
8206
8207 2003-02-14  John Levon  <levon@movementarian.org>
8208
8209         * BufferView_pimpl.C:
8210         * bufferlist.C:
8211         * buffer.C:
8212         * converter.C:
8213         * lyx_cb.C:
8214         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8215           it's a more accurate name. Remove some pointless uses.
8216
8217 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8218
8219         * text2.C (LyXText): change order of initilizers to shut off
8220           warnings
8221
8222 2003-02-14  John Levon  <levon@movementarian.org>
8223
8224         * buffer.C: use ParIterator for getParFromID()
8225
8226         * paragraph.h:
8227         * paragraph.C:
8228         * paragraph_pimpl.h:
8229         * paragraph_pimpl.C: remove unused getParFromID()
8230
8231 2003-02-14  John Levon  <levon@movementarian.org>
8232
8233         * buffer.C: remove some very old #if 0'd parse code
8234
8235 2003-02-13  John Levon  <levon@movementarian.org>
8236
8237         * text.h:
8238         * text.C:
8239         * text2.C: move hfillExpansion(), numberOfSeparators(),
8240           rowLast(), rowLastPrintable(), numberofHfills(),
8241           numberOfLabelHfills() ...
8242
8243         * lyxrow.h:
8244         * lyxrow.C: ... to member functions here.
8245
8246         * paragraph.h:
8247         * paragraph.C:
8248         * lyxtext.h:
8249         * text.C: remove LyXText::beginningOfMainBody(), and call
8250           p->beginningOfMainBody() directly. Move the check for
8251           LABEL_MANUAL into the latter.
8252
8253         * text.h:
8254         * text.C:
8255         * text2.C:
8256         * vspace.C:
8257         * BufferView.h:
8258         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8259
8260         * text.h:
8261         * text.C:
8262         * text2.C:
8263         * text3.C:
8264         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8265           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8266
8267 2003-02-13  John Levon  <levon@movementarian.org>
8268
8269         * CutAndPaste.C: remove debug
8270
8271 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8272
8273         * paragraph.C (asString): remove two unused variables
8274
8275         * lyxtextclass.C (readTitleType):
8276           (Read):
8277           (LyXTextClass): handle new members titletype_ and titlename_
8278
8279         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8280
8281 2003-02-09  John Levon  <levon@movementarian.org>
8282
8283         * buffer.h:
8284         * buffer.C: replace hand-coded list with a map for the dep clean
8285
8286 2003-02-08  John Levon  <levon@movementarian.org>
8287
8288         * LaTeX.C: consolidate code into showRunMessage() helper
8289
8290 2003-02-08  John Levon  <levon@movementarian.org>
8291
8292         * lyxfind.C:
8293         * lyxtext.h:
8294         * text2.C:
8295         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8296           and pass the size in explicitly
8297
8298         * BufferView_pimpl.h:
8299         * BufferView_pimpl.C:
8300         * BufferView.h:
8301         * BufferView.C: add getCurrentChange()
8302
8303         * BufferView_pimpl.h:
8304         * BufferView_pimpl.C: handle change lfuns
8305
8306         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8307           for changes. Mark pasted paragraphs as new.
8308
8309         * support/lyxtime.h:
8310         * support/lyxtime.C:
8311         * DepTable.C: abstract time_t as lyx::time_type
8312
8313         * LColor.h:
8314         * LColor.C: add colours for new text, deleted text, changebars
8315
8316         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8317           package use "usenames" option.
8318
8319         * commandtags.h:
8320         * lyxfunc.C:
8321         * LyXAction.C: add change lfuns
8322
8323         * Makefile.am:
8324         * author.h:
8325         * author.C: author handling
8326
8327         * buffer.h:
8328         * buffer.C: add a per-buffer author list, with first entry as
8329           current author. Handle new .lyx tokens for change tracking. Output
8330           author list to .lyx file. Output dvipost stuff to .tex preamble.
8331           Bump lyx format to 222.
8332
8333         * bufferlist.h:
8334         * bufferlist.C: add setCurrentAuthor() to reset current author details
8335           in all buffers.
8336
8337         * bufferparams.h:
8338         * bufferparams.C: add param for tracking
8339
8340         * bufferview_funcs.C: output change info in minibuffer
8341
8342         * Makefile.am:
8343         * changes.h:
8344         * changes.C: add change-tracking structure
8345
8346         * debug.h:
8347         * debug.C: add CHANGES debug flag
8348
8349         * lyxfind.h:
8350         * lyxfind.C: add code for finding the next change piece
8351
8352         * lyxrc.h:
8353         * lyxrc.C: add user_name and user_email
8354
8355         * lyxrow.h:
8356         * lyxrow.C: add a metric for the top of the text line
8357
8358         * lyxtext.h:
8359         * text.C: implement accept/rejectChange()
8360
8361         * lyxtext.h:
8362         * text.C: paint changebars. Paint new/deleted text in the chosen
8363         colours. Strike through deleted text.
8364
8365         * paragraph.h:
8366         * paragraph.C:
8367         * paragraph_pimpl.h:
8368         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8369           in the current change to the insert functions. Rework erase to
8370           mark text as deleted, adding an eraseIntern() and a range-based
8371           erase(). Implement per-paragraph change lookup and
8372           accept/reject.
8373
8374         * paragraph_funcs.C: Fixup paste for change tracking.
8375
8376         * tabular.C: mark added row/columns as new.
8377
8378         * text.C: fix rowLast() to never return -1. Don't allow
8379           spellchecking of deleted text. Track transpose changes. Don't
8380           allow paragraph break or merge where appropriate.
8381
8382         * text2.C: leave cursor at end of selection after a cut.
8383
8384 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8385
8386         * text.C (getLengthMarkerHeight):
8387         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8388         visible on screen too.
8389
8390 2003-02-07  John Levon  <levon@movementarian.org>
8391
8392         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8393
8394 2003-02-05  Angus Leeming  <leeming@lyx.org>
8395
8396         * lyxserver.C (read_ready): revert my patch of 11 September last year
8397         as it sends PC cpu through the roof. Presumably this means that
8398         the lyxserver will no longer run on an Alpha...
8399
8400 2003-01-30  Angus Leeming  <leeming@lyx.org>
8401
8402         * factory.C (createInset): create an InsetCommandParam of type "index"
8403         and use it to 'do the right thing'.
8404
8405         * text2.C (getStringToIndex): ensure that cursor position is always
8406         reset to the reset_cursor position.
8407
8408 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8409
8410         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8411         disabled.
8412
8413 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8414
8415         * bufferview.C:
8416         * lyxcb.C:
8417         * lyxfunc.C: Output messages with identical spelling, punctuation,
8418         and spaces
8419
8420 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8421
8422         * MenuBackend.C (expandFormats): List only viewable export formats
8423         in "View" menu
8424
8425         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8426         message
8427
8428         * lyxfunc.C (getStatus): Make sure that formats other than
8429         "fax" can also be disabled
8430
8431 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8432
8433         * text3.C (dispatch): put the lfuns that insert insets in 3
8434         groups, and call doInsertInset with appropriate arguments.
8435         (doInsertInset): new function, that creates an inset and inserts
8436         it according to some boolean parameters.
8437
8438 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * buffer.C (readFile): remember to pass on 'par' when calling
8441         readFile recursively.
8442
8443 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8444
8445         * MenuBackend.C (expandFormats): add "..." to import formats.
8446
8447 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8448
8449         * paragraph.C (asString): Remove XForms RTL hacks.
8450
8451 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8452         * buffer.C: fix typo
8453
8454 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8455
8456         * Makefile.am (LIBS): delete var
8457         (lyx_LDADD): add @LIBS@ here instead.
8458
8459 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8460
8461         * Clarify the meaning of "wheel mouse jump"
8462
8463 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8464
8465         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8466         tabular in a float
8467
8468 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8469
8470         * importer.C (Loaders): do not preallocate 3 elements in the
8471         vector, since one ends up with 6 elements otherwise
8472
8473 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8474
8475         * DepTable.C (write): write the file name as last element of the
8476         .dep file (because it may contain spaces)
8477         (read): read info in the right order
8478
8479 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8480
8481         * paragraph_pimpl.C (simpleTeXBlanks):
8482         (simpleTeXSpecialChars):
8483         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8484
8485         * tabular.C (latex): add some missing case statements. Reindent.
8486
8487         * MenuBackend.C (expandToc): remove unused variable.
8488
8489 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8490
8491         * LColor.C:
8492         * LaTeX.C:
8493         * LyXAction.C:
8494         * MenuBackend.C:
8495         * buffer.C:
8496         * exporter.C:
8497         * lyxfunc.C:
8498         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8499         and the like.
8500
8501 2003-01-05  John Levon  <levon@movementarian.org>
8502
8503         * BufferView.h:
8504         * BufferView.C: add getEncoding()
8505
8506         * kbsequence.h:
8507         * kbsequence.C: do not store last keypress
8508
8509         * lyxfunc.h:
8510         * lyxfunc.C: store last keypress here instead. Pass encoding
8511           to getISOEncoded()
8512
8513 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8514
8515         * lyx_main.C (init): remove annoying error message when following
8516         symbolic links (bug #780)
8517
8518 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8519
8520         * text.C (insertChar):
8521         * lyxrc.C (getDescription): remove extra spaces
8522
8523 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8524
8525         * lyxrc.C (getDescription): remove extra spaces
8526
8527 2002-12-20  John Levon  <levon@movementarian.org>
8528
8529         * text3.C: hack fix for page up/down across tall rows
8530
8531 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8532
8533         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8534         not been invoked
8535
8536 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8537
8538         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8539         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8540         thesaurus is not compiled in
8541
8542 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8543
8544         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8545
8546 2002-12-16  Angus Leeming  <leeming@lyx.org>
8547
8548         * lyxrc.[Ch]:
8549         * lyx_main.C (init): remove override_x_deadkeys stuff.
8550
8551 2002-12-12  John Levon  <levon@movementarian.org>
8552
8553         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8554           insert. Only remove shift modifier under strict
8555           circumstances.
8556
8557 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8558
8559         * MenuBackend.C (expandToc): fix crash.
8560
8561 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * MenuBackend.C (expandToc): gettext on float names.
8564
8565 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8566
8567         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8568         implement bool empty() [bug 490]
8569
8570 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8571
8572         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8573
8574 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8575
8576         * several files: ws changes
8577
8578 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8579
8580         * text2.C (setCounter): clean up a bit, use boost.format.
8581         (updateCounters): initialize par upon declaration.
8582
8583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8584         if the layout exists. We do not just store the layout any more.
8585         (SwitchLayoutsBetweenClasses): use boost.format
8586
8587 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8588
8589         * converter.C (convert): if from and to files are the same, use a
8590         temporary files as intermediary
8591
8592 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8593
8594         * commandtags.h:
8595         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8596
8597 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8598
8599         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8600
8601 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8602
8603         * tabular.C (asciiPrintCell): use string(size, char) instead of
8604         explicit loop.
8605
8606         * sgml.C (openTag): fix order of arguments to string constructor
8607         (closeTag): ditto
8608
8609         * lyxfunc.C (dispatch): use boost.format
8610
8611         * lots of files: change "c" -> 'c'
8612
8613 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8614
8615         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8616
8617 2002-11-25  Angus Leeming  <leeming@lyx.org>
8618
8619         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8620
8621         * lyx_main.C (init): compile fix.
8622
8623 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8624
8625         * lyx_cb.C (start): boost.formatify
8626         do not include <iostream>
8627
8628         * lengthcommon.C: ws only
8629
8630         * boost-inst.C,BoostFormat.h: add more explict instantations
8631
8632 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8633
8634         * lots of files: handle USE_BOOST_FORMAT
8635
8636 2002-11-21  John Levon  <levon@movementarian.org>
8637
8638         * pspell.C: fix compile
8639
8640 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8641
8642         * lyxfunc.C (dispatch): use boost::format
8643         (open): ditto
8644         (doImport): ditto
8645
8646         * lyxfont.C (stateText): use boost::format
8647
8648         * lyx_main.C (LyX): use boost::format
8649         (init): ditto
8650         (queryUserLyXDir): ditto
8651         (readRcFile): ditto
8652         (parse_dbg): ditto
8653         (typedef boost::function): use the recommened syntax.
8654
8655         * importer.C (Import): use boost::format
8656
8657         * debug.C (showLevel): use boost::format
8658
8659         * converter.C (view): use boost::format
8660         (convert): ditto
8661         (move): ditto
8662         (scanLog): ditto
8663
8664         * bufferview_funcs.C (currentState): use boost::format
8665
8666         * bufferlist.C (emergencyWrite): use boost::format
8667
8668         * buffer.C (readLyXformat2): use boost::format
8669         (parseSingleLyXformat2Token): ditto
8670
8671         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8672
8673         * LaTeX.C (run): use boost::format
8674
8675         * Chktex.C (scanLogFile): use boost::format
8676
8677         * BufferView_pimpl.C (savePosition): use boost::format
8678         (restorePosition): ditto
8679         (MenuInsertLyXFile): ditto
8680
8681         * BoostFormat.h: help file for explicit instation.
8682
8683 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8684
8685         * tabular.C (latex): Support for block alignment in fixed width
8686         columns.
8687
8688 2002-11-17  John Levon  <levon@movementarian.org>
8689
8690         * BufferView_pimpl.C:
8691         * lyx_cb.C:
8692         * lyxfunc.C: split filedialog into open/save
8693
8694 2002-11-08  Juergen Vigna  <jug@sad.it>
8695
8696         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8697         by my last patch (hopefully).
8698
8699 2002-11-08  John Levon  <levon@movementarian.org>
8700
8701         * iterators.h:
8702         * iterators.C:
8703         * buffer.h:
8704         * buffer.C:
8705         * paragraph.h:
8706         * paragraph.C:
8707         * toc.h:
8708         * toc.C: ParConstIterator, and use it (from Lars)
8709
8710 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8711
8712         * lyxtextclass.[Ch]: revise and add doxygen comments
8713
8714 2002-11-07  John Levon  <levon@movementarian.org>
8715
8716         * text.C: fix progress value for spellchecker
8717
8718         * toc.C: fix navigate menu for insetwrap inside minipage
8719
8720         * paragraph_funcs.C: added FIXME for suspect code
8721
8722 2002-11-07  John Levon  <levon@movementarian.org>
8723
8724         * BufferView_pimpl.C: fix redrawing of insets
8725           on buffer switch
8726
8727 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8728
8729         * text2.C (updateCounters): fix bug 668
8730
8731 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8732
8733         * text3.C (dispatch): Do not make the buffer dirty when moving the
8734         cursor.
8735
8736 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8737
8738         * vc-backend.C: STRCONV
8739         (scanMaster): ditto
8740
8741         * text2.C (setCounter): STRCONV
8742
8743         * paragraph.C (asString): STRCONV
8744
8745         * lyxlength.C (asString): STRCONV
8746         (asLatexString): ditto
8747
8748         * lyxgluelength.C (asString): STRCONV
8749         (asLatexString): ditto
8750
8751         * lyxfunc.C (dispatch): STRCONV
8752         (open): ditto
8753
8754         * lyxfont.C (stateText): STRCONV
8755
8756         * importer.C (Import): STRCONV
8757
8758         * counters.C (labelItem): STRCONV
8759         (numberLabel): ditto
8760         (numberLabel): remove unused ostringstream o
8761
8762         * chset.C: STRCONV
8763         (loadFile): ditto
8764
8765         * bufferview_funcs.C (currentState): STRCONV
8766
8767         * buffer.C (readFile): STRCONV
8768         (asciiParagraph): ditto
8769         (makeLaTeXFile): ditto
8770
8771         * Spacing.C (writeEnvirBegin): STRCONV
8772
8773         * LaTeXFeatures.C (getLanguages): STRCONV
8774         (getPackages): ditto
8775         (getMacros): ditto
8776         (getBabelOptions): ditto
8777         (getTClassPreamble): ditto
8778         (getLyXSGMLEntities): ditto
8779         (getIncludedFiles): ditto
8780
8781         * LaTeX.C: STRCONV
8782         (run): ditto
8783         (scanAuxFile): ditto
8784         (deplog): ditto
8785
8786         * LString.h: add the STRCONV macros
8787
8788         * BufferView_pimpl.C (savePosition): STRCONV
8789         (restorePosition): ditto
8790         (MenuInsertLyXFile): ditto
8791
8792         * vc-backend.C (scanMaster): change from submatch[...] to
8793         submatch.str(...)
8794
8795         * funcrequest.C: include config.h
8796
8797         * factory.C: include config.h
8798
8799         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8800
8801         * box.C: include config.h
8802
8803         * LaTeX.C (scanAuxFile): change from submatch[...] to
8804         submatch.str(...)
8805         (deplog): ditto
8806
8807 2002-10-25  Angus Leeming  <leeming@lyx.org>
8808
8809         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8810
8811         * ispell.[Ch] (setError): new method.
8812         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8813         Use setError() insetead of goto END.
8814
8815         * lyx_cb.C (AutoSave): move out child process into new class
8816         AutoSaveBuffer.
8817
8818 2002-10-30  John Levon  <levon@movementarian.org>
8819
8820         * text3.C: make start appendix undoable
8821
8822 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8823
8824         * lyxlength.C (inPixels): Fix returned value.
8825
8826         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8827         environment.
8828
8829 2002-10-24  Angus Leeming  <leeming@lyx.org>
8830
8831         * lyxgluelength.h: no need to forward declare BufferParams
8832         or BufferView, so don't.
8833
8834 2002-10-21  John Levon  <levon@movementarian.org>
8835
8836         * BufferView.C: menuUndo ->undo, redo
8837
8838         * BufferView.h: document, remove dead, make some methods private
8839
8840         * paragraph_funcs.h:
8841         * paragraph_funcs.C:
8842         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8843
8844         * buffer.h:
8845         * buffer.C:
8846         * sgml.h:
8847         * sgml.C: move sgml open/close tag into sgml.C
8848
8849         * bufferview_funcs.h: unused prototype
8850
8851         * lyxfunc.h:
8852         * lyxfunc.C: remove unused
8853
8854         * lyxtext.h:
8855         * text.C: remove unused
8856
8857 2002-10-21  John Levon  <levon@movementarian.org>
8858
8859         * BufferView.h:
8860         * BufferView.C:
8861         * BufferView_pimpl.h:
8862         * BufferView_pimpl.C: fix mouse wheel handling based on
8863           patch from Darren Freeman
8864
8865 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8866
8867         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8868
8869 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8870
8871         * lyxlength.C (inPixels): Fix hanfling of negative length.
8872         Fix LyXLength::MU case.
8873
8874 2002-10-16  John Levon  <levon@movementarian.org>
8875
8876         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8877
8878 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8879
8880         * converter.C (view): add support for $$i (file name) and $$p
8881         (file path) for the viewer command. If $$i is not specified, then
8882         it is appended to the command (for compatibility with old syntax)
8883
8884 2002-10-14  Juergen Vigna  <jug@sad.it>
8885
8886         * undo_funcs.C (textHandleUndo): alter the order in which the
8887         new undopar is added to the LyXText, as we have to set first
8888         the right prev/next and then add it as otherwise the rebuild of
8889         LyXText is not correct. Also reset the cursor to the right paragraph,
8890         with this IMO we could remove the hack in "redoParagraphs()".
8891
8892 2002-10-09  Angus Leeming  <leeming@lyx.org>
8893
8894         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8895         to turn off an optimisation if a new inset is to be inserted.
8896
8897 2002-10-11 André Pönitz <poenitz@gmx.net>
8898
8899         * lyxtext.h: make some functions public to allow access
8900         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8901
8902 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8903
8904         * text3.C (dispatch): when changing layout, avoid an infinite loop
8905         [bug #652]
8906
8907 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8908
8909         * lyxrc.C (read): treat a viewer or converter command of "none" as
8910         if it were empty.
8911
8912         * MenuBackend.C (expandFormats): for an update, also allow the
8913         formats that are not viewable
8914
8915         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8916         script if it is newer than the lyxrc.defaults in user directory
8917
8918 2002-10-07 André Pönitz <poenitz@gmx.net>
8919
8920         * text.C: Vitaly Lipatov's small i18n fix
8921
8922 2002-09-25  Angus Leeming  <leeming@lyx.org>
8923
8924         * ispell.h: doxygen fix.
8925
8926 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8927
8928         * buffer.h (readFile): Add a new argument to the method, to allow
8929         reading of old-format templates.
8930
8931 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8932
8933         * toc.C (getTocList): Get TOC from InsetWrap.
8934
8935 2002-09-16  John Levon  <levon@movementarian.org>
8936
8937         * lyxfunc.C: check tabular for cut/copy too
8938
8939 2002-09-12  John Levon  <levon@movementarian.org>
8940
8941         * LyXAction.C: tidy
8942
8943         * factory.h:
8944         * factory.C: add header
8945
8946         * paragraph_funcs.h:
8947         * paragraph_funcs.C: cleanup
8948
8949 2002-09-11  John Levon  <levon@movementarian.org>
8950
8951         * PrinterParams.h: odd/even default to true
8952
8953 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8954
8955         * PrinterParams.h: update printer parameters for new xforms dialog
8956
8957 2002-09-11  Angus Leeming  <leeming@lyx.org>
8958
8959         * lyxserver.C (read_ready): re-write to make it more transparent
8960         and to make it work in coherent fashion under Tru64 Unix.
8961
8962 2002-09-11  André Pönitz <poenitz@gmx.net>
8963
8964         * commandtags.h:
8965         * LyXAction.C:
8966         * text3.C: implement LFUN_WORDSEL
8967
8968 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8971         make floatlist_ a boost::shared_ptr<FloatList>
8972
8973         * lyxtextclass.C: include FloatList.h
8974         (LyXTextClass): initialize floatlist_
8975         (TextClassTags): add TC_NOFLOAT
8976         (Read): match "nofloat" to TC_NOFLOAT and use it.
8977         (readFloat): modify call to floatlist_
8978         (floats): ditto
8979         (floats): ditto
8980
8981         * FloatList.[Ch] (FloatList): remove commented out float
8982         initialization.
8983         (erase): new function
8984
8985 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8986
8987         * MenuBackend.C (expandToc): fix crash when there is no document
8988         open
8989
8990 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8991
8992         * many files: Add insetwrap.
8993
8994 2002-09-09  John Levon  <levon@movementarian.org>
8995
8996         * text2.C: remove confusing and awkward depth wraparound
8997
8998 2002-09-09  John Levon  <levon@movementarian.org>
8999
9000         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9001
9002         * buffer.h:
9003         * buffer.C: remove getIncludeonlyList()
9004
9005         * paragraph.C:
9006         * lyxfunc.C: remove headers
9007
9008 2002-09-09  Juergen Vigna  <jug@sad.it>
9009
9010         * text.C (getColumnNearX): fix form Michael this is most
9011         probably a cut&paste bug.
9012
9013 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9014
9015         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9016
9017         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9018         references, ws changes.
9019
9020         * text2.C (init): update counters after init
9021         (insertParagraph): no need to set counter on idividual paragraphs.
9022         (setCounter): access the counters object in the textclass object
9023         on in the buffer object.
9024         (updateCounters): ditto
9025
9026         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9027         shared_ptr<Counters> to avoid loading counters.h in all
9028         compilation units.
9029         (LyXTextClass): initialize ctrs_
9030         (TextClassTags): add TC_COUNTER, and ...
9031         (Read): use it here.
9032         (CounterTags): new tags
9033         (readCounter): new function
9034         (counters): new funtion
9035         (defaultLayoutName): return a const reference
9036
9037         * counters.C (Counters): remove contructor
9038         (newCounter): remove a couple of unneeded statements.
9039         (newCounter): simplify a bit.
9040         (numberLabel): some small formatting changes.
9041
9042         * buffer.[Ch]: remove all traces of counters, move the Counters
9043         object to the LyXTextClass.
9044
9045 2002-09-06  Alain Castera  <castera@in2p3.fr>
9046
9047         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9048         package to set the horizontal alignment on fixed width columns.
9049
9050         * lyx_sty.C:
9051         * lyx_sty.h: added tabularnewline macro def.
9052
9053         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9054
9055 2002-09-06  John Levon  <levon@movementarian.org>
9056
9057         * LyXAction.C: tooltips for sub/superscript
9058
9059         * MenuBackend.C: a bit more verbose
9060
9061         * lyxfunc.C: tiny clean
9062
9063         * undo_funcs.C: document undo_frozen
9064
9065 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9066
9067         * counters.C (Counters): add missing algorithm counter.
9068
9069         * text2.C (setCounter): lookup the counter with layouts latexname
9070         instead of by section number.
9071         (setCounter): use a hackish way to lookup the correct enum
9072         counter.
9073         a float name->type change
9074         reset enum couners with counter name directly instead of depth value.
9075
9076         * counters.C (Counters): remove the push_backs, change to use the
9077         float type not the float name.
9078         (labelItem): remove unused string, float name->type change
9079
9080         * counters.h: don't include vector, loose the enums and sects vectors
9081
9082 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9083
9084         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9085         (Read): add float->TC_FLOAT to textclassTags
9086         (Read): and handle it in the switch
9087         (readFloat): new function
9088
9089         * FloatList.C (FloatList): comment out the hardcoded float
9090         definitions.
9091
9092         * lyxlayout.h: ws change.
9093
9094 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9095
9096         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9097
9098 2002-09-03  Angus Leeming  <leeming@lyx.org>
9099
9100         * BufferView_pimpl.h: qualified name is not allowed in member
9101         declaration: WorkArea & Pimpl::workarea() const;
9102
9103         * factory.C: added using std::endl directive.
9104
9105         * text3.C: added using std::find and std::vector directives.
9106
9107 2002-08-29  André Pönitz <poenitz@gmx.net>
9108
9109         * lyxtext.h:
9110         * text2.C: remove unused member number_of_rows
9111
9112         * Makefile.am:
9113         * BufferView2.C: remove file, move contents to...
9114         * BufferView.C: ... here
9115
9116         * BufferView_pimpl.C:
9117         * factory.C: move more inset creation to factory
9118
9119         * vspace.C: avoid direct usage of LyXText, ws changes
9120
9121         * BufferView.[Ch]:
9122                 don't provide direct access to WorkArea, use two simple
9123                 acessors haveSelction() and workHeight() instead
9124
9125
9126 2002-08-29  John Levon  <levon@movementarian.org>
9127
9128         * BufferView_pimpl.C (dispatch): do not continue when
9129           no buffer
9130
9131 2002-08-28  André Pönitz <poenitz@gmx.net>
9132
9133         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9134
9135         * BufferView.h:
9136         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9137
9138 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9139
9140         * buffer.C: increment LYX_FORMAT to 221
9141
9142         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9143         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9144
9145         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9146
9147         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9148
9149 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9150
9151         * factory.C (createInset): use LyXTextClass::floats
9152
9153         * MenuBackend.C (expandFloatListInsert):
9154         (expandFloatInsert):
9155         (expandToc):
9156
9157         * text2.C (setCounter):
9158
9159         * LaTeXFeatures.C (useFloat):
9160         (getFloatDefinitions):
9161
9162         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9163
9164         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9165         floatlist_, with accessor floats().
9166
9167         * FloatList.h: remove global FloatList
9168
9169 2002-08-26  André Pönitz <poenitz@gmx.net>
9170
9171         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9172
9173         * BufferView.h:
9174         * BufferView2.C:
9175         * BufferView_pimpl.C:
9176         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9177
9178 2002-08-25  John Levon  <levon@movementarian.org>
9179
9180         * LyXAction.C: fix margin note description
9181
9182 2002-08-24  John Levon  <levon@movementarian.org>
9183
9184         * buffer.C:
9185         * bufferlist.C:
9186         * bufferview_funcs.C:
9187         * lyxfont.C:
9188         * undo_funcs.C: cleanups
9189
9190         * lyxfunc.C: disable CUT/COPY when no selection
9191
9192 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9193
9194         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9195         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9196
9197         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9198         Add backward compatibility to "mono", "gray" and "no".
9199
9200 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9201
9202         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9203         (and file_format >= 200).
9204
9205 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9206
9207         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9208
9209 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9210
9211         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9212
9213 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9214
9215         * BufferView_pimpl.C:
9216         * LyXAction.C:
9217         * buffer.C:
9218         * commandtags.h:
9219         * lyxfunc.C:
9220         * paragraph.[Ch]:
9221         * text2.C:
9222         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9223         inset and code to make it  work with the paragraph code. The inset
9224         can be anywhere in the paragraph, but will only do the expected
9225         thing in LaTeX if the layout file contains the parameter line
9226                         OptionalArgs    1
9227         (or more generally, a nonzero value) for that layout.
9228
9229 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9230
9231         * paragraph.h: remove the declaration of undefined counters class
9232         function.
9233
9234 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9235
9236         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9237         Dr. Richard Hawkins.
9238
9239 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9240
9241         * paragraph_funcs.h: remove some unneeded includes
9242
9243         * text.C (backspace): pasteParagraph now in global scipe
9244
9245         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9246         (pasteSelection): ditto
9247
9248         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9249         * paragraph_funcs.C (pasteParagraph): ... here
9250
9251 2002-08-20  André Pönitz <poenitz@gmx.net>
9252
9253         * commandtags.h: new LFUNs for swapping/copying table row/colums
9254
9255         * LyXAction.C:
9256         * lyxfunc.C: support for new lfuns
9257
9258 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9259
9260         * tabular.C:
9261         * buffer.[Ch]: remove NO_COMPABILITY stuff
9262
9263 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * boost.C (throw_exception): new file, with helper function for
9266         boost compiled without exceptions.
9267
9268         * paragraph.h:
9269         * lyxlength.C:
9270         * buffer.C:
9271         * ParameterStruct.h:
9272         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9273
9274         * bufferlist.C (emergencyWriteAll): use boost bind
9275
9276         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9277
9278         * text.C: include paragraph_funcs.h
9279         (breakParagraph): breakParagraph is now in global scope
9280
9281         * paragraph_funcs.[Ch]: new files
9282
9283         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9284         global scope
9285
9286         * buffer.C: include paragraph_funcs.h
9287         (insertStringAsLines): breakParagraph is now in global scope
9288
9289         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9290         paragraph_funcs.C
9291
9292         * CutAndPaste.C: include paragraph_funcs.h
9293         (cutSelection): breakParagraphConservative is now in global scope
9294         (pasteSelection): ditto
9295
9296         * buffer.h: declare oprator== and operator!= for
9297         Buffer::inset_iterator
9298
9299         * bufferlist.C (emergencyWrite): don't use fmt(...)
9300
9301         * text3.C: add using std::endl
9302
9303         * BufferView.C (moveCursorUpdate): remove default arg
9304
9305 2002-08-20  André Pönitz <poenitz@gmx.net>
9306
9307         * buffer.[Ch]: move inline functions to .C
9308
9309         * BufferView2.C:
9310         * BufferView_pimpl.C:
9311         * text.C:
9312         * buffer.[Ch]: use improved inset_iterator
9313
9314         * buffer.C:
9315         * paragraph.[Ch]: write one paragraph at a time
9316
9317 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9318
9319         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9320         style if style is not specified.
9321
9322 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * text2.C (setCounter): when searching for right label for a
9325         caption, make sure to recurse to parent insets (so that a caption
9326         in a minipage in a figure float works) (bug #568)
9327
9328 2002-08-20  André Pönitz <poenitz@gmx.net>
9329
9330         * text3.C: new file for LyXText::dispatch() and helpers
9331
9332         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9333
9334         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9335
9336 2002-08-19  André Pönitz <poenitz@gmx.net>
9337
9338         * lyxtext.h:
9339         * text.C: new LyXText::dispatch()
9340
9341         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9342
9343 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9344
9345         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9346
9347         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9348         Hebrew text.
9349
9350 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9351
9352         * Makefile.am: use $(variables) instead of @substitutions@
9353
9354 2002-08-15  André Pönitz <poenitz@gmx.net>
9355
9356         * lyxfunc.C:
9357         * BufferView_pimpl.C: streamlining mathed <-> outer world
9358         interaction
9359
9360         * commandtags.h:
9361         * LyXAction.C: remove unused LFUN_MATH
9362
9363 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9364
9365         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9366
9367 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9368
9369         * paragraph.C (Paragraph): reformat a bit
9370         (cutIntoMinibuffer): use builtin InsetList function instad of
9371         doing it manually.
9372         (getInset): ditto
9373
9374         * buffer.C: include boost/bind.hpp, add using std::for_each
9375         (writeFileAscii): use ParagraphList iterators
9376         (validate): use for_each for validate traversal of paragraphs
9377         (getBibkeyList): use ParagraphList iterators
9378         (resizeInsets): use for_each to resizeInsetsLyXText for all
9379         paragraphs.
9380         (getParFromID): use ParagraphList iterators
9381
9382         * BufferView2.C (lockInset): use paragraph list and iterators
9383
9384 2002-08-14  John Levon  <levon@movementarian.org>
9385
9386         * lyxserver.C: remove spurious xforms include
9387
9388 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9389
9390         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9391
9392 2002-08-13  André Pönitz <poenitz@gmx.net>
9393
9394         * LyXAction.[Ch]:
9395         * lyxfunc.C: further cleaning
9396
9397 2002-08-13  André Pönitz <poenitz@gmx.net>
9398
9399         * funcrequest.h: new constructor
9400
9401         * funcrequest.C: move stuff here from .h
9402
9403         * Makefile.am:
9404         * BufferView_pimpl.C:
9405         * LyXAction.C:
9406         * toc.C:
9407         * lyxfunc.C: subsequent changes
9408
9409         * lyxfunc.h: new view() member function
9410
9411         * lyxfunc.C: subsequent changes
9412
9413 2002-08-13  Angus Leeming  <leeming@lyx.org>
9414
9415         * BufferView2.C:
9416         * BufferView_pimpl.C:
9417         * buffer.C:
9418         * converter.C:
9419         * importer.C:
9420         * lyxfunc.C:
9421         * lyxvc.C:
9422         * toc.C:
9423         * vc-backend.C:
9424         changes due to the changed LyXView interface that now returns references
9425         to member variables not pointers.
9426
9427 2002-08-13  Angus Leeming  <leeming@lyx.org>
9428
9429         * WordLangTuple (word, lang_code): return references to strings,
9430         not strings.
9431
9432         * BufferView.h:
9433         * SpellBase.h:
9434         * lyxtext.h: forward-declare WordLangTuple.
9435
9436         * BufferView2.C:
9437         * ispell.C:
9438         * pspell.C:
9439         * text.C: #include "WordLangTuple.h".
9440
9441         * lyxtext.h:
9442         * text.C: (selectNextWordToSpellcheck): constify return type.
9443
9444 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9445
9446         * buffer.C:
9447         * buffer.h:
9448         * lyxtext.h:
9449         * paragraph.C:
9450         * paragraph_pimpl.h:
9451         * text.C:
9452         * text2.C:
9453         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9454         suggested by Angus.
9455         Made updateCounter always count from start of buffer, and removed
9456         second argument (par).
9457         Reverted floats number display to '#'. Perhaps I'll try again when the
9458         code base is sanitized a bit.
9459
9460 2002-08-12  Angus Leeming  <leeming@lyx.org>
9461
9462         * buffer.[Ch] (getLabelList): constify.
9463
9464 2002-08-07  André Pönitz <poenitz@gmx.net>
9465
9466         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9467
9468         * funcrequest.h: extension to keep mouse (x,y) position
9469
9470 2002-08-12  Juergen Vigna  <jug@sad.it>
9471
9472         * BufferView2.C (insertErrors): forbid undo when inserting error
9473         insets.
9474
9475         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9476
9477 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9478
9479         * ParagraphList.[Ch]: new files
9480
9481         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9482
9483         * BufferView2.C (lockInset): ParagraphList changes
9484         * toc.C: ditto
9485         * text2.C: ditto
9486         * bufferlist.C: ditto
9487         * buffer.h: ditto
9488         * buffer.C: ditto
9489
9490 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9491
9492         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9493         unused class variable counter_,
9494
9495         * paragraph.[Ch] (getFirstCounter): delete unused function
9496
9497         * counters.C: include LAssert.h
9498         (reset): add a new function with no arg, change other version to
9499         not have def. arg and to not allow empty arg.
9500
9501         * text2.C (setCounter): remove empty arg from call to Counters::reset
9502
9503 2002-08-11  John Levon  <levon@movementarian.org>
9504
9505         * Makefile.am: add WordLangTuple.h
9506
9507 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9508
9509         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9510         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9511
9512         * insets/insettext.C: InsetList changes
9513
9514         * graphics/GraphicsSupport.C (operator()): InsetList changes
9515
9516         * toc.C (getTocList): InsetList changes
9517
9518         * paragraph_pimpl.[Ch]: InsetList changes
9519
9520         * paragraph.[Ch]: InsetList changes
9521
9522         * buffer.C (inset_iterator): InsetList changes
9523         (setParagraph): ditto
9524         * buffer.h (inset_iterator): ditto
9525         * iterators.C (operator++): ditto
9526         * iterators.h: ditto
9527
9528         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9529
9530         * InsetList.[Ch]: new files, most InsetList handling moved out of
9531         paragraph.C.
9532
9533         * BufferView2.C (removeAutoInsets): InsetList changes
9534         (lockInset): ditto
9535         (ChangeInsets): ditto
9536
9537 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9538
9539         * paragraph_pimpl.h (empty): new function
9540
9541         * paragraph.[Ch] (empty): new function
9542
9543         * other files: use the new Paragraph::empty function
9544
9545 2002-08-09  John Levon  <levon@movementarian.org>
9546
9547         * lyxtext.h: remove unused refresh_height
9548
9549 2002-08-09  John Levon  <levon@movementarian.org>
9550
9551         * Makefile.am:
9552         * sgml.h:
9553         * sgml.C:
9554         * buffer.C:
9555         * paragraph.h:
9556         * paragraph.C: move sgml char escaping out of paragraph
9557
9558         * paragraph.h:
9559         * paragraph.C: remove id setter
9560
9561         * buffer.C:
9562         * paragraph.C:
9563         * paragraph_pimpl.C: remove dead tex_code_break_column
9564
9565         * bufferview_funcs.C: small cleanup
9566
9567         * lyxfunc.C: remove dead proto
9568
9569         * lyxtext.h: make some stuff private. Remove some dead stuff.
9570
9571         * lyxgluelength.C: make as[LyX]String() readable
9572
9573 2002-08-08  John Levon  <levon@movementarian.org>
9574
9575         * LyXAction.h:
9576         * LyXAction.C:
9577         * MenuBackend.C:
9578         * ToolbarDefaults.C:
9579         * lyxfunc.C:
9580         * lyxrc.C:
9581         * toc.C: lyxaction cleanup
9582
9583 2002-08-08  John Levon  <levon@movementarian.org>
9584
9585         * BufferView2.C: small cleanup
9586
9587         * lyxfind.h:
9588         * lyxfind.C: move unnecessary header into the .C
9589
9590 2002-08-08  John Levon  <levon@movementarian.org>
9591
9592         * funcrequest.h: just tedious nonsense
9593
9594         * lyx_main.h:
9595         * lyx_main.C: cleanups
9596
9597         * buffer.C:
9598         * vspace.C: remove dead header lyx_main.h
9599
9600 2002-08-07  Angus Leeming  <leeming@lyx.org>
9601
9602         * Paragraph.[Ch]:
9603         * paragraph_pimpl.h:
9604         Forward declare class Counters in paragraph.h by moving the ctrs member
9605         variable into Paragraph::Pimpl.
9606         (counters): new method, returning a reference to pimpl_->ctrs.
9607
9608         * text2.C: ensuing changes.
9609
9610 2002-08-07  John Levon  <levon@movementarian.org>
9611
9612         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9613
9614         * BufferView_pimpl.C: announce X selection on double/triple
9615           click
9616
9617         * lyx_main.C: use correct bool in batch dispatch
9618
9619         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9620
9621 2002-08-07  André Pönitz <poenitz@gmx.net>
9622
9623         * funcrequest.h: new class to wrap a kb_action and its argument
9624
9625         * BufferView.[Ch]:
9626         * BufferView_pimpl[Ch]:
9627         * LaTeX.C:
9628         * LyXAction.[Ch]:
9629         * lyxfunc.[Ch]:
9630         * lyxrc.C: subsequent changes
9631
9632
9633 2002-08-07  John Levon  <levon@movementarian.org>
9634
9635         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9636           document options change.
9637
9638 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9639
9640         * counters.[Ch]
9641         * text2.C
9642         * paragraph.[Ch]
9643         * makefile.am: move counters functionality over from
9644         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9645
9646 2002-08-06  John Levon  <levon@movementarian.org>
9647
9648         * WordLangTuple.h: new file for word + language code tuple
9649
9650         * SpellBase.h:
9651         * pspell.h:
9652         * pspell.C:
9653         * ispell.h:
9654         * ispell.C:
9655         * lyxtext.h:
9656         * text.C:
9657         * text2.C:
9658         * BufferView.h:
9659         * BufferView2.C: use WordLangTuple
9660
9661         * layout.h:
9662         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9663
9664 2002-08-06  John Levon  <levon@movementarian.org>
9665
9666         * lyx_main.C: fix cmdline batch handling
9667
9668 2002-08-06  André Pönitz <poenitz@gmx.net>
9669
9670         * lyxrc.C: set default for show_banner to true
9671
9672 2002-08-06  John Levon  <levon@movementarian.org>
9673
9674         * pspell.C: fix a crash, and allow new aspell to work
9675
9676 2002-08-06  John Levon  <levon@movementarian.org>
9677
9678         * lyxfunc.C:
9679         * kbmap.C: small cleanup
9680
9681         * vspace.h:
9682         * vspace.C: add const
9683
9684 2002-08-05  John Levon  <levon@movementarian.org>
9685
9686         * LyXAction.C: back to tabular-insert
9687
9688 2002-08-04  John Levon  <levon@movementarian.org>
9689
9690         * BufferView.h:
9691         * BufferView.C: cosmetic change
9692
9693         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9694
9695         * bufferlist.C:
9696         * buffer.h:
9697         * buffer.C:
9698         * lyxcb.h:
9699         * lyxcb.C:
9700         * lyxserver.C:
9701         * lyxvc.C:
9702         * vc-backend.C:
9703         * BufferView2.C: purge all "Lyx" not "LyX" strings
9704
9705         * lyxcursor.h:
9706         * lyxcursor.C: attempt to add some documentation
9707
9708         * lyxfunc.C:
9709         * commandtags.h:
9710         * LyXAction.C:
9711         * ToolbarDefaults.C:
9712         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9713           merge with LFUN_TABULAR_INSERT
9714
9715         * Makefile.am:
9716         * SpellBase.h:
9717         * ispell.h:
9718         * ispell.C:
9719         * pspell.h:
9720         * pspell.C: split up i/pspell implementations into separate
9721           files, many cleanups
9722
9723         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9724
9725         * text2.C: some cleanup
9726
9727         * lyxfunc.C: don't check for isp_command == "none" any more, it
9728           didn't make any sense
9729
9730 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9731
9732         * counters.[Ch]
9733         * text2.C
9734         * paragraph.[Ch]
9735         * makefile.am: move counters functionality over
9736         from text2.C/paragraph.[Ch] to counters.[Ch], and
9737         make proper C++.
9738 2002-08-02  John Levon  <levon@movementarian.org>
9739
9740         * buffer.C: s/lyxconvert/lyx2lyx/
9741
9742 2002-08-02  Angus Leeming  <leeming@lyx.org>
9743
9744         * lyxlex.C: revert John's change as it breaks reading of the user
9745         preamble.
9746
9747 2002-08-02  Angus Leeming  <leeming@lyx.org>
9748
9749         * importer.C (Import):
9750         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9751         changes due to LyXView::view() now returning a boost::shared_ptr.
9752
9753 2002-08-02  John Levon  <levon@movementarian.org>
9754
9755         * lyxlex.C: small cleanup
9756
9757 2002-08-02  John Levon  <levon@movementarian.org>
9758
9759         * text2.C (status): small cleanup, no logic change
9760
9761 2002-08-01  John Levon  <levon@movementarian.org>
9762
9763         * buffer.h:
9764         * buffer.C (writeFile): don't output alerts, caller
9765           handles this
9766
9767         * bufferlist.C:
9768         * lyx_cb.C: from above
9769
9770         * lyxfunc.C: allow to open non-existent files
9771
9772 2002-07-31  John Levon  <levon@movementarian.org>
9773
9774         * lyxserver.C: don't let incidental errors get
9775           in the way (errno)
9776
9777 2002-07-30  John Levon  <levon@movementarian.org>
9778
9779         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9780
9781 2002-07-30  John Levon  <levon@movementarian.org>
9782
9783         * lyxserver.h:
9784         * lyxserver.C: remove I/O callback too
9785
9786 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9789         log.
9790
9791 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9792
9793         * many files: strip,frontStrip -> trim,ltrim,rtrim
9794
9795 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9796
9797         * PrinterParams.h: remove extern containsOnly, and include
9798         support/lstrings.h instead.
9799
9800         * LaTeX.C (scanAuxFile): modify because of strip changes
9801         (deplog): ditto
9802         * buffer.C (makeLaTeXFile): ditto
9803         * bufferparams.C (writeFile): ditt
9804         * lyxfont.C (stateText): ditto
9805         * lyxserver.C (read_ready): ditto
9806         * vc-backend.C (scanMaster): ditto
9807
9808         * BufferView_pimpl.h: ws changes
9809
9810         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9811
9812 2002-07-26  André Pönitz <poenitz@gmx.net>
9813
9814         * kb_sequence.C: remove unnedred usings
9815
9816 2002-07-26  Juergen Vigna  <jug@sad.it>
9817
9818         * lyxfind.C (LyXReplace): we have to check better if the returned
9819         text is not of theLockingInset()->getLockingInset().
9820
9821 2002-07-25  Juergen Vigna  <jug@sad.it>
9822
9823         * lyxfind.C (LyXReplace): don't replace if we don't get the
9824         right LyXText.
9825
9826         * undo_funcs.C (createUndo): remove debugging code.
9827
9828 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9829
9830         * buffer.C (parseSingleLyXformat2Token): Use default placement
9831         when reading old floats.
9832
9833         * FloatList.C (FloatList): Change the default placement of figure
9834         and tables to "tbp".
9835
9836 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9837
9838         * MenuBackend.C: using std::max
9839
9840 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9841
9842         * MenuBackend.C (expandToc):
9843         (expandToc2): code moved from xforms menu frontend. It is now
9844         generic and TOCs are transparent to menu frontends.
9845
9846 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9847
9848         * toc.C (getTocList): protect against buf=0
9849
9850         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9851         Menu as first parameter. Now, this calls itself recursively to
9852         expand a whole tree (this will be useful for TOC handling)
9853         (expandFloatInsert): remove 'wide' version of floats
9854
9855         * MenuBackend.h (submenuname): returns the name of the submenu.
9856         (submenu): returns the submenu itself, provided it has been
9857         created by MenuBackend::expand
9858
9859 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9860
9861         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9862         insets which have noFontChange == true. (bug #172)
9863
9864 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9865
9866         * BufferView_pimpl.C: add connection objects and use them...
9867         (Pimpl): here.
9868
9869 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9870
9871         * MenuBackend.C (expandLastfiles):
9872         (expandDocuments):
9873         (expandFormats):
9874         (expandFloatListInsert):
9875         (expandFloatInsert):
9876         (expand): split expand in parts
9877
9878 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9879
9880         * lyx_gui.C: use lyx_gui::exit()
9881
9882 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * LyXAction.C: show the failing pseudo action
9885
9886 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9887
9888         * buffer.C (readFile): Run the lyxconvert script in order to read
9889         old files.
9890
9891 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9892
9893         * LyXAction.C:
9894         * commandtags.h:
9895         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9896
9897 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * LyXAction.C:
9900         * commandtags.h:
9901         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9902
9903 2002-07-22  Herbert Voss  <voss@lyx.org>
9904
9905         * lengthcommon.C:
9906         * lyxlength.[Ch]: add support for the vertical lengths
9907
9908 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9909
9910         * toc.[Ch]: std:: fixes
9911
9912 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9913
9914         * lyxrc.C: do not include lyx_main.h
9915
9916         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9917         for layouts
9918
9919         * lyxrc.C:
9920         * encoding.C:
9921         * bufferlist.C:
9922         * BufferView2.C: include "lyxlex.h"
9923
9924         * tabular.h:
9925         * bufferparams.h: do not #include "lyxlex.h"
9926
9927         * lyxtextclasslist.C (Add): remove method
9928         (classlist): renamed to classlist_
9929
9930         * paragraph_pimpl.C:
9931         * paragraph.C:
9932         * text2.C:
9933         * CutAndPaste.C:
9934         * bufferview_funcs.C:
9935         * bufferlist.C:
9936         * text.C:
9937         * LaTeXFeatures.C:
9938         * buffer.C:
9939         * toc.C (getTocList): use BufferParams::getLyXTextClass
9940
9941         * toc.C (getTocList): use InsetFloat::addToToc
9942
9943         * toc.[Ch]: new files, containing helper functions to handle table
9944         of contents
9945
9946         * lyxfunc.C (dispatch): no need to remove spaces around command
9947         given as a string
9948         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9949         first command of the sequence; it is not very clever, but I do not
9950         have a better idea, actually
9951
9952         * LyXAction.C (LookupFunc): make sure to remove space at the
9953         beginning and end of the command
9954
9955 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9956
9957         * MenuBackend.C (getMenubar): new method: return the menubar of
9958         this menu set
9959         (read): treat differently reading of menu and menubar (in
9960         particular, the menubar has no name now)
9961         (Menu::menubar): remove
9962
9963         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9964         saving is finished
9965
9966 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9967
9968         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9969         a bibitem inset in a RTL paragraph.
9970
9971 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9972
9973         * paragraph_pimpl.C: constify
9974
9975         * BufferView_pimpl.C:
9976         * LaTeX.C:
9977         * lyxfunc.C: fix dispatch in a nicer way
9978
9979 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9980
9981         * lyxfunc.C (dispatch):
9982         * BufferView_pimpl.C:
9983         * BufferView_pimpl.h:
9984         * BufferView.C:
9985         * BufferView.h: rename Dispatch() to dispatch()
9986
9987         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9988
9989         * lyxlayout.C (Read): honor DependsOn tag
9990
9991         * lyxlayout.[Ch] (depends_on): new method
9992
9993         * version.C.in: update lyx_docversion
9994
9995         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9996
9997         * paragraph.C (validate): remove from here...
9998         * paragraph_pimpl.C (validate): ... and move here
9999         (isTextAt): make it const
10000
10001         * buffer.C (getLists): ws cleanup
10002
10003 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * language.C (read): Use iso8859-1 encoding in latex_lang
10006         (this prevents LyX from crashing when using iso10646-1 encoding).
10007
10008 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10009
10010         * text2.C (toggleInset): if cursor is inside an inset, close the
10011         inset and leave cursor _after_ it
10012
10013 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10014
10015         * lyxfunc.C: move minibuffer completion handling out of here
10016
10017 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10018
10019         * BufferView_pimpl.C:
10020         * LaTeX.C: fix dispatch calls
10021
10022 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10023
10024         * text.C (drawChars): Fix Arabic text rendering.
10025
10026 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * LyXAction.C:
10029         * commandtags.h:
10030         * lyxfunc.C: remove message-push/pop
10031
10032         * lyxserver.C:
10033         * lyxfunc.h:
10034         * lyxfunc.C: rationalise some code by removing verboseDispatch
10035           in favour of a bool argument to dispatch()
10036
10037 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10038
10039         * lyx_main.C (init): make sure to read symlinks as absolute paths
10040
10041 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10042
10043         * lyxfunc.h:
10044         * lyxfunc.C: no need for commandshortcut to be a member
10045
10046 2002-07-15  André Pönitz <poenitz@gmx.net>
10047
10048         * converter.C: add support for $$s (scripts from lib/scripts dir)
10049         * lyx_main.C: white space
10050
10051 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * bufferlist.C:
10054         * lyxrc.h:
10055         * lyxrc.C: remove second exit confirmation
10056
10057 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * BufferView.h:
10060         * BufferView.C:
10061         * BufferView2.C:
10062         * BufferView_pimpl.h:
10063         * BufferView_pimpl.C:
10064         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10065
10066 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10067
10068         * MenuBackend.C (expand): add numeric shortcuts to document menu
10069
10070         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10071
10072 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10073
10074         * lyxfont.C (setLyXFamily):
10075         (setLyXSeries):
10076         (setLyXShape):
10077         (setLyXSize):
10078         (setLyXMisc):
10079         (lyxRead):
10080         * debug.C (value):
10081         * buffer.C (asciiParagraph): use ascii_lowercase
10082
10083 2002-07-15  Mike Fabian  <mfabian@suse.de>
10084
10085         * lyxlex_pimpl.C (search_kw):
10086         * lyxlex.C (getLongString):
10087         * converter.h (operator<):
10088         * converter.C (operator<):
10089         * buffer.C (parseSingleLyXformat2Token):
10090         (asciiParagraph):
10091         * ToolbarDefaults.C (read):
10092         * MenuBackend.C (checkShortcuts):
10093         (read):
10094         * LColor.C (getFromGUIName):
10095         (getFromLyXName): use the compare_ascii_no_case instead of
10096         compare_no_case, because in turkish, 'i' is not the lowercase
10097         version of 'I', and thus turkish locale breaks parsing of tags.
10098
10099 2002-07-16  Angus Leeming  <leeming@lyx.org>
10100
10101         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10102         now takes a Buffer const & argument.
10103
10104 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * BufferView.C (resize): check there's a buffer to resize
10107
10108 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * lyxfunc.C: remove dead code
10111
10112         * lyxserver.h:
10113         * lyxserver.C: use lyx_guii::set_read_callback
10114
10115 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10116
10117         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10118         an inset in a RTL paragraph.
10119
10120 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * lyxfunc.C: repaint after a font size update
10123
10124 2002-07-15  André Pönitz <poenitz@gmx.net>
10125
10126         * lyxlength.C: inBP should be able to return negative values
10127
10128 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10129
10130         * lyxfunc.C: use lyx_gui::update_fonts()
10131
10132 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10133
10134         * lyxfunc.C: use lyx_gui::update_color()
10135
10136 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10137
10138         * bufferlist.C:
10139         * lyxfunc.h:
10140         * lyxfunc.C:
10141         * lyxrc.h:
10142         * lyxrc.C: remove file->new asks for name option, and let
10143           buffer-new take an argument
10144
10145 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * BufferView_pimpl.C: remove unneeded extra repaint()
10148
10149 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * LyXAction.C: allow command-sequence with NoBuffer
10152
10153         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10154
10155 2002-07-10  Angus Leeming  <leeming@lyx.org>
10156
10157         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10158
10159 2002-07-09  Angus Leeming  <leeming@lyx.org>
10160
10161         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10162
10163 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10164
10165         * lengthcommon.h: whitespace
10166
10167         * lyxfunc.C: update scrollbar after goto paragraph
10168
10169         * lyxtext.h: factor out page break drawing, and fix it so
10170           page break/added space paints as selected nicely
10171
10172 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * BufferView_pimpl.C: add FIXMEs, clean up a little
10175
10176 2002-07-09  André Pönitz <poenitz@gmx.net>
10177
10178         * lyxfont.[Ch]: support for wasy symbols
10179
10180 2002-07-08  André Pönitz <poenitz@gmx.net>
10181
10182         * BufferView_pimpl.C: apply John's patch for #93.
10183
10184 2002-07-05  Angus Leeming  <leeming@lyx.org>
10185
10186         * BufferView_pimpl.C (buffer): generate previews if desired.
10187
10188         * LColor.h: add "preview" to the color enum.
10189
10190         * LColor.C (LColor): add a corresponding entry to the items array.
10191
10192         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10193         with this buffer.
10194
10195 2002-07-05  Angus Leeming  <leeming@lyx.org>
10196
10197         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10198         The body of the code is now in the method that is passed an ostream &
10199         rather than a file name.
10200         Pass an additional only_preamble parameter, useful for the forthcoming
10201         preview stuff.
10202
10203 2002-07-03  André Pönitz <poenitz@gmx.net>
10204
10205         * lyxfunc.C: simplify getStatus() a bit for math stuff
10206
10207 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10208
10209         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10210
10211 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10212
10213         * text.C (changeRegionCase): do not change case of all the
10214         document when region ends at paragraph end (bug #461)
10215
10216 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10217
10218         * paragraph.C (startTeXParParams):
10219         (endTeXParParams): add \protect when necessary
10220
10221 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * BufferView_pimpl.C (workAreaExpose): remove warning
10224
10225 2002-06-27  Angus Leeming  <leeming@lyx.org>
10226
10227         * Makefile.am: add lyxlayout_ptr_fwd.h.
10228
10229 2002-06-26  André Pönitz <poenitz@gmx.net>
10230
10231         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10232
10233 2002-06-25  Angus Leeming  <leeming@lyx.org>
10234
10235         * lyxfunc.C (dispatch): Comment out the call to
10236         grfx::GCache::changeDisplay. The method no longer exists now that the
10237         pixmap generation part of the graphics loader has been moved into
10238         InsetGraphics.
10239
10240 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10241
10242         * text2.C: layout as layout
10243
10244         * text.C: layout as layout
10245
10246         * tabular.C (OldFormatRead): layout as layout
10247
10248         * paragraph_pimpl.C (TeXDeeper): layout as layout
10249         (realizeFont): layout as layout
10250
10251         * paragraph.C (writeFile): layout as layout
10252         (validate): layout as layout
10253         (getFont): layout as layout
10254         (getLabelFont): layout as layout
10255         (getLayoutFont): layout as layout
10256         (breakParagraph): layout as layout
10257         (stripLeadingSpaces): layout as layout
10258         (getEndLabel): layout as layout
10259         (getMaxDepthAfter): layout as layout
10260         (applyLayout): layout as layout
10261         (TeXOnePar): layout as layout
10262         (simpleTeXOnePar): layout as layout
10263         (TeXEnvironment): layout as layout
10264         (layout): layout as layout
10265         (layout): layout as layout
10266
10267         * lyxtextclass.C (compare_name): new functor to work with
10268         shared_ptr, layout as layout
10269         (Read): layout as layout
10270         (hasLayout): layout as layout
10271         (operator): layout as layout
10272         (delete_layout): layout as layout
10273         (defaultLayout): layout as layout
10274
10275         * lyxlayout_ptr_fwd.h: new file
10276
10277         * lyxlayout.C (Read): layout as layout
10278
10279         * lyx_cb.C (MenuInsertLabel): layout as layout
10280
10281         * bufferlist.C (newFile): layout as layout
10282
10283         * buffer.C (readLyXformat2): layout as layout
10284         (parseSingleLyXformat2Token): layout as layout
10285         (insertStringAsLines): layout as layout
10286         (asciiParagraph): layout as layout
10287         (latexParagraphs): layout as layout
10288         (makeLinuxDocFile): layout as layout
10289         (simpleLinuxDocOnePar): layout as layout
10290         (makeDocBookFile): layout as layout
10291         (simpleDocBookOnePar): layout as layout
10292         (getLists): layout as layout
10293
10294         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10295
10296         * CutAndPaste.C (cutSelection): layout as layout
10297         (pasteSelection): layout as layout
10298         (SwitchLayoutsBetweenClasses): layout as layout
10299
10300         * BufferView_pimpl.C (Dispatch): layout as layout
10301         (smartQuote): layout as layout
10302
10303         * BufferView2.C (unlockInset): layout as layout
10304
10305 2002-06-24  André Pönitz <poenitz@gmx.net>
10306
10307         * lyxfunc.C: fix #487
10308
10309 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10310
10311         * lyxrc.h:
10312         * lyxrc.C:
10313         * lyxfunc.C: remove display_shortcuts, show_banner
10314
10315 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10316
10317         * Buffer_pimpl.C: oops, update on resize
10318
10319 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * buffer.C:
10322         * converter.C:
10323         * exporter.C:
10324         * lyxfunc.C:
10325         * BufferView.h:
10326         * BufferView.C: use repaint()
10327
10328         * BufferView_pimpl.h:
10329         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10330           as it's a clearer description. Remove superfluous
10331           redraws.
10332
10333 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * text.C: fix bug 488. Not ideal, but getting
10336           getWord() to work properly for the insets that
10337           matter is more difficult ...
10338
10339 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10340
10341         * BufferView_pimpl.C:
10342         * LyXAction.C:
10343         * commandtags.h:
10344         * lyxfunc.C: remove the six million index lyxfuncs to just
10345           one, and DTRT (bug 458)
10346
10347 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10348
10349         * BufferView.h:
10350         * BufferView.C:
10351         * BufferView_pimpl.h:
10352         * BufferView_pimpl.C: clean up resize() stuff,
10353           and unnecessary updateScreen()s
10354
10355 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * BufferView.h:
10358         * BufferView.C:
10359         * BufferView_pimpl.h:
10360         * BufferView_pimpl.C:
10361         * lyxfind.h:
10362         * lyxfind.C:
10363         * minibuffer.C: remove focus management of workarea,
10364           not needed. Use screen's greyOut()
10365
10366 2002-06-17  Herbert Voss  <voss@lyx.org>
10367
10368         * converter.C: (convert) do not post a message, when converting
10369         fails, let the calling function decide what to do in this case
10370
10371 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10372
10373         * lyxfunc.C: tidy up a little
10374
10375 2002-06-16    <alstrup@diku.dk>
10376
10377         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10378         Got rid of FORMS_H_LOCATION include. Now we are
10379         GUII.
10380
10381 2002-06-15  LyX Development team  <lyx@rilke>
10382
10383         * buffer.[Ch] (sgmlOpenTag):
10384         (sgmlCloseTag): Added support for avoiding pernicious mixed
10385         content. Return number of lines written.
10386
10387         (makeLinuxDocFile):
10388         (makeDocBookFile): Fixed calls to sgml*Tag.
10389         Simple white space clean.
10390
10391         (simpleDocBookOnePar): Simple white space clean.
10392
10393         * tabular.[Ch] (docBook): Renamed to docbook and got another
10394         argument to related with the pernicious mixed content.
10395
10396         (docbookRow): Fixed calls for docbook inset method.
10397
10398 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10399
10400         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10401         so it's X11 independent.
10402
10403         * kb*.[Ch]: ditto.
10404
10405         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10406
10407 2002-06-15  Lyx Development team  <lyx@electronia>
10408
10409         * intl.h: Renamed getTrans to getTransManager.
10410
10411 2002-06-14  Angus Leeming  <leeming@lyx.org>
10412
10413         * Makefile.am: nuke forgotten stl_string_fwd.h.
10414
10415 2002-06-12  Angus Leeming  <leeming@lyx.org>
10416
10417         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10418
10419 2002-06-13  Angus Leeming  <leeming@lyx.org>
10420
10421         * LaTeX.C:
10422         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10423
10424 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10425
10426         * kbmap.C (getiso): add support for cyrillic and greek
10427
10428 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10429
10430         * BufferView.h:
10431         * BufferView.C:
10432         * BufferView_pimpl.h:
10433         * BufferView_pimpl.C: move bogus scrolling logic
10434           to xforms
10435
10436 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10437
10438         * lyxfunc.C:
10439         * BufferView_pimpl.C: view->resize() change
10440
10441 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10442
10443         * BufferView_pimpl.C: topCursorVisible
10444           prototype change
10445
10446 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10447
10448         * Makefile.am:
10449         * lyx_gui.h:
10450         * lyx_gui.C: move to frontends/
10451
10452         * main.C:
10453         * lyx_main.h:
10454         * lyx_main.C: changes from above
10455
10456 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * intl.C:
10459         * intl.h:
10460         * kbmap.C:
10461         * kbsequence.C:
10462         * lyx_cb.C:
10463         * lyx_main.C: minor tidy
10464
10465 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10466
10467         * BufferView_pimpl.h:
10468         * BufferView_pimpl.C:
10469         * BufferView.h:
10470         * BufferView.C: make painter() const,
10471           remove dead code
10472
10473         * BufferView2.C: use screen() accessor
10474
10475         * lyx_main.h:
10476         * lyx_main.C: some minor cleanup
10477
10478 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10479
10480         * BufferView_pimpl.h:
10481         * BufferView_pimpl.C: remove enter/leaveView,
10482           use workHeight()
10483
10484 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * BufferView.h:
10487         * BufferView.C:
10488         * BufferView2.C:
10489         * BufferView_pimpl.h:
10490         * BufferView_pimpl.C: only construct screen once,
10491           rename
10492
10493         * lyxrc.C: remove pointless comment
10494
10495 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10496
10497         * BufferView.h:
10498         * BufferView.C: remove active() and belowMouse()
10499
10500         * BufferView_pimpl.h:
10501         * BufferView_pimpl.C: use workarea() not workarea_,
10502           and make it use a scoped_ptr instead
10503
10504 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10505
10506         * lyx_gui.C: add debug message on BadWindow
10507
10508 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10509
10510         * sp_spell.C: fdopen is not part of the C++ standard.
10511
10512         * paragraph.C (InsetIterator): use >= instead of ==
10513
10514 2002-06-07  Angus Leeming  <leeming@lyx.org>
10515
10516         Fixes needed to compile with Compaq cxx 6.5.
10517         * BufferView_pimpl.C:
10518         * DepTable.C:
10519         * buffer.C:
10520         * converter.C:
10521         * encoding.C:
10522         * lyx_gui.C:
10523         * lyx_main.C:
10524         * lyxtextclasslist.C:
10525         * minibuffer.C:
10526         * sp_spell.C:
10527         * tabular_funcs.C:
10528         * vc-backend.C:
10529         all c-library variables have been moved into namespace std. Wrap
10530         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10531
10532         * lyxlength.C:
10533         * tabular-old.C:
10534         * tabular.C:
10535         Add a using std::abs declaration.
10536
10537         * kbmap.h (modifier_pair):
10538         * paragraph.h (InsetTable, InsetList):
10539         * lyxfont.h (FontBits):
10540         type definition made public.
10541
10542         * bufferlist.C (emergencyWriteAll): the compiler complains that
10543         there is more than one possible lyx::class_fun template to choose from.
10544         I re-named the void specialisation as lyx::void_class_fun.
10545
10546         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10547
10548         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10549         the compiler is is unable to find tostr in write_attribute.
10550
10551 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10552
10553         * buffer.C (sgmlError): hide #warning
10554
10555 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10556
10557         * xtl/*: get rid of xtl, which is not in use anyway
10558
10559         * LyXAction.C (init):
10560         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10561         were unimplemented xtl experimentation
10562
10563 2002-06-04  André Pönitz <poenitz@gmx.net>
10564
10565         * lyxfunc.C: disable array operation on simple formulae
10566
10567 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10568
10569         * converter.C: constify a bit
10570
10571 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * lyx_gui.C: check xforms version correctly
10574
10575 2002-04-30  Herbert Voss  <voss@lyx.org>
10576
10577         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10578         "keep" option
10579
10580 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10583           attempt to register it with a VCS)
10584
10585 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10586
10587         * lyx_main.C (init): honor variables LYX_DIR_13x and
10588         LYX_USERDIR_13x
10589
10590 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * buffer.h:
10593         * buffer.C:
10594         * lyx_main.C: fix a crash on bad command line,
10595           and give a useful exit status on error
10596
10597         * lyxfunc.C (doImport): allow -i lyx to work
10598
10599 2002-03-30  André Pönitz <poenitz@gmx.net>
10600
10601         * lyxfunc.C: mathed font changes
10602
10603 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10604
10605         * LaTeX.C:
10606         * importer.h:
10607         * importer.C:
10608         * lyx_sty.h:
10609         * lyx_sty.C:
10610         * lyxlex.C:
10611         * lyxrow.h:
10612         * lyxtext.h:
10613         * paragraph.h:
10614         * paragraph.C:
10615         * texrow.h:
10616         * texrow.C:
10617         * text.C:
10618         * trans_mgr.h: srcdocs, and some minor cleanups
10619
10620 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10621
10622         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10623         call getFont all the time)
10624
10625 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10626
10627         * switch from SigC signals to boost::signals
10628
10629 2002-05-29  André Pönitz <poenitz@gmx.net>
10630
10631         * paragraph_pimpl.C (getChar): don't call size() too often...
10632
10633 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10634
10635         * paragraph_pimpl.C (insertChar): do not try to update tables when
10636         appending (pos == size())
10637
10638         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10639         in order to reduce drastically the number of comparisons needed to
10640         parse a large document
10641
10642 2002-05-29  André Pönitz <poenitz@gmx.net>
10643
10644         * text.C:
10645         * text2.C:
10646         * lyxtextclass.C:
10647         * sp_pspell.h:
10648         * textclasslist.[Ch]:
10649         * sp_ispell.h: whitespace change
10650
10651 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10654         lyxaction directly now.
10655
10656 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * trans.C:
10659         * lyxfont.C:
10660         * lyxvc.C: remove unused headers
10661
10662 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10663
10664         * Makefile.am:
10665         * buffer.h:
10666         * undostack.h:
10667         * undostack.C:
10668         * undo_funcs.h:
10669         * undo_funcs.C: some cleanups. Use shared_ptr
10670           and a template for the undo stacks.
10671
10672 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10673
10674         * BufferView_pimpl.h:
10675         * BufferView_pimpl.C:
10676         * kbmap.h:
10677         * kbmap.C:
10678         * kbsequence.h:
10679         * kbsequence.C:
10680         * lyxfunc.h:
10681         * lyxfunc.C:
10682         * text2.C: use key_state/mouse_state
10683
10684 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10685
10686         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10687         and LSubstring
10688
10689         * chset.C: change include order
10690         (loadFile): use boost regex and get rid of LRegex and LSubstring
10691
10692         * Makefile.am (BOOST_LIBS): new variable
10693         (lyx_LDADD): use it
10694
10695         * LaTeX.C: change include order.
10696         (scanAuxFile): use boost regex and get rid of LRegex and
10697         LSubstring
10698         (deplog): ditto
10699
10700 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10701
10702         * ColorHandler.h:
10703         * ColorHandler.C:
10704         * FontInfo.h:
10705         * FontInfo.C: moved to frontends/xforms/
10706
10707         * FontLoader.h:
10708         * FontLoader.C: moved into frontends for GUIIzation
10709
10710         * Makefile.am:
10711         * lyx_gui.C:
10712         * lyxfont.C:
10713         * lyxfunc.C: changes from above
10714
10715 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10716
10717         * LColor.C: remove spurious X include
10718
10719         * BufferView_pimpl.C:
10720         * Makefile.am:
10721         * font.h:
10722         * font.C:
10723         * text.C:
10724         * text2.C: move font metrics to frontends/
10725
10726 2002-05-24  Juergen Vigna  <jug@sad.it>
10727
10728         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10729         setting the undo_cursor.
10730
10731         * ParagraphParameters.h: include local includes first.
10732
10733 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10734
10735         * BufferView_pimpl.C:
10736         * BufferView_pimpl.h:
10737         * Makefile.am:
10738         * WorkArea.h:
10739         * WorkArea.C:
10740         * screen.C: move WorkArea into frontends/
10741
10742         * lyxscreen.h:
10743         * screen.C:
10744         * text.C:
10745         * BufferView.C:
10746         * BufferView2.C: move LyXScreen into frontends/
10747
10748         * lyxlookup.h:
10749         * lyxlookup.C:
10750         * lyx_gui.C: move lyxlookup into frontends/xforms/
10751
10752 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * BufferView2.C:
10755         * BufferView_pimpl.C:
10756         * FontLoader.C:
10757         * LyXView.h:
10758         * LyXView.C:
10759         * Makefile.am:
10760         * WorkArea.C:
10761         * XFormsView.h:
10762         * XFormsView.C:
10763         * buffer.C:
10764         * bufferlist.C:
10765         * bufferview_funcs.C:
10766         * converter.C:
10767         * importer.C:
10768         * lyx_cb.C:
10769         * lyx_gui.C:
10770         * lyx_main.C:
10771         * lyx_find.C:
10772         * lyxfunc.C:
10773         * lyxvc.C:
10774         * minibuffer.C:
10775         * text.C:
10776         * text2.C:
10777         * trans.C:
10778         * vc-backend.C: move LyX/XFormsView into frontends/
10779
10780 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10781
10782         * Makefile.am:
10783         * PainterBase.C:
10784         * PainterBase.h:
10785         * Painter.C:
10786         * Painter.h:
10787         * WorkArea.C:
10788         * WorkArea.h:
10789         * screen.C:
10790         * tabular.C:
10791         * text.C:
10792         * text2.C: move Painter to frontends/
10793
10794 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * buffer.C: comment out some some code that depend upon lyx_format
10797         < 220
10798
10799         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10800         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10801
10802         * buffer.h (NO_COMPABILITY): turn off compability
10803
10804         * ColorHandler.C: include scoped_array.hpp
10805
10806         * font.C: Use more specific smart_ptr header.
10807         * Painter.C: ditto
10808         * gettext.C: ditto
10809         * ShareContainer.h: ditto
10810         * lyx_main.h: ditto
10811         * kbmap.h: ditto
10812         * FontInfo.h: ditto
10813         * BufferView_pimpl.h: ditto
10814         * ColorHandler.h: ditto
10815
10816         * kbmap.C (defkey): change call to shared_ptr::reset
10817
10818 2002-05-21  Juergen Vigna  <jug@sad.it>
10819
10820         * buffer.C (insertErtContents): fix to insert ert asis if it is
10821         non empty. Skip it completely if it contains only whitespaces.
10822
10823 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10824
10825         * BufferView_pimpl.C:
10826         * BufferView2.C: clear selection on paste (bug 393)
10827
10828 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * DepTable.C: include ctime
10831
10832 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10835
10836 2002-05-14  Juergen Vigna  <jug@sad.it>
10837
10838         * text.C (breakParagraph): fixed function to honor the keepempty
10839         layout in the right maner and also to permit the right breaking
10840         algorithm on empty or non empyt keepempty paragraphs.
10841
10842         * paragraph.C (breakParagraph): we have to check also if the par
10843         is really empty (!size()) for isempty otherwise we do the wrong
10844         paragraph break.
10845
10846 2002-05-10  Juergen Vigna  <jug@sad.it>
10847
10848         * buffer.[Ch] : The following are only changes to the ert
10849         compatibility read reading old LaTeX layout and font stuff and
10850         convert it to ERTInsets.
10851
10852         * buffer.h: added isErtInset().
10853
10854         * buffer.C (struct ErtComp): add a fromlayout bool to check
10855         if we're inside a LaTeX layout.
10856         (isErtInset): new helper function.
10857         (insertErtContents): look for other ert insets before this one
10858         and insert the contents there, so that we don't have subsequent
10859         ERT insets with nothing between them. This way we create only one
10860         inset with multiple paragraphs. Also check if we don't insert only
10861         spaces ' ' as they are ignored anyway afterwards in the .tex file
10862         so if we have only spaces we will ignore this latex part in the
10863         new file.
10864         (parseSingleLyXformat2Token \\layout): better compatibility when
10865         reading layout-latex stuff.
10866         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10867         language tag.
10868         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10869         stuff after reading the inset only get the information back from
10870         the stack.
10871
10872 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10873
10874         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10875
10876         * LaTeXFeatures.C (getBabelOptions): New method.
10877
10878 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10879
10880         * BufferView_pimpl.C (Dispatch): work around missing argument for
10881         'layout'
10882
10883 2002-05-08  Juergen Vigna  <jug@sad.it>
10884
10885         * text.C (leftMargin): handle paragraph leftindent.
10886
10887         * paragraph.C (writeFile): write the new \\leftindent tag.
10888         (validate): handle leftindent code.
10889         (TeXEnvironment): handle paragraphleftindent code again.
10890
10891         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10892
10893         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10894         for paragrap_extra indent code and new token \\leftindent.
10895         (latexParagraphs): handle the leftindent as environment.
10896
10897         * ParameterStruct.h: added leftindent support.
10898
10899         * ParagraphParameters.C (leftIndent): added support functions for
10900         the paragraph left indent.
10901
10902         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10903         more appropriate.
10904
10905 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10906
10907         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10908         inside insetERT.
10909
10910         * text.C (computeBidiTables): No bidi in insetERT.
10911
10912         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10913         in RTL documents.
10914
10915 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10916
10917         * version.C.in: pre 5
10918
10919 2002-05-02  José Matos  <jamatos@fep.up.pt>
10920         * buffer.C (makeDocBookFile): white space changes, add newline to
10921         command styles.
10922         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10923
10924         * tabular.C (docBook): fix typo.
10925
10926 2002-05-03  Juergen Vigna  <jug@sad.it>
10927
10928         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10929         change in LyXText as we can not be sure it was not freed.
10930         (drawOneRow): remove unused code.
10931
10932         * text.C (drawInset): redo the calculation of the need_break_row as
10933         it could have a row which was already freed.
10934         (draw): look at the return value of drawInset and return false if
10935         it also returned false.
10936         (paintRowText): look at the return value of draw and return false if
10937         it also returned false.
10938
10939         * lyxtext.h: added bool return type to drawInset() and draw() so that
10940         if we have a change in the row so that the rowbreak has to be redone
10941         we abort drawing as it will be called again.
10942
10943 2002-05-02  Juergen Vigna  <jug@sad.it>
10944
10945         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10946         a change in the maintext also if we're inside an inset.
10947         (Dispatch): set the cursor again after a break line and after the
10948         screen has been updated as it could be we're in a different row.
10949
10950         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10951         to set the cursor behind the pargraph with > size().
10952         (setCursor): check also for the same paragraph when checking where
10953         to put the cursor if we have a NFR inset.
10954
10955         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10956         parts of layout read further up as it still was in the wrong
10957         position.
10958
10959 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10960
10961         * screen.C (drawFromTo): change sine fullRebreak always return
10962         true.
10963
10964         * buffer.C (parseSingleLyXformat2Token): reindent some
10965
10966         * BufferView_pimpl.C (update): change since fullRebreak always
10967         return true.
10968         (Dispatch): git rid of the last hardcoded "Standard"s.
10969
10970 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10971
10972         * text2.[Ch] (fullRebreak): make it return void now that we always
10973         returned true.
10974
10975 2002-04-30  Juergen Vigna  <jug@sad.it>
10976
10977         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10978         ert compatibility check for "latex" layout.
10979
10980 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10981
10982         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10983         minipages: use col% instead of p%, and also use the current font.
10984         (makeLaTeXFile): Fix use babel condition.
10985         (parseSingleLyXformat2Token): Correct font when reading old floats.
10986
10987 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10988
10989         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10990         inserting list of floats.
10991
10992 2002-04-25  Herbert Voss  <voss@lyx.org>
10993
10994         * MenuBackend.C (expand): don't add the graphics extensions to the
10995         export menu
10996
10997 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10998
10999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11000         non-existing layout, do not complain if it was the default layout
11001         of the original class (bug #342)
11002
11003 2002-04-24  Juergen Vigna  <jug@sad.it>
11004
11005         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11006         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11007
11008 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11009
11010         * buffer.C (getBibkeyList): If using \bibliography, return the
11011         option field with the reference itself. Enables us to provide natbib
11012         support when using \bibliography.
11013
11014 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11015
11016         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11017
11018         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11019         natbib is provided by the LaTeX class.
11020
11021 2002-04-23  Juergen Vigna  <jug@sad.it>
11022
11023         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11024         Wakeup functions.
11025
11026         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11027
11028 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11029
11030         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11031
11032         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11033         ensuremath around textordmasculine, textordfeminine and
11034         textdegree.
11035
11036 2002-04-19  Juergen Vigna  <jug@sad.it>
11037
11038         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11039         reinitializing the buffer otherwise row-dimensions may be wrong.
11040         (update): reset also the selection cursors if they do exits otherwise
11041         their x/y positions may be wrong.
11042
11043         * text2.C (cursorDown): don't enter the inset if we came from a row
11044         above and are one row over the inset.
11045
11046         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11047         really leaving an inset.
11048
11049 2002-04-18  Juergen Vigna  <jug@sad.it>
11050
11051         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11052         of the selected paragraph does not have the selected layout also if
11053         the last one had!
11054
11055         * text2.C (setLayout): fixed bug which did not change last selected
11056         paragraph.
11057
11058         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11059         changed the read and substituted \\end_float with \\end_inset!
11060
11061         * BufferView_pimpl.C (cursorPrevious):
11062         (cursorNext): fixed to make it work with rows heigher than the work
11063         area without moving the cursor only the draw of the row.
11064         (workAreaMotionNotify): fix jumping over high rows.
11065
11066 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11069         Ressler.
11070
11071 2002-04-16  Juergen Vigna  <jug@sad.it>
11072
11073         * text2.C (setCursor): set also the irow().
11074         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11075         (cursorUp):
11076         (cursorDown): support for locking an inset if the x_fix value goes
11077         inside it. That way I can transverse insets too with cursor up/down.
11078
11079         * lyxrow.h: added irow helper function same as other (i) functions.
11080
11081         * BufferView_pimpl.C (cursorPrevious):
11082         (cursorNext): fixed for insets!
11083
11084 2002-04-15  Juergen Vigna  <jug@sad.it>
11085
11086         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11087         position otherwise it is wrong in some cases.
11088
11089         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11090         inside the inset before the call.
11091
11092 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11093
11094         * buffer.[Ch] (getBibkeyList): make it const.
11095
11096 2002-04-12  Juergen Vigna  <jug@sad.it>
11097
11098         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11099
11100         * text2.C (getCursorX): new helper function
11101         (setCursor): compute also ix_
11102         (setCursorFromCoordinates): set also ix.
11103
11104         * lyxcursor.h: added ix_ and helper functions.
11105
11106         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11107
11108         * buffer.C (insertStringAsLines): dont break paragraph if the this
11109         paragraph is inside an inset which does not permit it!
11110
11111         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11112         also with no chars on this paragraph.
11113         (paintRowText): only paint stuff if it's inside the workarea!
11114
11115         * paragraph.C (breakParagraph): honor keepempty flag and break the
11116         paragraph always below not above.
11117
11118         * BufferView2.C (unlockInset): update the paragraph layout on inset
11119         unlock as we changed paragraph in such a case.
11120
11121         * lyxfind.C (LyXFind): clear the former selection if not found!
11122
11123         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11124         again called in insertChar().
11125
11126         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11127         an inset which uses the whole row!
11128         (rightMargin): ditto.
11129         (insertChar): force a rebreak if we inserted an inset!
11130
11131 2002-03-28  Herbert Voss  <voss@lyx.org>
11132
11133         * lyxlength.[Ch]: add inBP() to get the right PS-point
11134         units (BigPoint). With inPixels we have rounding errors
11135
11136 2002-04-11  Juergen Vigna  <jug@sad.it>
11137
11138         * text2.C (setCursorFromCoordinates): set iy to the right value.
11139         (setCursor): add check if row->previous exists!
11140
11141         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11142         an old float_type as this was the case in the old code!
11143
11144         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11145
11146         * BufferView2.C (showLockedInsetCursor): use iy
11147         (fitLockedInsetCursor): ditto
11148
11149         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11150         locked insets as there we have the right value now.
11151
11152         * lyxcursor.C: added iy_ variable and iy functions to set to the
11153         baseline of cursor-y of the locked inset.
11154
11155         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11156         (setCursor): fixed for insets which need a full row.
11157
11158         * text.C (rowLastPrintable): don't ignore the last space when before
11159         an inset which needs a full row.
11160         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11161         as last character of a row when before a inset which needs a full row.
11162
11163 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * version.C.in: update date
11166
11167         * text2.C (fullRebreak): try to always return true and see what
11168         happens...
11169
11170 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11171
11172         * MenuBackend.C (expand): use Floating::listName
11173
11174         * FloatList.C (FloatList): add listName argument to the built-in
11175         floats
11176
11177         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11178         text associated with the float.
11179
11180 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11183
11184 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * ShareContainer.h: add a couple of missing typenames.
11187
11188 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11189
11190         * lyxrc.C (getDescription): use _() correctly rather than N_().
11191
11192 2002-03-28  Herbert Voss  <voss@lyx.org>
11193
11194         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11195         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11196
11197 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11198
11199         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11200         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11201
11202 2002-03-29  Juergen Vigna  <jug@sad.it>
11203
11204         * lyxfunc.C (dispatch): add a missing fitCursor call.
11205
11206         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11207         it was scrolled by a cursor move, so return the bool status.
11208
11209         * BufferView.C (fitCursor): return the bool flag also to the outside
11210         world as this is needed.
11211
11212         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11213
11214         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11215         call the edit() as it is not needed (and wrong) IMO.
11216         (workAreaButtonPress): set the screen_first variable before evt.
11217         unlock the inset as this may change screen_first and then we have
11218         a wrong y position for the click!
11219
11220 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * MenuBackend.C (expand): another translation that I missed
11223
11224 2002-03-28  Juergen Vigna  <jug@sad.it>
11225
11226         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11227
11228         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11229
11230 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11231
11232         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11233
11234         * MenuBackend.C (expand): fix export/view/update when there is no
11235         document open.
11236
11237 2002-03-27  Herbert Voss  <voss@lyx.org>
11238
11239         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11240         and text%
11241
11242 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11243
11244         * bufferview_funcs.C (currentState): only show paragraph number
11245         for is DEVEL_VERSION is set.
11246
11247         * lyxfunc.C (dispatch): put warning in INFO channel
11248
11249         * MenuBackend.C (expand): translate the name of floats
11250
11251         * FloatList.C (FloatList): mark the float names for translation
11252
11253         * converter.C (convert): use LibScriptSearch
11254
11255 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * MenuBackend.C (defaults): fix default menu (we might as well get
11258         rid of it...)
11259
11260 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11263         directory.
11264
11265 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11266
11267         * lyxvc.C: reorder includes.
11268
11269 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11270
11271         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11272           properly
11273
11274 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * CutAndPaste.C: change layouts earlier on paste
11277           to avoid crashing when calling getFont()
11278
11279 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11280
11281         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11282         irritating #error.
11283
11284 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * WorkArea.C: remove 'Pending' debug message.
11287
11288         * most files: ws cleanup
11289
11290         * buffer.[Ch]: ws changes
11291
11292         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11293
11294 2002-03-21  Juergen Vigna  <jug@sad.it>
11295
11296         * tabular.C (SetMultiColumn): collapse also the contents of the
11297         cells and set the last border right. Added a Buffer const * param.
11298
11299 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11300
11301         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11302         linking or not.
11303
11304 2002-03-19  Juergen Vigna  <jug@sad.it>
11305
11306         * text2.C (clearSelection): reset also xsel_cache.
11307
11308         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11309         where it needs to be called (John tells us to do so too :)
11310         (selectionLost): reset sel_cache.
11311
11312         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11313
11314 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11315
11316         * text2.C (setCursorIntern): put debuging code in INSETS channel
11317
11318 2002-03-19  André Pönitz <poenitz@gmx.net>
11319
11320         * lyxfunc.C: tiny whitespace change
11321
11322 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11323
11324         * ToolbarDefaults.C (init):
11325         * LyXAction.C (init):
11326         * commandtags.h:
11327         * BufferView_pimpl.C (Dispatch):
11328         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11329
11330 2002-03-19  Allan Rae  <rae@lyx.org>
11331
11332         * exporter.C (Export): removeAutoInsets before doing anything else.
11333         While I've just introduced a dependency on BufferView this really is
11334         the best place to clean the buffer otherwise you need to cleanup in
11335         a dozen places before calling export or cleanup in a dozen functions
11336         that export calls.
11337
11338         * converter.C (runLaTeX):
11339         (scanLog): Better handling of removeAutoInsets and screen updates.
11340
11341         * lyxfunc.C (dispatch): small whitespace changes
11342
11343 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * WorkArea.C (C_WorkAreaEvent): return a value.
11346         (event_cb): return 1 if we handled the event, 0 otherwise.
11347
11348         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11349
11350 2002-03-18  Juergen Vigna  <jug@sad.it>
11351
11352         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11353         (GetAdditionalWidth): ditto.
11354         (RightLine): ditto.
11355         (LeftLine): ditto.
11356
11357         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11358         inset if we're there actually (probably not used right now but this
11359         is the direction to go for unifying code).
11360         (paste): disable code to clear the selection.
11361
11362         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11363         inside an InsetText and move the check further up as it is in the
11364         wrong place.
11365
11366         * text2.C (pasteSelection): set a selection over the pasted text.
11367
11368 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11369
11370         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11371         and libgraphics to build on Cygwin.
11372
11373 2002-03-15  Juergen Vigna  <jug@sad.it>
11374
11375         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11376         inserting an Inset into the paragraph. I know this is not the best
11377         fix but we already use current_view in CutAndPaste so we will remove
11378         all of it's using at the same time.
11379
11380         * buffer.C (sgmlError): deactivated function till it is rewritten in
11381         the right mode, now it can create problems.
11382
11383         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11384         before accessing it.
11385
11386 2002-03-14  Juergen Vigna  <jug@sad.it>
11387
11388         * undo_funcs.C (textHandleUndo): do the right thing when updating
11389         the inset after the undo/redo.
11390
11391         * text2.C (setCursor): just some testcode for #44 not ready yet.
11392
11393         * undo_funcs.C (textHandleUndo): set the next() and previous()
11394         pointers of the paragraph to 0 before deleting otherwise we have
11395         problems with the Paragraph::[destructor].
11396
11397         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11398         on a paragraph insertion.
11399
11400 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11401
11402         * buffer.C (asciiParagraph): use += operator for char append to
11403         string.
11404
11405         * paragraph.C (getFontSettings): compare >= not just >
11406         (highestFontInRange): ditto
11407         (setFont): ditto
11408
11409 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * paragraph.C: change several algorithm to be more appripriate for
11412         the problem domain. This is lookip in FontList and in the InsetList.
11413
11414 2002-03-13  André Pönitz <poenitz@gmx.net>
11415
11416         * commandtags.h:
11417         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11418
11419 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * commandtags.h:
11422         * LyXAction.C:
11423         * lyxfunc.C:
11424         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11425
11426 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * Painter.C (display): anon helper function, adjust code for this
11429         change.
11430         (pixmap): remove function.
11431
11432         * Painter.h: remove private display variable.
11433
11434         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11435
11436 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11437
11438         * WorkArea.[Ch]: remove figinset_canvas cruft.
11439
11440 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * lyxtextclass.C (operator): add one item cache optimization.
11443
11444         * bufferlist.h: doxy changes
11445
11446         * bufferlist.C: ws changes
11447
11448         * DepTable.[Ch] (ext_exist): place const in the right spot.
11449
11450         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11451         call resizeInsets.
11452         (workAreaExpose): call resizeInsets when the with BufferView changes.
11453         (Dispatch): adjust for protectedBlank removal
11454         (specialChar): call updateInset if the insert went ok.
11455
11456         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11457         specialChar instead.
11458
11459         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11460
11461         * BufferView.h: doxy change
11462
11463         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11464
11465         * lyxtextclass.C (operator[]): remove non-const version
11466         (defaultLayout): remove non-const version
11467
11468 2002-03-12  Juergen Vigna  <jug@sad.it>
11469
11470         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11471         did resize the LyXText too.
11472
11473         * buffer.C (readLyXformat2): set layout information on newly allocated
11474         paragraphs.
11475
11476         * tabular.C (OldFormatRead): set layout information on the paragraph.
11477
11478 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11479
11480         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11481
11482 2002-03-11  Juergen Vigna  <jug@sad.it>
11483
11484         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11485         plainly wrong.
11486         (resizeCurrentBuffer): force also the insets to resize themselfes.
11487         (moveCursorUpdate): fixed up for InsetText.
11488
11489 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11490
11491         * commandtags.h:
11492         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11493         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11494         value of Dialogs::tooltipsEnabled().
11495         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11496
11497 2002-03-08  Juergen Vigna  <jug@sad.it>
11498
11499         * BufferView_pimpl.C (updateInset): update inset inside inset also
11500         if it isn't inside theLockingInset().
11501
11502 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11503
11504         * buffer.C (asciiParagraph): redo some of the word and line length
11505         handling.
11506         (getLists): look for Caption instead of caption.
11507
11508 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11509
11510         * buffer.C (Buffer): initialize niceFile to true
11511         (makeLaTeXFile):
11512         (makeLinuxDocFile):
11513         (makeDocBookFile): make sure niceFile is true on exit
11514
11515 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11516
11517         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11518
11519 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11520
11521         * LyXSendto.C: remove.
11522         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11523         * lyx_gui.C: remove now-redundant comment.
11524         * ColorHandler.h: remove forward declaration of class WorkArea.
11525         * lyxfunc.C: remove #include "WorkArea.h".
11526
11527 2002-03-07  Juergen Vigna  <jug@sad.it>
11528
11529         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11530         got moved away with the DEPM and also set the inset_owner always
11531         right which before could have been omitted.
11532
11533 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11536         wanted layout is not found.
11537
11538 2002-03-07  Juergen Vigna  <jug@sad.it>
11539
11540         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11541
11542 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11543
11544         * paragraph.C (breakParagraph): use default layout not layout of
11545         prev paragraph.
11546         (Paragraph): clear ParagraphParameters.
11547
11548 2002-03-06  Juergen Vigna  <jug@sad.it>
11549
11550         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11551         otherwise it would not be a valid lenght. Fixed a special case in
11552         the minipage compatibility read where we end the document with a
11553         minipage.
11554
11555         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11556         was set as it could be 0 for InsetTexts first entry.
11557
11558 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11559
11560         * paragraph.C (writeFile): if layout is empty write out
11561         defaultLayoutName().
11562
11563         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11564         file without named layout we set layout to defaultLayoutName().
11565
11566 2002-03-06  Juergen Vigna  <jug@sad.it>
11567
11568         * CutAndPaste.C (copySelection): set layout for new paragraph.
11569
11570         * text.C (prepareToPrint): leave ERT inset left aligned
11571         (leftMargin): don't indent paragraphs inside ERT insets
11572
11573 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * paragraph.C (breakParagraph): dont call clear do the work manually
11576
11577         * paragraph.[Ch] (clear): remove function
11578
11579 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * paragraph.C (Paragraph): dont call clear, the work has already
11582         been done.
11583
11584         * lyxtextclass.C (operator): assert if n is empty
11585
11586         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11587         work manually instead.
11588
11589 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * BufferView_pimpl.C: protect selectionLost against text == 0
11592
11593 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11594
11595         * text.C (breakParagraph): fix a setting layout to '0' problem.
11596
11597 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11598
11599         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11600         final location of file, for the included files, and graphics.
11601
11602 2002-03-05  Juergen Vigna  <jug@sad.it>
11603
11604         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11605
11606 2002-03-04  Juergen Vigna  <jug@sad.it>
11607
11608         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11609
11610         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11611         last column of multicolumn cells.
11612         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11613
11614 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11615
11616         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11617         file if it doesn't go to a temporary file.
11618
11619         * buffer.C (sgmlOpenTag):
11620         (sgmlCloseTag):  remove extra newline insertion.
11621
11622 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * text.C (getRowNearY): comment out debug msg
11625
11626 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11627
11628         * text2.C: first -> first_y
11629
11630         * text.C (getRowNearY): add some attemts at a possible
11631         optimization, not working.
11632
11633         * tabular.[Ch]: add BufferParams to several function so that newly
11634         created paragraph can be initialized to he default layotu for the
11635         buffers textclass.
11636
11637         * tabular-old.C (ReadOld): add buf->params to call of Init
11638
11639         * screen.C: rename text->first to text->first_y
11640
11641         * paragraph.C (breakParagraph): always set layout in the broken
11642         paragraph
11643
11644         * lyxtextclass.C (Read): remove lowercase
11645         (hasLayout): ditto
11646         (operator): ditto
11647         (delete_layout): ditto
11648
11649         * lyxtext.h: rename first -> first_y
11650
11651         * lyxlayout.C (Read): remove lowercase
11652         (name): ditto
11653         (setName): ditto
11654         (obsoleted_by): ditto
11655
11656         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11657
11658         * buffer.C (insertErtContents): add params are to InsetERT
11659         (parseSingleLyXformat2Token): add code to check if a paragraphs
11660         layout really exist.
11661         (parseSingleLyXformat2Token): add params to several inset
11662         constructors
11663         (asciiParagraph): remove lowercase, do the layout comparisons with
11664         no_case
11665
11666         * BufferView_pimpl.C (cursorNext): first -> first_y
11667         (resizeCurrentBuffer): first -> first_y
11668         (updateScrollbar): first -> first_y
11669         (scrollCB): first -> first_y
11670         (workAreaMotionNotify): first -> first_y
11671         (workAreaButtonPress): first -> first_y
11672         (checkInsetHit): first -> first_y
11673         (cursorPrevious): first -> first_y
11674         (cursorNext): first -> first_y
11675         (Dispatch): add buffer_->params to severl inset contructors
11676
11677 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11678
11679         * lyxlayout.C (Read): remove some debug info that I forgot.
11680
11681         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11682         clean up the code slightly.
11683         (makeLinuxDocFile): ditto
11684         (makeDocBookFile): ditto
11685
11686         * text2.C: layout as string
11687
11688         * text.C: layout as string
11689
11690         * paragraph_pimpl.C: layout as string
11691
11692         * paragraph.[Ch]: layout as string
11693
11694         * lyxtextclasslist.[Ch]: layout as string
11695
11696         * lyxtextclass.[Ch]: layout as string
11697
11698         * lyxtext.h: layout as string
11699
11700         * lyxlayout.[Ch]: layout as string
11701
11702         * lyx_cb.C: layout as string
11703
11704         * bufferview_funcs.C: layout as string
11705
11706         * bufferparams.C: layout as string
11707
11708         * buffer.C: layout as string
11709
11710         * LyXView.[Ch]: layout as string
11711
11712         * LaTeXFeatures.[Ch]: layout as string
11713
11714         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11715
11716         * BufferView_pimpl.C: change current_layout to string, remove
11717         lyx::layout_type.
11718         (Dispatch):
11719         (smartQuote):
11720         (insertInset):
11721         (workAreaButtonRelease): layout as string
11722
11723         * BufferView2.C (unlockInset): adjust
11724
11725         * vspace.C (asLatexCommand): use an explict temp variable.
11726
11727 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * Makefile.am: use FRONTEND_*
11730
11731 2002-03-01  Juergen Vigna  <jug@sad.it>
11732
11733         * tabular.C (SetWidthOfMulticolCell): changed to something better
11734         I hope but still work in progress.
11735         (recalculateMulticolumnsOfColumn): renamed function from
11736         recalculateMulticolCells as it is more appropriate now.
11737         (SetWidthOfCell): calculate multicols better.
11738
11739 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11740
11741         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11742
11743         * lyxfunc.C (processKeySym): print sequence also if it is
11744         `deleted' (complete)
11745
11746         * kbsequence.C (print): print sequence even if it is deleted
11747         (complete would be a better word, actually).
11748
11749         * lyxfunc.C (dispatch): print complete options after a prefix key
11750
11751         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11752
11753 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11754
11755         * text2.C (setCharFont): eliminate setCharFont code duplication.
11756
11757 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11758
11759         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11760         LFUN_TABULAR_FEATURE (bug #177)
11761
11762 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11763
11764         * Makefile.am: remove figure.h
11765
11766 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11767
11768         * Bufferview_pimpl.C:
11769         * CutAndPasteC:
11770         * LaTeX.C:
11771         * LyXSendto.C:
11772         * buffer.C:
11773         * bufferlist.C:
11774         * converter.C:
11775         * language.C:
11776         * lyxfunc.C:
11777         * lyxvc.C:
11778         * paragraph.C:
11779         * text.C:
11780         * text2.C: remove #include "lyx_gui_misc.h".
11781
11782         * LaTeX.C: added #include <cstdio>
11783
11784 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11785
11786         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11787         that the paragraph following this one can have.
11788
11789         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11790
11791         * vspace.C (asLatexCommand): fix bogus gcc warning
11792
11793         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11794
11795 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11796
11797         * text2.C (setLayout): get rid of redundant code
11798
11799 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11800
11801         * text2.C (incDepth): make sure depth cannot be increased beyond
11802         reasonable values.
11803
11804 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11805
11806         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11807         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11808
11809         * PainterBase.h (image):
11810         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11811         a LyXImage const *.
11812
11813 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11814
11815         * BufferView.C:
11816         * BufferView.h:
11817         * BufferView_pimpl.C:
11818         * BufferView_pimpl.h:
11819         * LaTeXFeatures.C:
11820         * LyXAction.C:
11821         * LyXView.C:
11822         * Makefile.am:
11823         * UpdateList.h:
11824         * UpdateList.C:
11825         * buffer.C:
11826         * figure.h:
11827         * figureForm.C:
11828         * figureForm.h:
11829         * figure_form.C:
11830         * figure_form.h:
11831         * lyx_cb.C:
11832         * lyx_gui.C:
11833         * lyx_gui_misc.C:
11834         * lyxfunc.C:
11835         * sp_base.h:
11836         * sp_ispell.h:
11837         * sp_pspell.h:
11838         * sp_spell.C: remove fig inset, and the crap house of
11839           cards that follows it
11840
11841 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * Makefile.am:
11844         * lyxserver.C:
11845         * os2_defines.h:
11846         * os2_errortable.h:
11847         * nt_defines.h: move .h into support/
11848
11849         * vms_defines.h: remove
11850
11851         * WorkArea.C: add space in debug output
11852
11853         * text2.C:
11854         * paragraph.C:
11855         * buffer.C: add WITH_WARNINGS
11856
11857         * vc-backend.h:
11858         * vc-backend.C:
11859         * bufferlist.C: s/retrive/retrieve/, add docs
11860
11861         * vspace.h:
11862         * vspace.C:
11863         * kbmap.h:
11864         * lyxlength.h:
11865         * lyxgluelength.h:
11866         * length_common.h:
11867         * chset.h:
11868         * chset.C: add docs
11869
11870         * lyxgui.C: add ID to X error handler
11871
11872         * lyxtestclass.c: fix typo
11873
11874 2002-02-26  Juergen Vigna  <jug@sad.it>
11875
11876         * tabular_funcs.C (write_attribute): changed so that some default
11877         attributes are not written at all.
11878         (getTokenValue): set default values before trying to read the
11879         value so we have the return value always set as default if we don't
11880         find the token we search for.
11881
11882         * tabular.C (Write): write bools as bools not as strings!
11883
11884 2002-02-22  Juergen Vigna  <jug@sad.it>
11885
11886         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11887         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11888
11889         * text.C (leftMargin): don't add an indent for paragraphs inside
11890         tabular cells (fix #208).
11891
11892 2002-02-21  José Matos  <jamatos@fep.up.pt>
11893
11894         * tabular.C (docBook): fixed support for long tables.
11895
11896 2002-02-20  Juergen Vigna  <jug@sad.it>
11897
11898         * text2.C (getFont): get the drawing font of the Inset if this
11899         paragraph is inside an inset (only important for InsetERT for now).
11900
11901         * buffer.C (insertErtContents): use new lanugage params in ERT
11902         constructor.
11903
11904         * CutAndPaste.C: commenting out seemingly uneeded code.
11905
11906 2002-02-19  Allan Rae  <rae@lyx.org>
11907
11908         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11909         Iterators might be simple to use but they also get invalidated.
11910         (removeAutoInsets): renamed saved cursor tracking variables and added
11911         some comments to clarify what everything does.
11912
11913 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11914
11915         * Chktex.C:
11916         * LaTeX.C:
11917         * LyXSendto.C:
11918         * converter.C:
11919         * lyx_cb.C:
11920         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11921         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11922
11923         * lyxfunc.C:
11924         * vc-backend.h: remove #include "support/syscall.h"
11925
11926         * LaTeX.C:
11927         * LyXSendto.C:
11928         * converter.C: rearrange #includes in Lars' approved fashion.
11929
11930         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11931         forward declare class Timeout in the header file.
11932
11933         * XFormsView.C: changes due to the above.
11934
11935         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11936         similar to LyXView.
11937
11938         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11939         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11940
11941 2002-02-18  José Matos  <jamatos@fep.up.pt>
11942
11943         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11944         insets contents.
11945
11946 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11947
11948         * a lot of small ws changes
11949         * add a lot of using std::XXX
11950         * use std construcs some places where approp.
11951         * use some exisint stuff from lyxfunctional where approp.
11952         * Make file changes to use partial linking (lets test this now...)
11953
11954 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11955
11956         * Chktex.C:
11957         * buffer.C:
11958         remove #include "support/syscontr.h" as it's redundant. Always has been.
11959
11960         * Chktex.C:
11961         * LaTeX.C:
11962         * LyXSendto.C:
11963         * converter.C:
11964         * lyx_cb.C:
11965         * vc-backend.C:
11966         change Systemcalls::System to Systemcalls::Wait and
11967         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11968         No change of functionality, just reflects the stripped down Systemcalls
11969         class.
11970
11971 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * debug.[Ch]: add a GRAPHICS type to the enum.
11974
11975 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11976
11977         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11978
11979         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11980         there is an inset.
11981
11982 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11983
11984         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11985         match the changes below.
11986
11987         * text2.C (toggleInset): if there is not editable inset at cursor
11988         position, try to see if cursor is _inside_ a collapsable inset
11989         and close it.
11990
11991 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11994         document menu has a nice checkbox
11995
11996 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * lyxlength.C (asLatexString): change PW to output as percent of
11999         \textwidth.
12000
12001         * lengthcommon.C: change '%' to 't%'
12002
12003         * lyxfunc.C (dispatch): a few comments from Martin
12004
12005 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * WorkArea.h:
12008         * WorkArea.C:
12009         * BufferView_pimpl.h:
12010         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12011           the X selection.
12012
12013 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12014
12015         * vspace.C (inPixels): fix compiler warning
12016
12017 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12018
12019         * lyxfunc.C (getStatus): fix status message for disabled commands.
12020
12021 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * BufferView_pimpl.C: fix crash on close buffer
12024         during selection (#227)
12025
12026 2002-01-27  Herbert Voss  <voss@lyx.org>
12027
12028         * buffer.C: link old Figure to new graphic inset
12029
12030 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12031
12032         * FontLoader.C (getFontinfo): Change the latex font names in order
12033         to match the names of type1inst.
12034
12035 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12038
12039         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12040         (extchanged): ditto
12041         (ext_exist): ditto
12042         (remove_files_with_extension): ditto
12043         (remove_file): ditto
12044         (write): ditto
12045
12046         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12047         document is smaller than the work area height. Do not initialize
12048         static variables to 0.
12049
12050 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12053
12054         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12055         LFUN_LAYOUT_PARAGRAPHS.
12056
12057         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12058         tabular. It is possible to provide a possible cell, which will
12059         typically be the actcell from the corresponding insettabular
12060
12061         * lyxfunc.C (getStatus): small cleanup; disable
12062         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12063         true
12064
12065 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12066
12067         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12068
12069         * paragraph.C (startTeXParParams):
12070         (endTeXParParams): new methods. The LaTeX code to
12071         start/end paragraph formatting
12072         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12073         empty (fixes bug #200)
12074
12075         * vspace.C (inPixels): adapt to the change below
12076         (inPixels): [later] more cleanups (remove unused variables)
12077
12078         * lyxlength.C (inPixels): change to use a width and a height as
12079         parameter.
12080
12081 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12084         Replaced with \paperwidth
12085
12086         * DepTable.C (insert): add std:: qualifier
12087
12088 2002-01-18  Allan Rae  <rae@lyx.org>
12089
12090         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12091         updated also?
12092
12093         * text.C (drawInset): Turned out I didn't know enough about how
12094         rebreaking worked.  This fixes most of the redraw problems.  I see
12095         an occasional cursor trail when a line is broken now and the cursor
12096         placement can seem out by a few pixels also after a rebreak.
12097
12098 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * buffer.C (parseSingleLyXformat2Token): update because minipage
12101         width is now a LyXLength
12102
12103         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12104
12105         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12106         math insets
12107
12108 2002-01-17  Juergen Vigna  <jug@sad.it>
12109
12110         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12111
12112         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12113         is set correctly and the inset is updated correctly.
12114
12115 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12116
12117         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12118         the beginning of the loop.
12119
12120 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12121
12122         * lyxrc.C: improve help for use_scalable_fonts
12123
12124 2002-01-17  Allan Rae  <rae@lyx.org>
12125
12126         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12127
12128 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12131         make sure to set their inset_owner to the right value (bug #171)
12132
12133 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12134
12135         * DepTable.h
12136         * DepTable.C: Implement mtime checking to reduce time spent doing
12137         CRCs.
12138
12139 2002-01-16  Juergen Vigna  <jug@sad.it>
12140
12141         * tabular.C (GetAdditionalHeight): one of error fixed.
12142
12143         * lyxrc.C (output): small fix in writing use_pspell.
12144
12145 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12146
12147         * sp_base.h: #include LString.h
12148
12149 2002-01-16  Allan Rae  <rae@lyx.org>
12150
12151         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12152         Can someone check this please?
12153
12154         * text.C (drawInset): It was possible that p.row would be removed by
12155         breakAgainOneRow upsetting a few other settings.  There may be another
12156         small tweak possible by setting need_break_row = 0 when p.row has been
12157         removed but I don't know enough about the logic here.
12158
12159 2002-01-15  Allan Rae  <rae@lyx.org>
12160
12161         * text.C (insertChar): removed conditional truism.
12162
12163         * BufferView2.C (removeAutoInsets): More tweaks.
12164         cur_par_prev could be a stray pointer.  Check for trailing empty line
12165         in case last line was cur_par and only had an error inset on it.
12166
12167 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12168
12169         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12170         absolute
12171
12172         * vc-backend.C (most methods):
12173         * exporter.C (Export):
12174         * converter.C (convert):
12175         (runLaTeX):
12176         * LyXSendto.C (SendtoApplyCB):
12177         * lyxfunc.C (dispatch):
12178         (menuNew):
12179         (open):
12180         (doImport):
12181         * lyx_cb.C (AutoSave):
12182         (InsertAsciiFile):
12183         * BufferView_pimpl.C (MenuInsertLyXFile):
12184         * buffer.C (runChktex): use Buffer::filePath().
12185
12186         * buffer.h: rename filename to filename_; rename filepath to
12187         filepath_ and make it private
12188         (filePath): new method
12189
12190         * buffer.C (writeFile): use fileName()
12191         (getLatexName):
12192
12193         * lyx_main.C (init): fix starting  of LyX when the binary is a
12194         link from so,ewhere else.
12195
12196         * minibuffer.C: include <cctype> for isprint
12197
12198 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12199
12200         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12201         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12202         name clash with InsetCollapsable's width function.
12203
12204 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12205
12206         * lastfiles.C: include <iterator>
12207
12208 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12209
12210         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12211         std::count.
12212
12213         * buffer.C (makeLaTeXFile): ditto.
12214         Also make loop operation more transparent.
12215
12216 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * ToolbarDefaults.C: remove trailing comma closing namespace.
12219
12220         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12221
12222         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12223         as in WorkArea.
12224
12225         * trans.C (Load): comment out unused variable, allowed.
12226
12227 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12228
12229         * minibuffer.[Ch] (append_char): new method to recieve input from the
12230         drop-down completion browser. If a key was pressed, then recieve this
12231         char and append it to the existing string.
12232         (peek_event): modify the positioning data passed to the completion
12233         browser so that it can be placed above the minibuffer rather than below.
12234 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12235
12236         * LyXAction.C (init): alloe error-next for readonly documents.
12237
12238         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12239         count.
12240
12241 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12242
12243         * bufferlist.C (readFile): create the buffer _after_ checking that
12244         the file exists.
12245
12246         * lyxfunc.C (verboseDispatch): fix handling of arguments
12247
12248         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12249
12250         * lyxrc.C: use string::erase() instead of initializing to "".
12251
12252
12253 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12254
12255         * BufferView_pimpl.h:
12256         * BufferView_pimpl.C:
12257         * WorkArea.h:
12258         * WorkArea.C:
12259         * text2.C: tell X when we have made a selection for copying
12260
12261 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12262
12263         * BufferView_pimpl.C (MenuInsertLyXFile):
12264         * lyxfunc.C (menuNew):
12265         (open):
12266         (doImport): add shortcuts to directory buttons
12267
12268         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12269         open a float)
12270
12271         * lyxfunc.C (setStatusMessage):
12272         (getStatusMessage): new methods
12273         (getStatus):use setStatusMessage instead of setErrorMessage
12274         (dispatch): when function is disabled, set error message here
12275         [instead of in getStatus previously]
12276
12277         * BufferView_pimpl.C (workAreaButtonRelease): update
12278         toolbar/menubar here too.
12279
12280 2002-01-13  Allan Rae  <rae@lyx.org>
12281
12282         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12283         Now seems indestructible.  Remaining task is to audit all other
12284         code affected by deleteEmptyParagraphMechanism.  One small quirk
12285         left is that an empty document with an error in the preamble can
12286         be made to report an error but no error box appears.  I don't know
12287         where it goes.
12288         (removeAutoInsets): Improved comments.
12289
12290 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12291
12292         * Thesaurus.h:
12293         * Thesaurus.C: update for Aiksaurus 0.14
12294
12295 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12296
12297         * text2.C (firstParagraph): removed member function, all uses
12298         replaces with ownerParagraph
12299         (redoParagraphs): here
12300         (updateInset): here
12301         (toggleAppendix): here
12302         * BufferView2.C (insertErrors): here
12303         (setCursorFromRow): here
12304
12305 2002-01-13  Allan Rae  <rae@lyx.org>
12306
12307         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12308         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12309         There is still a way to segfault this although you may have to do this
12310         multiple times: Have an InsetERT with an unknown command in it.
12311         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12312         <down-arrow>, <Enter> again, View->DVI, BANG!
12313
12314         * text2.C (setCursor):
12315         (deleteEmptyParagraphMechanism):
12316         * lyxtext.h (setCursor):
12317         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12318         Making use of the return value may help fix other bugs.
12319
12320 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12321
12322         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12323
12324         * LyXView.C (updateMenubar): call MenuBar::update here
12325         (updateToolbar): but not here
12326         (showState): do not update toolbar/menubar
12327
12328         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12329         should need to care about that.
12330
12331         * lyxfunc.C (verboseDispatch): simplify a bit
12332         (getStatus): have a version which takes a pseudoaction, and
12333         another which requires a (kb_action,string).
12334
12335         * LyXAction.C (retrieveActionArg): make it work also when action
12336         is not a pseudo-action.
12337         (getActionName): simplify a bit
12338         (helpText):
12339
12340 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12341
12342         * lyxfunc.C (verboseDispatch): new families of methods with
12343         several ways to specify a command and a bool to indicate whether
12344         the command name and shortcut should be displayed in minibuffer
12345         (eventually, we could extend that to a finer bitmask like
12346         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12347         (dispatch): the pristine dispatch command which just, well,
12348         dispatchs! Note it still sets its result to minibuffer; I'm not
12349         sure we want that.
12350
12351         * lyxfunc.h: remove setHintMessage
12352
12353         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12354
12355 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12356
12357         * BufferView_pimpl.C (specialChar): delete new inset if we have
12358         not been able to insert it.
12359
12360         * kbmap.C: revert to using int instead of kb_action, since all we
12361         are dealing with is pseudo-actions.
12362
12363         * LyXAction.C (searchActionArg): change to return int instead of
12364         kb_action, since the result is a pseudoaction.
12365
12366 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12367
12368         * buffer.C (insertErtContents): Fix (partially) the font bug.
12369
12370 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12371
12372         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12373         as the other one is broken on my machine!
12374
12375 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12376
12377         * commandtags.h:
12378         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12379
12380 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12381
12382         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12383         reflect their actual use. Provide compatibility code for older lyxrc
12384         files.
12385
12386         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12387         FL_NORMAL_STYLE.
12388         change names of popup font variables in line with the changes to lyxrc.C
12389
12390 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12391
12392         * buffer.C (asciiParagraph): avoid outputing a word twice after
12393         an inset.
12394
12395         * lyxrc.C (getDescription): document that document_path and
12396         template_path can be empty.
12397
12398 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * LaTeXFeatures.C (getMacros):
12401         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12402
12403         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12404
12405         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12406         getPackages.
12407         (getPackages): rename feature "floats" to "float". Use an array to
12408         iterate over 'simple' features (i.e. just a \usepackage). Add
12409         handling of "amsmath" (renamed from "amsstyle").
12410
12411 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12412
12413         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12414         features list.
12415
12416 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12417
12418         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12419         FuncStaus::FuncStatus & FuncStaus::some_method().
12420
12421 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12422
12423         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12424         of the func_satus stuff. Edited and massaged in various ways by
12425         JMarc.
12426
12427         * lyxfunc.C (getStatus): use FuncStatus
12428
12429 2002-01-08  Juergen Vigna  <jug@sad.it>
12430
12431         * text.C (nextBreakPoint): use function Inset::isChar().
12432
12433         * paragraph.C (TeXOnePar): use function
12434         Inset::forceDefaultParagraphs.
12435
12436         * buffer.C (latexParagraphs): use function
12437         Inset::forceDefaultParagraphs.
12438
12439 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * lyx_gui.C (init): set the style of the menu popups to
12442         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12443
12444 2002-01-07  Juergen Vigna  <jug@sad.it>
12445
12446         * text.C (setHeightOfRow): small fix
12447         (prepareToPrint): don't look at alignment if we don't have the place
12448         for doing it.
12449
12450 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12451
12452         * box.C: New file. Move the Box methods and functions out of box.h,
12453         following Lars' suggestion.
12454
12455 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * box.h: #include "support/LOstream.h", needed for inlined function.
12458
12459         * lyxtextclass.C:
12460         * lyxtextclasslist.C: added some using std declarations.
12461
12462 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12463
12464         * box.h: make signed dimensions to allow insets wider than
12465           the screen (bug #162)
12466
12467         * BufferView_pimpl.C: add some insetHit debug
12468
12469 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * vc-backend.C: add FIXME
12472
12473 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * lyxfunc.C (getStatus): enable code for showing math font status
12476         in toolbar/menu.
12477
12478 2002-01-07  Juergen Vigna  <jug@sad.it>
12479
12480         * text.C (nextBreakPoint): removed debug output not needed anymore.
12481
12482 2002-01-06  Juergen Vigna  <jug@sad.it>
12483
12484         * text.C (nextBreakPoint): fixed up this function we had this bug
12485         since ever but now hopefully we break row better.
12486         (insertChar): we have to check if an inset is the next char as it
12487         could now happen that a large inset is causing a break.
12488
12489 2002-01-05  Juergen Vigna  <jug@sad.it>
12490
12491         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12492         if it doesn't like to be drawed.
12493
12494 2002-01-04  Juergen Vigna  <jug@sad.it>
12495
12496         * BufferView2.C (lockInset): forgot to set a cursor.
12497
12498         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12499
12500 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12501
12502         * FormMathsPanel.C:
12503         * FormMathsPanel.h
12504         * MathsSymbols.C:
12505         * form_maths_panel.C:
12506         * form_maths_panel.h:
12507         * form_maths_panel.fd: implemented sub- and super- buttons in math
12508         panel.
12509
12510         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12511         (or ^ space) to be used as in TeX (req'd by André).
12512
12513         * lyxfunc.C: Allow ^ and _ again to be used both as
12514         super/subscript (mathed) and as themselves (in text).
12515
12516 2002-01-03  Allan Rae  <rae@lyx.org>
12517
12518         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12519         "LyX" or the filename of the current buffer if it has one.  This is a
12520         modified form of John Levon's patch.
12521
12522         * XFormsView.C (setWindowTitle): also set icon title.
12523
12524         * LyXView.h (setWindowTitle): signature changed.
12525         * XFormsView.h (setWindowTitle): ditto.
12526
12527 2002-01-02  Juergen Vigna  <jug@sad.it>
12528
12529         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12530
12531 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12532
12533         * screen.C (topCursorVisible): introduce a temp var for
12534         text->cursor.row(), handle the case where this row is null. (kindo
12535         hachish)
12536
12537         * text2.C (setCursor): add a couple of asserts.
12538
12539         * paragraph.h (inset_iterator): add -> operator
12540
12541         * paragraph.[Ch] (autoDeleteInsets): remove member function
12542
12543         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12544         cursor pos correctly and handle inset deletion by itself.
12545         (insertErrors): move iterator declaration out of for expression
12546
12547         * lyxtextclass.C: add <algorithm>
12548
12549         * Makefile.am: added the new files to sources, removed layout.C
12550
12551         * layout.C: removed file
12552
12553         * layout.h: remove LYX_DUMMY_LAYOUT
12554
12555         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12556         layout.
12557
12558         * lyxlayout.[Ch]:
12559         * lyxtextclass.[Ch]:
12560         * lyxtextclasslist.[Ch]: new files
12561
12562         * include order changes to a lot of files, also changes because of
12563         the six new files.
12564
12565 2001-12-27  Juergen Vigna  <jug@sad.it>
12566
12567         * buffer.C (asciiParagraph): more fixes.
12568
12569         * tabular.C (ascii): make ascii export support export of only the
12570         data separated by a column-delimiter.
12571         (ascii): better support for ascii export.
12572
12573         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12574
12575 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12576
12577         * tabular_funcs.C: use a "using std::getline" instead of the
12578         previous fix from Angus (necessary for cxx + lyxstring)
12579
12580 2001-12-24  Juergen Vigna  <jug@sad.it>
12581
12582         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12583
12584         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12585         problems. First check a minipage also if we have some ert-contents
12586         (not only on par->size(), second set the right depth of the paragraph
12587         on the relink to the root-paragraph-list!
12588
12589         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12590         which then did not anymore update the main paragraphs on undo/redo!
12591
12592 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12593
12594         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12595         code. Support all font-changing funcs (even those which are not in
12596         menu currently). Support for reporting font settings in
12597         mathed (disabled until Andre provides a function on mathed's side).
12598
12599         * func_status.h (toggle): small helper function to set toggle
12600         state on a flag.
12601
12602 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12603
12604         * tabular_funcs.C: getline -> std::getline
12605
12606 2001-12-21  Juergen Vigna  <jug@sad.it>
12607
12608         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12609         accessed and could be 0 (I couldn't generate this but it seems
12610         Michael could!).
12611
12612 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12613
12614         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12615         * tabular_funcs.h: here and include iosfwd
12616
12617 2001-12-20  Juergen Vigna  <jug@sad.it>
12618
12619         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12620         inside inset but undo_par was.
12621
12622 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12623
12624         * Thesaurus.C: always include <config.h> in sources.
12625
12626         * Painter.h:
12627         * lyxlookup.h:
12628         * box.h: do not include <config.h> in header files
12629
12630         * text.C (paintLastRow): remove unused variable
12631
12632         * text.C (transformChar):
12633         (insertChar):
12634         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12635
12636         * Painter.C (text):
12637         * font.C (width): rewrite to use uppercase() instead of
12638         islower/toupper.
12639
12640         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12641
12642 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * lyxfind.C: clean up of find failure position change
12645
12646 2001-12-20  Juergen Vigna  <jug@sad.it>
12647
12648         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12649
12650         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12651         (TeXRow): added to LaTeX a single tabular row.
12652         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12653         (Latex): simplified and finally good LT-h/f support.
12654         (various_functions): just small adaptions for LT-h/f support.
12655
12656         * tabular_funcs.[hC]: added and moved here all not classfunctions
12657         of LyXTabular.
12658
12659 2001-12-19  Juergen Vigna  <jug@sad.it>
12660
12661         * tabular.[Ch]: better support for longtabular options (not finished
12662         yet!)
12663
12664 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * text.C (paintLastRow): use the label font instead of the font of
12667         the last character to compute the size of *_BOX. This makes more
12668         sense and avoids a crash with empty paragraphs.
12669         Use Painter::rectangle to draw EMPTY_BOX.
12670
12671 2001-12-19  Juergen Vigna  <jug@sad.it>
12672
12673         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12674         the paragraphs if the replaced paragraph is not the first one!
12675         Tried to delete not used paragraphs but does not work yet so for
12676         now it's inside #ifdef's and by default off!
12677
12678 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12679
12680         * MenuBackend.C: include "lyx_main.h" instead of declaring
12681         lastfiles (actually was declared as LastFiles* instead of a
12682         scoped_ptr).
12683
12684 2001-12-17  Juergen Vigna  <jug@sad.it>
12685
12686         * tabular.C (AppendColumn): applied John's fix
12687
12688 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12689
12690         * BufferView.h:
12691         * BufferView.C:
12692         * BufferView_pimpl.h:
12693         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12694
12695         * Makefile.am:
12696         * box.h: new start of class for above
12697
12698         * lyxfunc.C: ignore space-only minibuffer dispatches.
12699           Show the command name when it doesn't exist
12700
12701         * minibuffer.C: don't add empty lines to the history
12702
12703         * minibuffer.C: add a space on dropdown completion
12704
12705 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * text.C: fix line above/below drawing in insets
12708
12709 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * lyxlength.C (LyXLength): Initialize private variables.
12712
12713 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12714
12715         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12716         when inserting error insets.
12717
12718 2001-12-13  Juergen Vigna  <jug@sad.it>
12719
12720         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12721         actually sometimes the before-paragraph.
12722         (setUndo): don't clear the redostack if we're not actually undoing!
12723
12724 2001-12-06  Juergen Vigna  <jug@sad.it>
12725
12726         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12727         and fixed redoing of main paragraph, so we can use it now ;)
12728
12729         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12730
12731 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12734         Juergen's request
12735
12736 2001-12-13  André Pönitz <poenitz@gmx.net>
12737
12738         * undostack.[Ch]:
12739         * undo_func.C: minor cleanup
12740
12741 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12742
12743         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12744         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12745         font in urw-fonts package which is marked as -urw-fontspecific and
12746         does not work (incidentally, changing the encoding in the
12747         fonts.dir of this package to -adobe-fontspecific fixes the
12748         problem).
12749
12750         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12751         is a crash when undoing first paragraph (Juergen, please take a
12752         look). THis does not mean the undo fix is wrong, just that it
12753         uncovers problems.
12754
12755         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12756         the (Paragraph*) version when needed instead of duplicating the
12757         code.
12758
12759         * text.C (workWidth): use Inset::parOwner to find out where the
12760         inset has been inserted. This is a huge performance gain for large
12761         documents with lots of insets. If Inset::parOwner is not set, fall
12762         back on the brute force method
12763
12764         * paragraph_pimpl.C (insertInset):
12765         * paragraph.C (Paragraph):
12766         (cutIntoMinibuffer): set parOwner of insets when
12767         inserting/removing them
12768
12769         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12770
12771 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12772
12773         * commandtags.h:
12774         * LyXAction.C:
12775         * lyx_main.C:
12776         * lyxfunc.C:
12777         * mathed/formulabase.C:
12778         * mathed/math_cursor.[Ch]:
12779         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12780
12781
12782 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * lyxlength.[Ch] (operator!=): new function
12785
12786 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * text.C (workWidth): use Inset::parOwner to find out where the
12789         inset has been inserted. This is a huge performance gain for large
12790         documents with lots of insets. If Inset::parOwner is not set, fall
12791         back on the brute force method
12792
12793         * paragraph_pimpl.C (insertInset):
12794         * paragraph.C (Paragraph):
12795         (cutIntoMinibuffer): set parOwner of insets when
12796         inserting/removing them
12797
12798         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12799
12800 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12801
12802         * tabular-old.C (getTokenValue):
12803         * tabular.C (getTokenValue):
12804         (write_attribute): new versions for LyXLength
12805         (everywhere): adjust the use of widths
12806
12807         * tabular.h: change the type of widths from string to LyXLength
12808
12809 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12810
12811         * paragraph.C: fixed missing line number count when exporting
12812         Environments to LaTeX file
12813
12814         * buffer.C: added informational message for checking line numbers.
12815
12816 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12819         paragraph, do the 'double space' part, but not the 'empty
12820         paragraph' one.
12821
12822         * text.C (workWidth): small optimization
12823         (getLengthMarkerHeight): use minimal size for negative lengths.
12824
12825 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12826
12827         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12828
12829         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12830
12831 2001-12-11  André Pönitz <poenitz@gmx.net>
12832
12833         * FontLoader.C:
12834         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12835
12836 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12837
12838         * text2.C: keep selection on a setFont()
12839
12840 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12841
12842         * lyx_cb.C: another bv->text misuse, from insert label
12843
12844 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12845
12846         * kbsequence.h:
12847         * kbsequence.C: re-instate nmodifier mask
12848
12849 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12850
12851         * lyx_main.h: make lyxGUI private.
12852
12853 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12854
12855         * lyxfind.C: place the cursor correctly on failed search
12856
12857 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12858
12859         * text.C (getLengthMarkerHeight): for small heights, the arrows
12860         are not always on top/bottom of the text
12861         (drawLengthMarker): smaller arrows; take the left margin in
12862         account; draw also vfills.
12863         (paintFirstRow):
12864         (paintLastRow): remove special code for vfill and standard spaces,
12865         since everything is handled in drawLengthMarker now.
12866
12867 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * buffer.C (insertErtContents): try to handle font and language
12870         interaction a bit better.g
12871
12872         * ColorHandler.C (updateColor): change the hash to cover the whole
12873         LColor enum, ws cleanup
12874         (getGCLinepars): ditto
12875         (getGCLinepars): only lookup in the linecache once.
12876
12877 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * iterators.C (operator++): Make the iterator more robust
12880
12881         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12882         (John's patch)
12883         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12884
12885 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * lyxtext.h:
12888         * text.C: better added space drawing
12889
12890 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * LyXView.C:
12893         * BufferView2.C: fix layout combo update on inset unlock
12894
12895 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12896
12897         * Makefile.am: don't compile unused files
12898
12899 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * lyxfunc.C:
12902         * commandtags.h:
12903         * LyXAction.C: remove old LFUN_LAYOUTNO
12904
12905 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12906
12907         * paragraph_pimpl.h:
12908         * paragraph_pimpl.C: isTextAt() doesn't need font param
12909
12910 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * lyxlex.h:
12913         * lyxlex.C: little cleanup
12914
12915 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * BufferView_pimpl.C: fix insertAscii for insets
12918
12919 2001-12-05  Juergen Vigna  <jug@sad.it>
12920
12921         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12922         set the right font on the "multi" paragraph paste!
12923
12924 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12925
12926         * trans_decl.h:
12927         * trans_mgr.[Ch]:
12928         * trans.[Ch]:
12929         * lyxgluelength.C:
12930         * lyxlength.C: remove out-commented code.
12931
12932         * BufferView_pimpl:
12933         * CutAndPaste.C:
12934         * DepTable.C:
12935         * buffer.C:
12936         * chset.C:
12937         * lastfiles.C:
12938         * lyxlex.C:
12939         * lyxlex_pimpl.C:
12940         * lyxserver.C:
12941         * screen.C:
12942         * tabular-old.C:
12943         * tabular.C:
12944         * text.C:
12945         * trans_mgr.C:
12946         * vc-backend.C: change "while(" to "while ("
12947
12948         * lyxlength.[Ch]: add zero function to check if length is zero or
12949         not
12950         * lyxgluelength.C: use it
12951
12952 2001-12-05  Allan Rae  <rae@lyx.org>
12953
12954         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12955         Works for 2.95.3, from what I understand of Garst's reports this should
12956         work for other g++ versions.  We're screwed if the abs(int) definition
12957         changed between bugfix releases of gcc.
12958
12959 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12960
12961         * text.C: fix chapter label offset !
12962
12963 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * lyxtext.h:
12966         * text.C: fix hfill at end of line, clean up
12967
12968 2001-12-04  Juergen Vigna  <jug@sad.it>
12969
12970         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12971         that we force an update of the inset and it's owners if neccessary.
12972
12973 2001-12-03  Juergen Vigna  <jug@sad.it>
12974
12975         * text.C (rowLast): simplified code
12976
12977 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12978
12979         * lyxfunc.C: fix show options on timeout
12980
12981 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12982
12983         * screen.C (topCursorVisible): scroll half a page when the cursor
12984         reached top of bottom of screen
12985
12986 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12987
12988         * minibuffer.C: deactivate on loss of focus
12989
12990 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12991
12992         * vspace.[Ch] (operator!=): add operator.
12993
12994 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12995
12996         * BufferView_pimpl.C: refuse to open an inset when
12997         there's a selection.
12998
12999 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13000
13001         * BufferView_pimpl.C: allow to click on RHS of full row insets
13002
13003 2001-11-30  Juergen Vigna  <jug@sad.it>
13004
13005         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13006         insets for undo reasons.
13007
13008 2001-11-28  André Pönitz <poenitz@gmx.net>
13009
13010         * vspace.[Ch]: cosmetical changes
13011
13012 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13013
13014         * LyXAction.h:
13015         * LyXAction.C:
13016         * lyxfunc.h:
13017         * lyxfunc.C:
13018         * kbmap.h:
13019         * kbmap.C:
13020         * lyxrc.C:
13021         * kbsequence.h:
13022         * kbsequence.C: part re-write of old kb code
13023
13024         * Painter.C:
13025         * WorkArea.C: remove Lgb_bug_find_hack
13026
13027 2001-11-30  José Matos <jamatos@fep.up.pt>
13028
13029         * buffer.C (makeDocBookFile): add a comment to point a hack.
13030         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13031         Fixed a double write of labels.
13032
13033 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13034
13035         * LaTeX.C:
13036         * LaTeX.h Fixed bug in LaTeX class where it would not
13037         re-run latex if no depfiles were changed, but the .dvi was removed.
13038
13039 2001-11-28  André Pönitz <poenitz@gmx.net>
13040
13041         * all the files from the change on 2001/11/26:
13042         use lyx::layout_type instead of LyXTextClass::size_type
13043         use lyx::textclass_type instead of LyXTextClassList::size_type
13044
13045 2001-11-29  Juergen Vigna  <jug@sad.it>
13046
13047         * text.C: added support for paragraph::isFreeSpacing()
13048
13049         * buffer.C: same as above
13050
13051         * paragraph.h: inserted isFreeSpacing() function to enable
13052         FreeSpacing inside InsetERT.
13053
13054         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13055         of the paragraph's in the cut/copy buffer to 0!
13056
13057         * text2.C (removeRow): remove the assert as it can!
13058
13059         * lyxtext.h: added helper function firstRow returning firstrow and
13060         made firstrow private again.
13061
13062         * BufferView2.C (lockInset): don't relock if we're already locked!
13063
13064         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13065         the only paragraph.
13066         (removeRow): added Assert::(firstrow)
13067
13068         * debug.C: forgot to add INSETTEXT here.
13069
13070 2001-11-28  Juergen Vigna  <jug@sad.it>
13071
13072         * sp_spell.C (initialize): changed error text to more general
13073         spellchecker command use (not only ispell!)
13074
13075         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13076
13077         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13078
13079 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13080
13081         * vspace.C: initialise lyxgluelength on failure
13082
13083 2001-11-28  Allan Rae  <rae@lyx.org>
13084
13085         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13086         declaration & definition that looks like a function declaration.
13087
13088 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13089
13090         * BufferView2.C (copy):
13091         (copyEnvironment): do not clear the selection when doing a copy.
13092
13093         * text.C (paintFirstRow): compilation fix
13094
13095 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13096
13097         * tabular.C (Latex): correct line count when writing latex.
13098
13099 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13100
13101         * paragraph_pimpl.h:
13102         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13103           bug a bit
13104
13105 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13106
13107         * text.C:
13108         * LColor.h:
13109         * LColor.C: change vfillline->added_space
13110
13111         * text.C: add markers and text for added space
13112
13113         * vspace.C: fix comment
13114
13115 2001-11-28  André Pönitz <poenitz@gmx.net>
13116
13117         * paragraph.C: whitespace changes
13118         * all the other files from the change on 2001/11/26:
13119         change *::pos_type into lyx::pos_type
13120
13121 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13122
13123         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13124         language of the document when inserting error insets.
13125
13126 2001-11-26  André Pönitz <poenitz@gmx.net>
13127
13128         * BufferView_pimpl.[Ch]:
13129         *       CutAndPaste.C:
13130         * buffer.[Ch]:
13131         * lyxcursor.[Ch]:
13132         * lyxfind.C:
13133         * lyxfunc.C:
13134         * lyxrow.[Ch]:
13135         * paragraph.[Ch]:
13136         * paragraph_pimpl.[Ch]:
13137         * sp_spell.C:
13138         * text.C:
13139         * text2.C: reduce header dependencies, introduce type for positions
13140
13141 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * <various>: change to use Alert.h
13144
13145 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13146
13147         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13148         when encountering an unknown token.
13149         (readLyXformat2): Show an error message if there were unknown tokens.
13150
13151 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13152
13153         * BufferView2.C:
13154         * BufferView_pimpl.C:
13155         * buffer.C:
13156         * paragraph.h:
13157         * text.C:
13158         * text2.C: use par->isInset()
13159
13160 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13161
13162         * paragraph_pimpl.h:
13163         * paragraph_pimpl.C: cleanup
13164
13165 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13166
13167         * text2.C (removeRow):
13168         * text.C (setHeightOfRow): remove useless (and costly) call to
13169         getRow.
13170
13171 2001-11-20  Allan Rae  <rae@lyx.org>
13172
13173         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13174         Now need Inset*::checkInsertChar() to return true for appropriate
13175         cases so that the characters in the minibuffer will actually be
13176         inserted.
13177
13178 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13179
13180         * text.C: change the order of the includes.
13181         (workWidth): initialize it at once.
13182         (workWidth): make maxw unsigned
13183         (setHeightOfRow): remove unused variable (inset)
13184         (selectSelectedWord): remove unused variable (inset)
13185         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13186
13187 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13188
13189         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13190         server is not running.
13191         (openConnection):
13192         (closeConnection): add debug info when server is disabled.
13193
13194         * ColorHandler.C (getGCForeground): send debug message to GUI
13195         channel.
13196
13197         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13198
13199         * kbmap.C (bind): modify because return conventions of
13200         kb_sequence::parse have changed.
13201
13202         * kbsequence.C (parse): only ignore spaces and not any stupid
13203         control character. This avoids tests like s[i] <= ' ', which are
13204         guaranteed to fail with 8bit characters and signed chars.
13205         Change return code to string::npos when there have been no error
13206         (0 was a bad idea when error is at first character)
13207
13208 2001-11-14  José Matos  <jamatos@fep.up.pt>
13209
13210         * buffer.h:
13211         * buffer.C (simpleDocBookOnePar): removed unused argument.
13212
13213 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13214
13215         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13216         insets which are part of a word. Paragraph::isLetter takes care of
13217         that now. Use Paragraph::isInset to identify insets.
13218         (selectSelectedWord): do not test for hyphenation break.
13219
13220         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13221         that protected spaces are considered as spaces.
13222
13223         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13224         Inset::isLetter.
13225
13226 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13227
13228         * lyxserver.h:
13229         * lyxserver.C: fix it. and small cleanup.
13230
13231 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13232
13233         * BufferView_pimpl.C: use inline helpers
13234
13235         * LaTeXFeatures.h:
13236         * LaTeXFeatures.C: fix typos
13237
13238         * Spacing.h:
13239         * Spacing.C: move spacing_string into class
13240
13241         * ToolbarDefaults.C: move stuff into namespace anon
13242
13243         * layout.h: update enum
13244
13245         * lyxfunc.C: use better debug
13246
13247         * minibuffer.h: fix typo
13248
13249         * debug.h:
13250         * debug.C:
13251         * WorkArea.C: add and use Debug::WORKAREA
13252
13253         * lyxtext.h:
13254         * text.C:
13255         * text2.C: code re-organisation, inline helpers
13256
13257 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13258
13259         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13260         std::vector.empty().
13261
13262 2001-11-09  Allan Rae  <rae@lyx.org>
13263
13264         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13265         '\n's after tables.  Tabular and ERT inset work now makes this no
13266         longer necessary.
13267
13268 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13269
13270         * minibuffer.h:
13271         * minibuffer.C: fix crash, improve drop-down completion
13272
13273 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * lyxserver.h:
13276         * lyxserver.C: invalidate fd's when doing endPipe()
13277
13278 2001-11-08  José Matos  <jamatos@fep.up.pt>
13279
13280         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13281         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13282
13283         * paragraph.h:
13284         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13285
13286 2001-11-07  José Matos  <jamatos@fep.up.pt>
13287
13288         * buffer.h:
13289         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13290         const qualifier.
13291
13292         * buffer.C (sgmlOpenTag):
13293         * buffer.C (sgmlCloseTag): removed debug info.
13294
13295         * buffer.h (sgmlOpenTag):
13296         * buffer.h (sgmlCloseTag): made public.
13297
13298 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * buffer.C (saveParamsAsDefaults):
13301         * lyx_cb.C (MenuLayoutSave): remove
13302
13303         * LyXAction.C (init):
13304         * commandtags.h:
13305         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13306
13307 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13308
13309         * buffer.C (setPaperStuff): removed from here...
13310
13311         * bufferparams.C (setPaperStuff): ... and moved there.
13312
13313 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13314
13315         * minibuffer.h:
13316         * minibuffer.C:
13317         * XFormsView.C: add support for drop-down completion
13318
13319 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13320
13321         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13322         commands.
13323
13324 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13325
13326         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13327         disabled.
13328
13329 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13330
13331         * lyx_main.C: change ref to known bugs
13332
13333 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13334
13335         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13336         to work around older babel problems.
13337
13338 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13339
13340         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13341
13342 2001-10-24  Juergen Vigna  <jug@sad.it>
13343
13344         * tabular-old.C (ReadOld): below variable changes reflected.
13345
13346         * tabular.[Ch]: added ltType struct for longtable header/footer
13347         defines and changed all instances where they are used. Added
13348         future support for double top/bottom rows.
13349
13350 2001-10-24  José Matos  <jamatos@fep.up.pt>
13351
13352         * buffer.h (docbookHandleCaption):
13353         * buffer.C (docbookHandleCaption): removed unused function.
13354         (makeDocBookFile): moved docbook supported version to v4.1.
13355
13356 2001-10-24  José Matos  <jamatos@fep.up.pt>
13357
13358         * tabular.h:
13359         * tabular.C (docbookRow): new function to export docbook code of a row.
13360         (DocBook): now honors the longtable flags.
13361
13362 2001-10-23  José Matos  <jamatos@fep.up.pt>
13363
13364         * LaTeXFeatures.h:
13365         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13366         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13367
13368         * buffer.C (makeLinuxDocFile):
13369         (makeDocBookFile): reworked the preamble, more clean, and with
13370         support for lyx defined entities. Changed the document declaration
13371         to be more XML friendly.
13372
13373         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13374         if we need to output XML that should be done with a filter.
13375
13376 2001-10-22  Juergen Vigna  <jug@sad.it>
13377
13378         * sp_pspell.h (class PSpell): add alive function needed in the
13379         controller to see if the spellchecker could be started.
13380
13381 2001-10-22  Juergen Vigna  <jug@sad.it>
13382
13383         * buffer.C (insertStringAsLines): modify the font for inserting
13384         chars in certain conditions by calling checkInsertChar(font).
13385
13386 2001-10-19  Juergen Vigna  <jug@sad.it>
13387
13388         * text.C (workWidth): use getRow instead of wrong algorithm.
13389         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13390
13391 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13392
13393         * lyxserver.h:
13394         * lyxserver.C:
13395         * lyx_main.h:
13396         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13397
13398 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13399
13400         * text.C (workWidth): do not search for the exact row when
13401         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13402         optimization for big documents.
13403
13404 2001-10-18  Juergen Vigna  <jug@sad.it>
13405
13406         * text.C (workWidth): new function with added Inset * parameter.
13407
13408 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13409
13410         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13411
13412         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13413         change return type of getColumnNearX.
13414
13415
13416         * text.C (changeRegionCase): use uppercase/lowercase instead of
13417         toupper/tolower.
13418         (leftMargin):
13419         (rightMargin): simplify code by factoring out the uses of
13420         textclasslist.
13421         (labelFill):
13422         (numberOfHfills):
13423         (setHeightOfRow):
13424         (appendParagraph): use Paragraph::size_type
13425
13426 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13427
13428         * vspace.C (asLatexString): add a missing break
13429
13430 2001-10-15  Herbert Voss  <voss@perce.de>
13431
13432         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13433
13434 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13435
13436         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13437         is not available.
13438
13439 2001-10-10  André Pönitz <poenitz@gmx.net>
13440
13441         * lyxfunc.C: removed greek_kb_flag.
13442
13443 2001-10-10  Herbert Voss  <voss@perce.de>
13444
13445         * lyx_main.C: delete global string help_lyxdir.
13446
13447 2001-10-09  Herbert Voss  <voss@perce.de>
13448
13449         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13450
13451         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13452
13453         * lyx_main.C: added global string help_lyxdir.
13454
13455         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13456
13457 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13458
13459         * lyxrc.C (set_font_norm_type): support iso8859-4
13460
13461 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13462
13463         * LaTeX.C (deplog): add another regex for MikTeX
13464
13465 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13466
13467         * lyxrc.C (set_font_norm_type): support iso8859-3
13468
13469 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13470
13471         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13472
13473         * LaTeXFeatures.C: remove special case of french and index
13474
13475         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13476         before \begin{document}). This solves several incompatibilities.
13477
13478 2001-10-03  Garst Reese  <reese@isn.net>
13479
13480         * lyx_cb.C: change CheckTex error msg.
13481
13482 2001-10-03  José Matos  <jamatos@fep.up.pt>
13483
13484         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13485
13486 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13487
13488         * .cvsignore: update
13489
13490         * lyx_main.C (commandLineVersionInfo): use new style version info.
13491
13492         * buffer.C (writeFile):
13493         (makeLaTeXFile):
13494         (makeLinuxDocFile):
13495         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13496
13497         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13498
13499         * version.h: update to use stuff in version.C
13500
13501         * version.C.in: new file. Contains version information determined
13502         at compile time. This is a merging of version.h and
13503         version_info.h.in.
13504
13505 2001-10-03  Juergen Vigna  <jug@sad.it>
13506
13507         * BufferView_pimpl.C (update): don't change "dirty" status in
13508         updateInset call.
13509
13510 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13511
13512         * WorkArea.C (c-tor): re-position version string slightly.
13513
13514 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13515
13516         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13517         revert to previous code.
13518
13519         WorkArea.[Ch]: (show, destroySplash): methods removed.
13520
13521         WorkArea.C: rework code so that it's an amalgam of the codes before and
13522         after the splash screen was moved to WorkArea.
13523
13524 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13525
13526         * lyxrc.C (read):
13527         * vspace.C (inPixels):
13528         (lyx_advance):
13529         * kbmap.C (bind):
13530         * buffer.C (insertStringAsLines):
13531         (asciiParagraph): fix types to be large enough
13532
13533         * lyxlex_pimpl.h: change member status from short to int
13534
13535         * layout.h: fix type of endlabeltype
13536
13537         * kbmap.C (bind):
13538         * kbsequence.C (parse): change return type to string::size_type
13539
13540         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13541         variable
13542
13543         * Bullet.C (bulletSize):
13544         (bulletEntry): do not use short ints as parameters
13545
13546         * BufferView2.C (insertLyXFile): change a char to an int.
13547
13548         * WorkArea.C (WorkArea): remove unneeded floats in computation
13549
13550 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13551
13552         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13553
13554         * paragraph.C (asString): Do not ignore newline/hfill chars when
13555         copying to the clipboard.
13556
13557 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13558
13559         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13560         after a multi-line inset.
13561
13562 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13563
13564         * paragraph.C (validate): Set NeedLyXFootnoteCode
13565
13566 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13567
13568         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13569         and decrease-error to decrease.
13570
13571 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13574         it more readable (should be equivalent)
13575
13576 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13577
13578         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13579
13580 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13581
13582         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13583         of a cursor (row, etc.) after a character has been deleted
13584         (deleteEmptyParagraphMechanism): call the method above on _all_
13585         cursors held by the LyXText when a double space has been
13586         detected/deleted.
13587
13588 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13589
13590         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13591         pixmap.
13592         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13593
13594         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13595         background. Use greyOut() and the new show() methods to toggle between
13596         the foreground and background. Add code to remove the splash after
13597         its initial showing.
13598
13599         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13600         (create_forms): no longer call Dialogs::showSplash.
13601
13602 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13603
13604         * .cvsignore: add version_info.h
13605
13606 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13607
13608         * version_info.h.in: new file
13609
13610         * Makefile.am: add version_info.h.in
13611
13612         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13613         version_info.h instead of VERSION_INFO
13614
13615 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13616
13617         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13618         The ERT inset now returns string().
13619
13620 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * lyxtext.h, text.C (selectNextWord): renamed as
13623         selectNextWordToSpellcheck.
13624
13625         * text.C (selectNextWordToSpellcheck): Modified to not select
13626         words inside an ERT inset.
13627
13628 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * lyx_cb.C (MenuLayoutSave): change a bit the question
13631
13632         * sp_base.h: include <sys/types.h>
13633
13634 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13635
13636         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13637
13638 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13639
13640         * several files: fix typos in user-visible strings
13641
13642 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13643
13644         * text2.C (pasteSelection): do not set the selection, since it
13645         will be cleared later. Actually, the intent was to fix the way the
13646         selection was set, but I figured rmoving the code was just as good.
13647
13648 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13649
13650         * FontLoader.C (available): Check if font is available without
13651         loading the font.
13652
13653 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13654
13655         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13656
13657 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13658
13659         * lyxrc.[Ch]: added display_graphics variable and associated code.
13660
13661 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13662
13663         * bufferparams.C (hasClassDefaults): new method. Returns true if
13664         the buffer parameters correspond to known class defaults
13665
13666 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13667
13668         * XFormsView.C (show): set minimum size to the main window.
13669
13670 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13671
13672         * text2.C (copySelection):
13673         (cutSelection):
13674         * lyxfind.C (LyXReplace):
13675         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13676         LyXText::selectionAsString.
13677
13678         * paragraph.C (asString): add "label" argument to the second form
13679
13680         * text2.C (selectionAsString): add "label" argument and pass it to
13681         Paragraph::asString.
13682
13683 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13684
13685         * lyx_main.C (commandLineHelp): remove version information
13686
13687 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13688
13689         * lyx_main.C: add -version commandline option
13690
13691 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13692
13693         * paragraph.h: make the optional constructor arg required instead.
13694         some modifications to other files because of this.
13695
13696         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13697
13698         * lyxserver.C (C_LyXComm_callback): make it static
13699
13700         * lyx_main.C (error_handler): make it static
13701
13702         * lyx_gui.C (LyX_XErrHandler): make it static
13703
13704         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13705
13706         * WorkArea.C: make the extern "C" methods static.
13707
13708         * Makefile.am (lyx_LDADD): simplify
13709
13710 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13711
13712         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13713         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13714
13715         * LyXAction.C (init):
13716         * lyxfunc.C (dispatch): associated code removal.
13717
13718 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13719
13720         * lyxfont.h (isSymbolFont): shut off warning
13721
13722         * text.C (setHeightOfRow):
13723         (getVisibleRow): fix crash with empty paragraphs which have a
13724         bottom line
13725
13726 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13727
13728         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13729         code.
13730
13731 2001-09-04  José Matos  <jamatos@fep.up.pt>
13732         * buffer.C
13733         * buffer.h
13734         * tabular.C (docbook): rename docBook method to docbook.
13735
13736 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13737
13738         * Makefile.am: add dependencies to main.o.
13739
13740 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13741
13742         * FontLoader.C (available): Return false if !lyxrc.use_gui
13743
13744 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13745
13746         * FontInfo.C (query):
13747         * converter.C (view):
13748         * importer.C (Import):
13749         * exporter.C (Export): Can not -> cannot.
13750
13751 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * BufferView_pimpl.C: allow to create index inset even if
13754           string is empty
13755
13756 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * buffer.C (getLists): replace boost::tie code with an explicit pair
13759         as boost::tie can break some compilers.
13760
13761         * iterators.h: Added a std:: declaration to the return type of
13762         ParIterator::size.
13763
13764 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13767           case.
13768
13769 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13770
13771         * iterators.[Ch]: New files. Provide paragraph iterators.
13772
13773         * buffer.C (changeLanguage): Use paragraph iterators.
13774         (isMultiLingual): ditto
13775
13776         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13777
13778 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13779
13780         * FontLoader.C: Support for cmr font.
13781
13782 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13783
13784         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13785         (available): New method.
13786
13787         * FontInfo.C (getFontname): Use scalable fonts even when
13788         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13789         found.
13790
13791 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * converter.C (Formats::view): reverted! Incorrect fix.
13794
13795 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13796
13797         * converter.C (Formats::view): only output the -paper option
13798         if the dvi viewer is xdvi, thereby fixing bug #233429.
13799
13800 2001-08-23  Herbert Voss  <voss@perce>
13801
13802         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13803
13804 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13805
13806         * Spacing.h (Spacing): Set space to Default on in the default
13807         constructor.
13808
13809 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13810
13811         * vc-backend.h (RCS::versionString): add RCS to version
13812         (CVS::versionString): add CVS to version
13813
13814         * vc-backend.C (scanMaster): do not add CVS to version.
13815         (scanMaster): do not add RCS to version
13816
13817         * lyxvc.C (versionString): new method
13818
13819         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13820
13821 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13822
13823         * Spacing.C (set): initialize fval
13824
13825 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13826
13827         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13828         " or \.
13829
13830 2001-08-16  Juergen Vigna  <jug@sad.it>
13831
13832         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13833
13834 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13835
13836         * BufferView_pimpl.C:
13837         * figureForm.C:
13838         * lyxtext.h:
13839         * text2.C: setParagraph takes linespacing now
13840
13841 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13842
13843         * LyxAction.C: add internal LFUN_CITATION_INSERT
13844
13845         * LyXView.C: actually apply fix
13846
13847         * bufferlist.C: fix open non-existent file
13848
13849         * lyxfind.C: fix indentation
13850
13851         * lyxfunc.C: remove unneeded assert, fix typo
13852
13853 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13854
13855         * MenuBackend.C: use "Floatname List"
13856
13857 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13858
13859         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13860         when converting LaTeX layout to insetERT.
13861         Generate a non-collapsed float when reading old float
13862
13863 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13864
13865         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13866         ERT insets.
13867
13868 2001-08-13  Juergen Vigna  <jug@sad.it>
13869
13870         * text.C (fill): return 0 instead of 20 as this seems to be the more
13871         correct value.
13872
13873 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13874
13875         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13876         lyxrc.font_norm.
13877
13878 2001-08-13  Juergen Vigna  <jug@sad.it>
13879
13880         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13881         casesensitive off.
13882         (SearchBackward): comment out the unlocking of the inset_owner this
13883         should not be needed!
13884
13885 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13886
13887         * Many files: Remove inherit_language, and add latex_language
13888
13889         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13890         collapsible insets.
13891
13892 2001-08-10  Juergen Vigna  <jug@sad.it>
13893
13894         * text.C (prepareToPrint): fixed hfill-width in draw!
13895
13896         * BufferView2.C (selectLastWord): save the selection cursor as this
13897         now is cleared in the function LyXText::clearSelection!
13898
13899 2001-08-08  Juergen Vigna  <jug@sad.it>
13900
13901         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13902         BACKSPACE type functions.
13903
13904         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13905         is only cutted from the document but not put in the cut-buffer, where
13906         still the old stuff should be.
13907
13908         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13909
13910         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13911
13912         * tabular.C (SetWidthOfCell): fixed special case where the width
13913         was not updated!
13914         (LeftLine): handle '|' in align_special.
13915         (RightLine): ditto
13916         (LeftAlreadyDrawed): ditto
13917         (SetWidthOfCell): ditto
13918
13919 2001-08-07  Juergen Vigna  <jug@sad.it>
13920
13921         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13922
13923 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13924
13925         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13926         * lyxlex.[hC]: ditto
13927
13928 2001-08-06  Juergen Vigna  <jug@sad.it>
13929
13930         * text.C (getVisibleRow): fix up row clearing a bit.
13931
13932 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13933
13934         * minibuffer.C: make sure the X server sees the changes in the input.
13935
13936 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13937
13938         * paragraph.C (getFont): split into...
13939         (getLabelFont): this
13940         (getLayoutFont): and this
13941         * paragraph_pimpl.C (realizeFont): calling this
13942
13943         * text2.C (getFont): split into...
13944         (getLayoutFont): this
13945         (getLabelFont): and this
13946         (realizeFont): all three calling this
13947
13948         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13949         files where used.
13950
13951 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13952
13953         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13954
13955 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13956
13957         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13958         layouts from the Quote inset insertion.
13959
13960 2001-08-03  Juergen Vigna  <jug@sad.it>
13961
13962         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13963
13964         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13965         only if status not is already CHANGED_IN_DRAW (second level).
13966
13967         * text.C (draw): don't set the need_break_row when inside an
13968         InsetText LyXText.
13969
13970 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13971
13972         * buffer.C (parseSingleLyXformat2Token): handle more latex
13973         conversion cases.
13974
13975         * bufferview_funcs.[hC]: change function names to
13976         begin with small char, adjust other files.
13977
13978 2001-08-02  André Pönitz <poenitz@gmx.net>
13979
13980         * lyxfunc.C:
13981         BufferView_pimpl.C: remove broken special code for math-greek
13982
13983 2001-08-02  Juergen Vigna  <jug@sad.it>
13984
13985         * BufferView_pimpl.C (update): redone this function so that we
13986         update the text again if there was a CHANGE_IN_DRAW.
13987
13988         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13989         (drawFromTo): added a new internal bool which is used by draw() and
13990         redraw() function.
13991         (general): some cursor drawing problems fixed.
13992
13993 2001-08-01  Juergen Vigna  <jug@sad.it>
13994
13995         * lyxfind.C (LyXFind): fixed
13996         (SearchForward): ditto
13997         (SearchBackward): ditto
13998
13999         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14000         spurius drawing of the cursor in the main area.
14001
14002         * text2.C (status): small fix which could lead to a segfault!
14003         (clearSelection): remove unneeded BufferView param.
14004
14005 2001-08-01  André Pönitz <poenitz@gmx.net>
14006
14007         * lyxfunc.C: small change due to changed mathed interface
14008
14009 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14012
14013 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14014
14015         * lyxfunc.c: fail gracefully if file doesn't exist
14016
14017         * LyXSendto.C:
14018         * buffer.C:
14019         * lyxfunc.C:
14020         * BufferView_pimpl.C: IsDirWriteable() proto changed
14021
14022         * LyXView.C: fix updateWindowTitle() to store the last title
14023
14024 2001-07-31  Juergen Vigna  <jug@sad.it>
14025
14026         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14027         the font (wrong since using of Paragraph::highestFontInRange).
14028
14029         * paragraph.C (highestFontInRange): added a default_size parameter.
14030
14031         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14032         (setHeightOfRow): reformat
14033
14034 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14035
14036         * converter.[hC] + affected files: move to (inital-char)lowercase
14037         function names.
14038
14039         * ParagraphParameters.C (ParagraphParameters): remove commented code
14040
14041         * PainterBase.[Ch]: remove commented code
14042
14043         * LaTeXFeatures.h: add "bool floats" for float.sty
14044
14045         * LaTeXFeatures.C (LaTeXFeatures): init floats
14046         (require): handle float
14047         (getPackages): do it with floats
14048
14049 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14050
14051         * BufferView_pimpl.C (Dispatch): improve handling of
14052         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14053
14054         * commandtags.h: #include lyxfont.h here temporarily to avoid
14055         keybinding bug.
14056
14057         * bufferlist.h: include LString.h here.
14058
14059 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14060
14061         * text2.C (getStringToIndex): new method.
14062
14063 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14064
14065         * *: Reduced header file dependencies all over.
14066
14067 2001-07-30  Baruch Even  <baruch@lyx.org>
14068
14069         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14070
14071 2001-07-29  Baruch Even  <baruch@lyx.org>
14072
14073         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14074
14075 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * ParameterStruct.h (endif): add a default constructor to make
14078         sure that all variables is initialized.
14079
14080         * ParagraphParameters.C (ParagraphParameters): adjust
14081
14082 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14083
14084         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14085         index; also, check that there is something to index, and that it
14086         does not span over several paragraphs.
14087         (doubleClick): use WHOLE_WORD_STRICT for double click.
14088
14089         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14090
14091         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14092         scheme.
14093
14094 2001-07-26  Baruch Even  <baruch@lyx.org>
14095
14096         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14097         an InsetFig figure, backwards compatible reading of old figure code.
14098
14099 2001-07-27  Juergen Vigna  <jug@sad.it>
14100
14101         * text2.C: font.realize function adaption.
14102
14103         * text.C (draw): add a warnings lyxerr text if needed.
14104
14105         * layout.C: font.realize function adaption.
14106
14107         * language.C: add inherit_language and implement it's handlings
14108
14109         * bufferview_funcs.C (StyleReset): remove language parameter from
14110         font creation (should be language_inherit now).
14111
14112         * bufferparams.C (writeFile): handle ignore_language.
14113
14114         * paragraph.C (getFontSettings): the language has to be resolved
14115         otherwise we have problems in LyXFont!
14116
14117         * lyxfont.C (lyxWriteChanges): added document_language parameter
14118         (update): removed unneeded language parameter
14119
14120         * paragraph.C (validate): fixed wrong output of color-package when
14121         using interface colors for certain fonts in certain environments,
14122         which should not seen as that on the final output.
14123
14124 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14125
14126         * BufferView_pimpl.C:
14127         * Thesaurus.h:
14128         * Thesaurus.C:
14129         * Makefile.am:
14130         * commandtags.h:
14131         * LyXAction.C: add thesaurus support
14132
14133         * lyxfind.h:
14134         * lyxfind.C: add "once" parameter, for thesaurus, to not
14135           move to the next match
14136
14137 2001-07-26  Juergen Vigna  <jug@sad.it>
14138
14139         * lyxfont.C (realize): honor ignore_language too!
14140         (resolved): ditto.
14141
14142         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14143
14144         * text.C (draw): one place more for ignore_language to not draw
14145         itself!
14146
14147 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14148
14149         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14150
14151 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14152
14153         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14154         the minipage conversion problem.
14155
14156 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14157
14158         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14159         insert an inset.
14160
14161 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * BufferView.h: don't forward declare WorkArea
14164
14165         * BufferView.C: don't include WorkArea.h
14166
14167 2001-07-25  André Pönitz <poenitz@gmx.net>
14168
14169         * commandtags.h:
14170         * LyXAction.C:
14171         * lyxfunc.C:  new LFUN 'math-space'
14172
14173         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14174
14175 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14176
14177         * text2.C (toggleInset): call open/close
14178
14179 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14180
14181         * lyxfunc.C (dispatch): add debug for the disabled case
14182
14183         * font.C (buttonText): make similar to rectText
14184
14185         * buffer.C (readInset): comment out parsing of insetlist and
14186         insttheorem
14187
14188         * PainterBase.C (rectText): small correction
14189
14190         * BufferView_pimpl.C: comment out insettheorem and insetlist
14191         * LyXAction.C: ditto
14192         * commandtags.h: ditto
14193
14194 2001-07-24  Juergen Vigna  <jug@sad.it>
14195
14196         * text.C (draw): honor the ignore_language.
14197
14198         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14199
14200 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14201
14202         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14203         char inset.
14204
14205 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14206
14207         * lyxtext.h: remove unused (and unimplemented) methods
14208
14209 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14210
14211         * text.C (getVisibleRow): honor background color
14212
14213         * PainterBase.h:
14214         * Painter.h: remove default color argument for fillRectangle
14215
14216         * text.C (backgroundColor): new method
14217
14218 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14219
14220         * text.C (getVisibleRow): adjust
14221
14222         * font.[Ch] (rectText): new method, metrics
14223         (buttonText): new method, metrics
14224
14225         * PainterBase.[hC]: make rectText and buttonText always draw and take
14226         fewer paramteres.
14227
14228 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14229
14230         * ToolbarDefaults.C (read):
14231         * MenuBackend.C (read): allow escaping in all strings
14232
14233         * BufferView_pimpl.C (insertAndEditInset): new method.
14234         (Dispatch): use insertAndEditInset whenever appropriate.
14235
14236         * BufferView_pimpl.C (insertNote): removed
14237
14238         * BufferView_pimpl.C (smartQuote): new method, moved from
14239         BufferView; if an insetquote cannot be inserted, insert a '"'
14240         character instead.
14241
14242         * BufferView2.C: remove insertCorrectQuote();
14243
14244         * lyxfunc.C (getStatus): Add support for all remaingin
14245         inset-insert lfuns.
14246
14247         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14248
14249         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14250         command (necessary to pass " as parameter of self-insert.
14251
14252         * text.C (selectWordWhenUnderCursor):
14253         (selectWord): add word_location parameter
14254         (selectWordWhenUnderCursor): same + remove special code for word
14255         boundary.
14256         (selectNextWord): use kind() to guess type of insetspecialchar,
14257         not latex().
14258
14259         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14260         (insertErtContents): create ert insets as collapsed.
14261         (readInset): better compatibility code for Info inset.
14262
14263 2001-07-20  Juergen Vigna  <jug@sad.it>
14264
14265         * lyxfunc.C (dispatch): use always LyXFind now!
14266
14267         * text2.C (init): add a reinit flag so that the LyXText can be
14268         reinited instead of deleted and reallocated (used in InsetText).
14269
14270         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14271
14272         * text.C: ditto
14273
14274         * text2.C: ditto
14275
14276 2001-07-18  Juergen Vigna  <jug@sad.it>
14277
14278         * text.C (selectNextWord): handle insets inside inset by calling
14279         always the bv->text functions so that we can go up the_locking_inset!
14280
14281         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14282         in strange locations when inside an inset!
14283
14284         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14285         handling to include insets.
14286
14287         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14288
14289 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14290
14291         * LyXAction.C (init):
14292         * commandtags.h:
14293         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14294         LIGATURE_BREAK, since the name is so stupid.
14295
14296 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14297
14298         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14299         InsetInfos.
14300
14301         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14302
14303         * sp_form.[Ch]: remove.
14304
14305         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14306
14307         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14308         InsetInfo.
14309
14310         * src/buffer.C (readInset): ditto.
14311
14312 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14313
14314         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14315         menuSeparator(), endOfSentenceDot(), ldots() and
14316         hyphenationPoint(), which are therefore removed.
14317         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14318
14319         * LyXAction.C (init):
14320         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14321
14322         * paragraph.C (getWord): removed.
14323
14324         * BufferView_pimpl.C (Dispatch): use last word or selection for
14325         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14326
14327         * lyx_main.C (queryUserLyXDir): do not ask before creating
14328         user_dir, except if it has been named explicitely.
14329
14330 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14331
14332         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14333         a document of zero size.
14334
14335 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14336
14337         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14338         approriately in the c-tor and in require().
14339         (getPackages): output the appropriate LaTeX for natbib support.
14340
14341         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14342         variables "use_natbib" and "use_numerical_citations" when reading the
14343         LyX file.
14344         (readInset): read the various natbib cite commands.
14345         (validate): white-space change.
14346
14347         * bufferparams.[Ch]: new variables "bool use_natbib" and
14348         "bool use_numerical_citations".
14349         (writeFile): output them in the LyX file.
14350
14351 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14352
14353         * lyxfunc.C (getStatus): add support for all the inset insertion
14354         commands.
14355
14356         * text2.C (insertInset):
14357         * paragraph.C (insetAllowed):
14358         * BufferView_pimpl.C (insertInset): update to take in account the
14359         renaming of insertInsetAllowed
14360
14361         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14362
14363         * text2.C (getInset): new method. returns inset at cursor position.
14364
14365         * BufferView_pimpl.C (Dispatch): changes because of this.
14366
14367         * LyXAction.C (init): rename open-stuff to inset-toggle.
14368
14369         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14370
14371         * text2.C (toggleInset): renamed from openStuff; use
14372         Inset::open().
14373
14374 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14375
14376         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14377
14378         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14379
14380 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14381
14382         * buffer.C (readLyXformat2): Add filename to the error dialog
14383
14384 2001-07-18  Juergen Vigna  <jug@sad.it>
14385
14386         * tabular.C (GetCellNumber): put an assert here instead of the check!
14387
14388 2001-07-17  Juergen Vigna  <jug@sad.it>
14389
14390         * BufferView_pimpl.C (toggleSelection): adapted too.
14391
14392         * text.C (selectNextWord): adapted for use with insets.
14393         (selectSelectedWord): ditto
14394
14395 2001-07-17  Juergen Vigna  <jug@sad.it>
14396
14397         * sp_spell.C (PSpell): fix initialitation order.
14398
14399 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * paragraph.C: spacing
14402
14403 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14404
14405         * sp_spell.C: repair language selection for pspell
14406
14407 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14408
14409         * lyxfunc.h: change more methods to begin with lower char.
14410
14411 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14412
14413         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14414         for unknown layouts.
14415
14416 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14417
14418         * buffer.C (readLyXformat2): Generate an error dialog if there are
14419         unknown layouts.
14420
14421 2001-07-16  Juergen Vigna  <jug@sad.it>
14422
14423         * sp_spell.C: always compile ISpell part.
14424
14425         * lyxrc.C: added use_pspell entry and it's handling.
14426
14427 2001-07-13  Juergen Vigna  <jug@sad.it>
14428
14429         * sp_spell.C: removed double includes.
14430
14431 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14432
14433         Consistent use of Lsstream.h:
14434         * Lsstream.h: added using std::stringstream for consistencies sake.
14435
14436         * buffer.C: removed using std::stringstream
14437
14438         * lyxfont.C (stateText):
14439         * paragraph.C (asString):
14440         * text.C (selectNextWord, selectSelectedWord):
14441         * text2.C (setCounter):
14442         * vspace.C (asString, asLatexString):
14443         std::ostringstream -> ostringstream.
14444
14445 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14446
14447         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14448         * commandtags.h: add LFUN_HELP_ABOUTLYX
14449         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14450
14451 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14452
14453         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14454         cursorToggle()
14455         * lyx_gui_misc.C: remove spellchecker
14456         * lyxfunc.C: showSpellchecker
14457         * sp_base.h: added
14458         * sp_ispell.h: added
14459         * sp_pspell.h: added
14460         * sp_spell.C: added
14461         * sp_form.[Ch]: removed
14462         * spellchecker.[Ch]: removed
14463
14464 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14465
14466         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14467         is set.
14468         (simpleTeXSpecialChars): Simply print the input character without
14469         any special translation if pass_thru is set.
14470
14471         * layout.h: Added bool pass_thru to layout class for being able to
14472         implement pass through of a paragraph for Literate Programming.
14473
14474         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14475         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14476         * layout.C (Read): add "passthru" to list of layout tags and add
14477         code to set the pass_thru boolean when it is read.
14478
14479 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14480
14481         * trans_decl.h: remove allowed from KmodInfo
14482
14483         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14484         remove allowed code
14485         (Load): adjust
14486
14487         * paragraph_pimpl.C (erase): use boost::prior
14488
14489         * Painter.C (text): use data() instead of c_str() when length is
14490         also provided.
14491         * WorkArea.C (putClipboard): ditto
14492         * font.h (width): ditto
14493
14494         * BufferView2.C: use it-> instead of (*it). for iterators
14495         * texrow.C: ditto
14496         * paragraph_pimpl.C: ditto
14497         * paragraph.C: ditto
14498         * minibuffer.C: ditto
14499         * language.C: ditto
14500         * kbmap.C: ditto
14501         * encoding.C: ditto
14502         * counters.C: ditto
14503         * converter.C: ditto
14504         * chset.C: ditto
14505         * Variables.C: ditto
14506         * TextCache.C: ditto
14507         * MenuBackend.C: ditto
14508         * LyXAction.C: ditto
14509         * LColor.C: ditto
14510         * FloatList.C: ditto
14511         * DepTable.C: ditto
14512         * ColorHandler.C (LyXColorHandler): ditto
14513
14514 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14515
14516         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14517
14518         * text2.C (openStuff): reintroduce this method (which had been
14519         nuked in NEW_INSETS frenzy).
14520
14521         * lyxfunc.C (Dispatch): when an action has not been handled, use
14522         its name in the error message, not its number.
14523
14524         * paragraph.C (inInset): change method name to begin with lowercase.
14525
14526         * undo_funcs.C:
14527         * text2.C: updates because of this.
14528
14529 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14530
14531         * ToolbarDefaults.C (add): add spaces in error message
14532
14533 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14534
14535         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14536         (readLyXformat2): rename return_par to first_par, use lyxlex's
14537         pushToken and remove the manual push handling.
14538         (parseSingleLyXformat2Token): add another ert comp. variable:
14539         in_tabular, rename return_par to first_par. handle newlines better
14540
14541 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14542
14543         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14544
14545 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * text2.C (getParFromID): removed
14548
14549         * buffer.C (getParFromID): new method moved form lyxtext.
14550         * BufferView2.C (insertErrors): adjust
14551         (setCursorFromRow): adjust
14552         * BufferView_pimpl.C (restorePosition): adjust
14553         * lyxfunc.C (Dispatch): adjust
14554         * undo_funcs.C (textUndo): adjust
14555         (textRedo): adjust
14556         (textHandleUndo): adjust
14557         (textHandleUndo): adjust
14558
14559 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14560
14561         * buffer.C: up' the LYX_FORMAT
14562
14563         * lyxfont.h: turn NO_LATEX on as default
14564
14565         * buffer.C (insertErtContents): new methods of tex style compability.
14566         (parseSingleLyXformat2Token): use it several places.
14567         * tabular.C (OldFormatRead): and here
14568
14569 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14570
14571         * text2.C: remove some commented code.
14572         reindent file.
14573
14574         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14575         * trans.C: changes because of the above.
14576
14577 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14578
14579         * text2.C (setCounter): Fix counters bug with bibliography layout.
14580
14581 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14582
14583         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14584         own member functions
14585         (simpleTeXSpecialChars): ditto
14586
14587 2001-07-06  Juergen Vigna  <jug@sad.it>
14588
14589         * a lot of files: changed the access to LyXText::status and the
14590         call of undo-functions.
14591
14592         * undo.[Ch]: added a inset_id to the undo informations.
14593
14594         * undo_funcs.[Ch]: added and moved here all undo functions.
14595
14596         * lyxtext.h: give the status enum a weight, made status_ a private
14597         variable and made accessor functions for it, removed the whole bunch
14598         of undo-functions as they are now in their own file, make some
14599         functions publically available. Added function ownerParagraph with
14600         int parameter.
14601
14602         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14603         made InInset() a const function, added getParFromID() function.
14604
14605         * buffer.[Ch]: added const version for inset_iterator functions,
14606         added getInsetFromID() function.
14607
14608         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14609         changed undo functions for new version.
14610
14611 2001-07-05  Juergen Vigna  <jug@sad.it>
14612
14613         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14614         unknow mechanism does not call the proper constructor but only this
14615         one also if I request the other!?
14616
14617 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14618
14619         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14620
14621         * text2.C (LyXText): use initialization lists.
14622
14623         * lyxtext.h (Selection): initialize set_ and mark_
14624         (init): remove method
14625
14626 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14627
14628         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14629
14630 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * screen.[Ch]: change method names to begin with lowercase
14633
14634         * BufferView_pimpl.C (updateScrollbar): simplify further and
14635         hopefully make it a bit faster.
14636
14637 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14640         calling directly xforms functions.
14641
14642         * Painter.C (Painter):
14643         * lyx_cb.C (MenuWrite):
14644         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14645         fl_display.
14646
14647         * lyx_gui.C: remove bogus guiruntime extern declaration.
14648
14649 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14650
14651         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14652         in NEW_INSETS
14653         (redoDrawingOfParagraph): ditto
14654         (redoParagraphs): ditto
14655         (cutSelection): don't create a object for CutAndPaste use the
14656         static method directly
14657         (pasteSelection): ditto
14658
14659         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14660         LyXview (+ rename)
14661
14662 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14663
14664         * modifications to some other files because of this.
14665
14666         * Makefile.am (lyx_SOURCES): add XFormsView
14667
14668         * XFormsView.[Ch]: new files
14669
14670         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14671         the main window. Move the gui dependent stuff to XFormsView
14672
14673 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14674
14675         * tabular.C (GetCellInset): update cur_cell also in the row/col
14676         version of this function.
14677
14678         * lyxfunc.C: no need to include figure_form.h here.
14679
14680         * FontLoader.h:
14681         * lyxfunc.h:
14682         * lyxscreen.h:
14683         * text2.C:
14684         * lyxvc.C: no need to include forms.h here.
14685
14686 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14687
14688         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14689
14690         * lyxfunc.C (Dispatch):
14691         * Spacing.C (set):
14692         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14693         constructor argument.
14694
14695 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14696
14697         * paragraph.C (Paragraph): dont't clear, and just set layout.
14698         (makeSameLayout): use params's copy contructor.
14699
14700         * ParagraphParameters.[Ch] (makeSame): delete method
14701
14702 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14703
14704         * Variables.[Ch]: fix indentation, rename set to isSet
14705
14706 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14707
14708         * lyxfunc.C (Dispatch): fix typo
14709
14710 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14713         upper_bound.
14714
14715         * bufferlist.C: include assert.h for emergencyWrite().
14716
14717 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14718
14719         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14720           give up at last (bug #425202) !
14721
14722 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * lyx_gui_misc.C:
14725         * sp_form.h:
14726         * sp_form.C:
14727         * spellchecker.h:
14728         * spellchecker.C: strip spellchecker options and bring up
14729           preferences tab instead
14730
14731 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14732
14733         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14734         the istringstream constructor
14735
14736 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14737
14738         * paragraph.C (getLayout): fix return value
14739
14740         * paragraph.h: do not declare getLayout as inline.
14741
14742         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14743
14744 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14745
14746         * lyxcursor.h (operator<): new func
14747         (operator>): new func
14748         (operator>=): new func
14749         (operator<=): new func
14750
14751         * text.C (changeCase): use selection.start and selection.end
14752         (changeRegionCase): require from to be <= to. Require par to be a
14753         valid paragraph.
14754
14755         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14756
14757 2001-06-27  Juergen Vigna  <jug@sad.it>
14758
14759         * text.C (cursorLeftOneWord): changed to return the cursor and added
14760         overlay with BufferView * parameter which calls this one.
14761         (getWord): added
14762         (selectWord): use new getWord function.
14763         (changeCase): renamed from changeWordCase as and extended to work
14764         also on selections.
14765
14766         * lyxtext.h: added enum word_location
14767
14768         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14769         changeCase as this operates now also on selections.
14770
14771 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14772
14773         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14774
14775         * many files: send debug output to Debug::INFO instead of
14776         Debug::ANY.
14777
14778         * converter.C (View):
14779         (Convert):
14780         (Move): send debug output to Debug::FILES instead of console.
14781
14782 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14783
14784         * lyxfunc.C (getStatus): use func_status
14785
14786         * func_status.h: new header, describing the results of
14787         LyXFunc::getStatus;
14788
14789         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14790         LFUN_MATH_HALIGN.
14791
14792 2001-06-25  The LyX Project  <jug@sad.it>
14793
14794         * buffer.C (sgmlOpenTag):
14795         (sgmlCloseTag):
14796         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14797
14798 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14799
14800         * text2.C: remove some dead code
14801
14802         * tabular.C (GetCellInset): store the last cell checked (gotten)
14803
14804         * tabular.h: add the helper for the speedup
14805
14806         * lyxtext.h: remove some dead code
14807
14808 2001-06-26  The LyX Project  <Asger>
14809
14810         * paragraph.C: Change export to LaTeX of alignment to
14811         \begin{center} and family for better roundtrip work with reLyX.
14812
14813         * Tune the math drawing a bit.
14814
14815 2001-06-25  The LyX Project  <Asger>
14816
14817         * LColor.C (LColor): New color for math background. New color
14818         for buttons.
14819
14820 2001-06-25  The LyX Project  <jug@sad.it>
14821
14822         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14823
14824         * lyxfunc.C (Open):
14825         * bufferlist.C (newFile): do not restrict to files ending with
14826         .lyx
14827
14828         * BufferView_pimpl.C (MenuInsertLyXFile):
14829
14830 2001-06-24  The LyX Project  <jug@sad.it>
14831
14832         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14833         of compare_no_case
14834
14835 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14836
14837         * lyxtext.h: rename most methods to begin with a small char.
14838         Lots of changes because of this.
14839
14840         * paragraph.C (Paragraph): do not call fitToSize
14841         (erase): call Pimpl::erase
14842         (insertChar): call Pimpl::insertChar
14843         (insertInset): call Pipl::insertInset
14844         (breakParagraph): do not call fitToSize
14845         (breakParagraphConservative): do not call fitToSize
14846         (fitToSize): remove method
14847
14848         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14849
14850 2001-06-24  The LyX Project  <Asger>
14851
14852         * Fix Qt compilation^2
14853
14854 2001-06-24  The LyX Project  <jug@sad.it>
14855
14856         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14857         depthHook(getDepth()-1).
14858
14859         * paragraph.h:
14860         * ParagraphParameters.h:
14861         * ParameterStruct.h: change type of depth to unsigned int ==
14862         depth_type. Many adaptations to other files before of that.
14863
14864 2001-06-24  The LyX Project  <Asger>
14865
14866         * Fix Qt compilation.
14867
14868 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14869
14870         * paragraph.h: renamed several methods to begin with small letter.
14871         several changes to many parts of the code because of this.
14872
14873 2001-06-23  The LyX Project  <jug@sad.it>
14874
14875         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14876         rewritten to discard all double spaces when KeepEmpty is off
14877         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14878         to only handle newlines but not fiddle with spaces and friends.
14879
14880         * lyxfunc.C (MenuNew): when doing 'new from template', use
14881         template_path as default directory
14882
14883 2001-06-23  The LyX Project  <Asger>
14884
14885         * Clean-up of header file includes all over
14886         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14887
14888 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14889
14890         * paragraph.h: renamed from lyxparagraph.h
14891
14892 2001-06-23  Asger  <lyx@violet.home.sad.it>
14893
14894         * Buffer.h: Removed Buffer::resize
14895         * BufferList.h: Removed BufferList::resize
14896         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14897         the document lazily when we change the width, or the font settings.
14898
14899 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14900
14901         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14902
14903 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14904
14905         * buffer.h: remove out of date comment
14906
14907 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * lyxscreen.h:
14910         * screen.C: fix "theoretical" GC leak
14911
14912 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * LaTeX.C (scanAuxFile):
14915         (deplog): remove trailing \r when reading stream (useful under
14916         win32)
14917
14918 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14921         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14922         and BufferView::theLockingInset(Inset*), so should use them and not
14923         access bv_->text->the_locking_inset directly.
14924
14925         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14926
14927 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14928
14929         * Makefile.am:
14930         * tex-defs.h: remove old unused file
14931
14932 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14933
14934         * BufferView_pimpl.C: fix typo, remove minibuffer message
14935           when buffer has loaded
14936
14937 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14938
14939         * lyxfunc.C (Dispatch): use stringstream
14940         (MenuNew): use stringstream
14941         (Open): use stringstream
14942
14943         * importer.C (Import): use stringstream
14944
14945         * bufferview_funcs.C (CurrentState): use stringstream
14946
14947         * LaTeX.C (run): use stringstream
14948
14949         * BufferView_pimpl.C (savePosition): use stringstream
14950         (restorePosition): use stringstream
14951         (MenuInsertLyXFile): use stringstream
14952
14953 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14954
14955         * BufferView.C:
14956         * Bullet.C:
14957         * ColorHandler.C:
14958         * FontInfo.C:
14959         * FontLoader.C:
14960         * LColor.C:
14961         * LaTeXFeatures.C:
14962         * Painter.C:
14963         * gettext.C:
14964         * lyx_gui_misc.C:
14965         * lyxserver.C:
14966         * vspace.C: removed // -*- C++ -*- as first line.
14967
14968         * lyxfind.h:
14969         * version.h: added // -*- C++ -*- as first line.
14970
14971 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14972
14973         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14974
14975         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14976         of string
14977
14978 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14979
14980         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14981         of floats.
14982
14983 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * gettext.C: include LString.h even when --disable-nls is on.
14986
14987 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14988
14989         * converter.h (Get): changed argument type from int to
14990         FormatList::size_type to avoid unnecessary conversion.
14991
14992         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14993         before using it.
14994
14995 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14996
14997         * gettext.h: include LString.h even when --disable-nls is on.
14998
14999 2001-06-07  Juergen Vigna  <jug@sad.it>
15000
15001         * text.C (BreakAgain): subst spaces with tabs.
15002
15003         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15004         (resizeInsetsLyXText): set force on resizeLyXText.
15005
15006 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15007
15008         * gettext.h (gettext_init):
15009         (locale_init): use a real definition instead of a macro
15010
15011 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15012
15013         * Bufferview_pimpl.C:
15014         * LColor.h:
15015         * LColor.C: further lcolor tidies
15016
15017 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15018
15019         * BufferView_pimpl.C (updateScrollbar): simplify.
15020
15021         * BufferView2.C: don't include insets/insetinfo.h, change
15022         prototype for insertInset and call the Pimpl version. let
15023         updateInset call Pimpl version.
15024
15025         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15026         gotoInset to BufferView::Pimpl
15027
15028 2001-06-01  Juergen Vigna  <jug@sad.it>
15029
15030         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15031         inside a LockingInset (is the update needed at all?).
15032
15033 2001-05-31  Juergen Vigna  <jug@sad.it>
15034
15035         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15036         here not the old one otherwise how should we compare it afterwards
15037         if it's the same!
15038
15039 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15040
15041         * lyxfont.C:
15042         * tabular.C:
15043         * tabular-old.C:
15044         * FontInfo.C: bring C functions into global namespace when
15045         necessary
15046
15047 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15048
15049         * LString.h: make sure config.h has been loaded before LString.h.
15050
15051         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15052         (one for each char read by EatLine!).
15053
15054         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15055         variables.
15056
15057 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15058
15059         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15060         to the same as the par we break from
15061
15062 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15065
15066         * MenuBackend.C (expand): also create menu entries for wide
15067         versions of the floats.
15068
15069         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15070
15071         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15072
15073         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15074         frontends/Makefile.am
15075
15076         * text2.C: adjust
15077         * text.C: adjust
15078
15079
15080         * tabular.C (getTokenValue): add std::
15081
15082         * tabular-old.C (getTokenValue): add std::
15083         (getTokenValue): ditto
15084         (getTokenValue): ditto
15085
15086         * screen.C (ToggleSelection): adjust
15087
15088         * lyxtext.h: put selection cursors inside a Selection struct.
15089
15090         * lyxfunc.C (moveCursorUpdate): adjust
15091
15092         * lyxfont.C (latexWriteStartChanges): add std::
15093
15094         * lyxfind.C: adjust
15095
15096         * font.h: delete with(char const *, LyXFont const &)
15097
15098         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15099
15100         * FontInfo.C (getFontname): add std::
15101
15102         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15103         (workAreaButtonPress): adjust
15104         (tripleClick): adjust
15105         (update): adjust
15106         (moveCursorUpdate): adjust
15107         (Dispatch): adjust
15108
15109         * BufferView2.C (gotoInset): adjust
15110
15111 2001-05-30  Juergen Vigna  <jug@sad.it>
15112
15113         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15114         to check pspell I add this as default as I now have new pspell
15115         libraries and they seem to use this.
15116
15117 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15118
15119         * text2.C (CutSelection): make the cursor valid before the call to
15120         ClearSelection.
15121
15122 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15123
15124         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15125         relied on 0 terminated strings and other horrors. Bug found due to
15126         the new assert in lyxstring!
15127
15128         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15129         KP_ keys.
15130
15131 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15132
15133         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15134         to latinkeys.bind.
15135
15136         * lyxfunc.C (processKeySym): change method of getting to the
15137         self-insert char.
15138
15139         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15140         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15141         * BufferView_pimpl.[Ch]: here as private methods.
15142
15143 2001-05-28  Juergen Vigna  <jug@sad.it>
15144
15145         * text.C (SetHeightOfRow): added the update() call again as it is
15146         needed to initialize inset dimensions!
15147
15148 2001-05-16  Juergen Vigna  <jug@sad.it>
15149
15150         * text2.C (SetCharFont): Add new function with BufferView * and
15151         bool toggleall parameters for setting insets internal fonts.
15152         (SetFont): Freeze the undo as we may change fonts in Insets and
15153         all this change should be inside only one Undo!
15154
15155         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15156         setting font's in insets as for them we have the SetFont function!
15157
15158 2001-05-15  Juergen Vigna  <jug@sad.it>
15159
15160         * text2.C (ClearSelection): to be sure we REALLY don't have any
15161         selection anymore!
15162
15163         * tabular.C (TeXCellPreamble): fixed the left border problem for
15164         multicolumn cells.
15165
15166 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15169         dependancy file
15170
15171 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15172
15173         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15174         LFUN_BREAKPARAGRAPH.
15175
15176         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15177         help test to "internal only", similar for LFUN_INSERT_URL
15178
15179         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15180         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15181         auto_region_delete and deadkeys.
15182
15183 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15184
15185         * LColor.h:
15186         * LColor.C: remove some dead entries, tidy a little
15187
15188 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15191         commented code.
15192         (Dispatch): implement LFUN_ESCAPE
15193
15194         * commandtags.h: add LFUN_ESCAPE
15195
15196         * LyXAction.C (init): add entry for LFUN_ESCAPE
15197
15198         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15199         Remove commented code.
15200         (insertNote): moved here
15201         (open_new_inset): moved here
15202
15203         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15204         BufferView_pimpl
15205
15206 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15207
15208         * kbmap.C (findbinding): clean it up and make it work correctly.
15209
15210         * lyx_main.C (init): do not pass argc and argv as parameters
15211
15212 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15213
15214         * buffer.C: fix path for OS/2 & Win32
15215
15216         * lyx_gui.C:
15217         * lyx_main:
15218         * lyx_main.C: Added os:: class.
15219
15220         * os2_defines.h: update
15221
15222 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15223
15224         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15225         better by trying again with reduced state.
15226
15227 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15228
15229         * lyxrc.C (read): print error about invalid key sequence only when
15230         debugging (because not all latinX keysyms are known to some X
15231         servers)
15232
15233         * kbsequence.C (getiso): add a few std:: qualifiers
15234         (getiso): comment out extra return statement.
15235
15236 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15237
15238         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15239         handling.
15240         (Dispatch): enhance the accent inset a bit. (not perfect)
15241
15242 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15243
15244         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15245
15246 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15247
15248         * bufferlist.C (emergencyWrite): fix assert() call
15249
15250 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15251
15252         * text.C (InsertChar): Added trivial patch to only send the "you
15253         can not do multiple spaces this way" message once during a
15254         session.
15255
15256 2001-05-08  Baruch Even  <baruch@lyx.org>
15257
15258         * Makefile.am: Changed order of libraries to get LyX to link properly
15259         with the gnome frontend.
15260
15261 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15262
15263         * LaTeXFeatures.h: add a std:: qualifier
15264
15265 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15266
15267         * paragraph.C (String): use stringstream
15268
15269 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15270
15271         * paragraph.C (writeFile): remove footflag arg
15272
15273         * buffer.C (makeLaTeXFile): use stringstream
15274         (latexParagraphs): remove footnot gurba
15275
15276         * LaTeXFeatures.C (getPackages): use stringstream
15277         (getMacros): likewise
15278         (getTClassPreamble): likewise
15279         (getFloatDefinitions): new method
15280
15281         * paragraph.C (writeFile): reindent
15282         (Erase): reindent
15283
15284         * WorkArea.h: revert the xpos + etc changes.
15285
15286         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15287
15288         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15289
15290         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15291         (pasteSelection): likewise
15292         * text2.C (CreateUndo): likewise
15293
15294 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15295
15296         * minibuffer.C (peek_event): temporarily reduce the functionality
15297         of the minibuffer (to allow args on lfuns)
15298
15299         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15300         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15301
15302         * buffer.C (readInset): add compability reading of old float
15303         lists, add reading of new style float list.
15304         (readInset): avoid reevaluation of inscmd.getCmdName()
15305         (getLists): reindent
15306
15307         * MenuBackend.C (MenuItem): implement parsing of
15308         md_floatlistinsert and md_floatinsert.
15309         (expand::LastFiles): move initalizaton of iterators out of loop,
15310         avoid reevaluation.
15311         (expand::Documents): introduce typdedef vector<string> Strings,
15312         and use it.
15313         (expand::ExportFormats): introduce typedef vector<Format const *>
15314         Formats, and use it.
15315         (expand): implement FloatListInsert and FloatInsert.
15316
15317         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15318         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15319         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15320
15321         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15322         handling.
15323         (Dispatch::LFUN_FLOAT_LIST): implement
15324
15325 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15326
15327         * LaTeX.C (run): Fix problem with --export code.
15328
15329 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15330
15331         * BufferView.[Ch] (workarea): removed.
15332         (getClipboard) new method; wrapper for workarea()->getClipboard()
15333
15334         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15335         bug.
15336
15337         * WorkArea.h (width, height, xpos, ypos): These methods all
15338         returned the dimensions of the work_area sub-area of WorkArea,
15339         resulting in a position error if the WorkArea were resized. Now
15340         return the dimensions of the entire WorkArea.
15341
15342         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15343
15344 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15345
15346         * LaTeX.C (deplog): correct the syntax of regex reg1
15347
15348 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * undo.C: remove !NEW_INSETS cruft
15351
15352 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15353
15354         * text2.C: remove !NEW_INSETS cruft
15355
15356         * text.C: remove !NEW_INSETS cruft
15357
15358         * tabular.C: remove !NEW_INSETS cruft
15359
15360         * spellchecker.C: remove !NEW_INSETS cruft
15361
15362         * lyxtext.h: remove !NEW_INSETS cruft
15363
15364         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15365
15366         * lyxfunc.C: remove !NEW_INSETS cruft
15367
15368         * lyxfind.C: remove !NEW_INSETS cruft
15369
15370         * lyx_cb.C: remove !NEW_INSETS cruft
15371
15372         * figureForm.C: remove  !NEW_INSETS cruft
15373
15374         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15375
15376         * buffer.[Ch]: remove !NEW_INSETS cruft
15377
15378         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15379
15380         * CutAndPaste.C: remove !NEW_INSETS cruft
15381
15382         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15383
15384         * BufferView2.C: remove !NEW_INSETS cruft
15385
15386         * BufferView.h: remove !NEW_INSETS cruft
15387
15388 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15389
15390         * Lsstream.h: include LString.h before the sstream headers to
15391         fix problem with gcc 2.95.3 and lyxstring
15392
15393 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15394
15395         * lyx_main.C: add using directives when needed for C functions
15396         declared in std:: namespace.
15397
15398 2001-04-27  Juergen Vigna  <jug@sad.it>
15399
15400         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15401         (SetHeightOfRow): comment out the update call should not be needed!
15402
15403 2001-04-13  Juergen Vigna  <jug@sad.it>
15404
15405         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15406         (LyXTabular): tried to minimize operator= operations (and realized
15407         hopfully Lars wish).
15408
15409 2001-04-27  Juergen Vigna  <jug@sad.it>
15410
15411         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15412
15413 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15414
15415         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15416
15417         * buffer.C (readInset): hack to make listof algorithm work
15418
15419         * BufferView_pimpl.C: hack to make listof algorithm work
15420
15421 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15422
15423         * LyXAction.C: removed all !NEW_INSETS cruft
15424         (init): moved lfun_item in method
15425
15426         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15427
15428 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15429
15430         * BufferView2.C (theLockingInset): white space.
15431
15432 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15433
15434         * minibuffer.C: include <iostream>
15435
15436         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15437
15438         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15439
15440         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15441
15442         * text.[Ch] (TransposeChars): new method
15443
15444 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15445
15446         * call message directly through LyXView instead of through LyXFunc
15447         * BufferView2.C: adjust
15448         * BufferView_pimpl.C: adjust
15449         * FontLoader.C: adjust
15450         * buffer.C: adjust
15451         * bufferview_funcs.C: adjust
15452         * converter.C: adjust
15453         * figureForm.C: adjust
15454         * importer.C: adjust
15455         * lyx_cb.C: adjust
15456         * lyx_gui_misc.C: adjust
15457         * lyxfunc.C: adjust
15458         * lyxvc.C: adjust
15459         * text2.C: adjust
15460         + more files in subdirs
15461
15462         * lyxparagraph.h (size): move up int file
15463         (GetLayout): ditto
15464
15465         * adjust all uses of Assert to lyx::Assert.
15466
15467         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15468         lyxfunctional in namespace lyx
15469         * layout.C (hasLayout): ditto
15470         (GetLayout): ditto
15471         (GetLayout): ditto
15472         (delete_layout): ditto
15473         (NumberOfClass): ditto
15474         * converter.C (GetFormat): ditto
15475         (GetNumber): ditto
15476         (Add): ditto
15477         (Delete): ditto
15478         (SetViewer): ditto
15479         * bufferlist.C (getFileNames): ditto
15480         (emergencyWriteAll): ditto
15481         (exists): ditto
15482         (getBuffer): ditto
15483         * MenuBackend.C (hasSubmenu): ditto
15484         (hasMenu): ditto
15485         (getMenu): ditto
15486         * BufferView_pimpl.C (getInsetByCode): ditto
15487
15488 2001-04-18  Juergen Vigna  <jug@sad.it>
15489
15490         * vspace.C (asLatexString): fixed the 100% problem.
15491
15492 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15493
15494         * lyxfunc.C (Dispatch):
15495         * minibuffer.C:
15496         * minibuffer.h: add a few std:: qualifiers
15497
15498 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15499
15500         * minibuffer.[Ch]: reimplement so that commands is initiated and
15501         run from lyxfunc, simplified som handling, and made the completion
15502         and history code for complete. wip.
15503
15504         * lyxfunc.C (processKeySym): call message
15505         (miniDispatch): new temporary method
15506         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15507         (LFUN_MESSAGE): implement
15508         (LFUN_MESSAGE_PUSH): implement
15509         (LFUN_MESSAGE_POP): implement
15510         (initMiniBuffer): the initial/defualt minibuffer message.
15511
15512         * lyxfont.[Ch]: inline some more getters
15513
15514         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15515
15516         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15517
15518         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15519         (AutoSave): use LFUN_MESSAGE
15520         (Reconfigure): ditto
15521
15522         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15523
15524         * figureForm.C: use LFUN_MESSAGE
15525
15526         * converter.C (runLaTeX): use LFUN_MESSAGE
15527
15528         * bufferview_funcs.C: use LFUN_MESSAGE
15529         (Melt): ditto
15530         (changeDepth): ditto
15531
15532         * bufferparams.h: use boost::
15533
15534         * bufferlist.h: inherit privately from noncopyable
15535
15536         * bufferlist.C (loadLyXFile): remove some commented code.
15537
15538         * buffer.C (runChktex): use LFUN_MESSAGE
15539
15540         * ShareContainer.h: inherit privately from noncopyable
15541
15542         * ParagraphParameters.[hC] (depth): inline it.
15543
15544         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15545         methods.
15546         (message): new method
15547         (messagePush): ditto
15548         (messagePop): ditto
15549         (show): init minibuffer
15550         (showState): direct call
15551
15552         * LaTeX.[Ch]: inherit privately from noncopyable
15553         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15554         instead of WriteStatus.
15555
15556         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15557
15558         * BufferView_pimpl.C (buffer): don't init minibuffer
15559         (workAreaButtonPress): use LFUN_MESSAGE
15560         (workAreaButtonRelease): ditto
15561         (savePosition): ditto
15562         (restorePosition): ditto
15563         (MenuInsertLyXFile): ditto
15564         (workAreaExpose): don't init minibuffer
15565         (update): remove commented code, simplify
15566
15567         * BufferView2.C (openStuff): use LFUN_MESSAGE
15568         (toggleFloat): ditto
15569         (menuUndo): ditto
15570         (menuRedo): ditto
15571         (copyEnvironment): ditto
15572         (pasteEnvironment): ditto
15573         (copy): ditto
15574         (cut): ditto
15575         (paste): ditto
15576         (gotoInset): ditto
15577         (updateInset): remove some commented code
15578
15579         * lastfiles.h: inherit privately from noncopyable
15580         * layout.h: ditto
15581         * lyx_gui.h: ditto
15582         * lyx_main.h: ditto
15583         * lyxlex.h: ditto
15584         * lyxlex_pimpl.h: ditto
15585
15586         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15587         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15588         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15589
15590         * LyXAction.h: inherit privately from noncopyable, add methods
15591         func_begin, func_end, returning iterators to the func map.
15592
15593         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15594         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15595         (func_begin): new method
15596         (func_end): new method
15597
15598         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15599         and not)
15600         (copySelection): ditto
15601         (pasteSelection): ditto
15602
15603         * BufferView.C: whitespace change
15604         * BufferView.h: inherit privately from noncopyable
15605
15606 2001-04-16  Allan Rae  <rae@lyx.org>
15607
15608         * tabular-old.C (l_getline):
15609         * spellchecker.C (sc_check_word):
15610         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15611         an unrecognised preprocessor directive.  So ensure they're wrapped.
15612
15613 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15614
15615         * src/exporter.C (Export): Give an error message when path to file
15616         contains spaces.
15617
15618 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15619
15620         * LaTeX.C (deplog): Always check that foundfile exists.
15621
15622 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15623
15624         * lyx_main.h:
15625         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15626
15627 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15628
15629         * tabular.[Ch] (getLabelList): implement new method
15630
15631         * minibuffer.h: comment ouf setTiimer
15632
15633         * minibuffer.C (ExecutingCB): constify res
15634         (peek_event): constify s
15635         (Set): constify ntext
15636         (Init): constify nicename
15637
15638         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15639
15640         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15641         (savePosition): use two params to Minibuffer::Set
15642         (restorePosition): ditto
15643
15644 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * lyx_main.C: include language.h
15647
15648         * Makefile.am (lyx_main.o): add language.h
15649
15650 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * exporter.C:
15653         * paragraph.C:
15654         * screen.C:
15655         * tabular.C:
15656         * CutAndPaste.C: include gettext.h
15657
15658         * lyxfont.h: remove old hack with ON and OFF.
15659
15660         * lyxparagraph.h:
15661         * lyxfont.h: do not include language.h...
15662
15663         * BufferView2.C:
15664         * LaTeXFeatures.C:
15665         * Painter.C:
15666         * bufferview_funcs.C:
15667         * font.C:
15668         * lyxfont.C:
15669         * text.C:
15670         * text2.C:
15671         * trans_mgr.C:
15672         * paragraph.C: ... but do it here instead
15673
15674 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15675
15676         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15677
15678         * tabular.C: small reformat
15679
15680         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15681         NEW_INSETS version
15682         (GetChar): ditto
15683         (BreakParagraph): ditto
15684         (SetOnlyLayout): ditto
15685         (SetLayout): ditto
15686
15687         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15688         with one arg less.
15689
15690         * lastfiles.C: removed most using decl, add std:: where needed
15691
15692         * buffer.C: ws changes
15693
15694         * MenuBackend.C (class compare_format): put into anon namespace
15695         (expand): constify label, names, action, action2
15696         (expand):
15697
15698         * text.C (SingleWidth): constify font
15699         (IsBoundary): constify rtl2
15700         (GetVisibleRow): constify ww
15701
15702         * LaTeX.C (deplog): constify logfile
15703
15704         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15705         start_x, end_x
15706         (workAreaExpose): constify widthChange, heightChange
15707
15708         * lyxrow.C (par): moved
15709         (height): moved
15710         (next): moved
15711         * lyxrow.h: as inlines here
15712
15713         * lyxfont.h (shape): moved from lyxfont.C
15714         (emph): moved from lyxfont.C
15715
15716         * lyxfont.C (LyXFont): use initialization list for all
15717         constructors
15718         (shape): move to lyxfont.h as inline
15719         (emph): move to lyxfont.h as inline
15720
15721
15722 2001-04-04  Juergen Vigna  <jug@sad.it>
15723
15724         * vspace.C: had to include stdio.h for use of sscanf
15725
15726 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15727
15728         * BufferView.h:
15729         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15730         independent of xforms.
15731
15732 2001-04-02  Juergen Vigna  <jug@sad.it>
15733
15734         * spellchecker.C: fixed namespace placing!
15735
15736 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15737
15738         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15739         the LyXParagraph * is 0.
15740
15741 2001-03-29  Juergen Vigna  <jug@sad.it>
15742
15743         * vspace.C: added support for %, c%, p%, l%.
15744         (stringFromUnit): added helper function.
15745         (asLatexString): changed to give right results for the %-values.
15746
15747         * buffer.C: convert the widthp in a width%.
15748
15749 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15750
15751         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15752         figureForm.[Ch].
15753
15754         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15755         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15756
15757         * lyx_cb.[Ch]: see above.
15758
15759         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15760         form1.[Ch].
15761
15762         * form1.[Ch]:
15763         * lyx.[Ch]: replaced by figure_form.[Ch].
15764
15765         * lyx_gui.C:
15766         * lyx_gui_misc.C:
15767         * lyxfunc.C: changed headers associated with above changes.
15768
15769 2001-03-27  Juergen Vigna  <jug@sad.it>
15770
15771         * BufferView_pimpl.C: set the temporary cursor right!
15772
15773 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15774
15775         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15776
15777 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15778
15779         * LString.h: removed "using std::getline"!
15780
15781         * BufferView_pimpl.C (Dispatch): changes due to changes in
15782         InsetInclude::Params.
15783
15784         * buffer.C (tag_name): removed redundant break statements as they were
15785         producing lots of warnings with my compiler.
15786
15787 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15788
15789         * LString.h: add "using std::getline" when using the real <string>.
15790
15791 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15792
15793         * buffer.C: removed bitset usage.
15794         PAR_TAG moved to an anonymous name space.
15795         (tag_name): new funtion, also in the anonymous namespace.
15796         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15797         (makeDocBookFile): clean code. Completed transition from string arrays
15798         to string vectors.
15799         (SimpleDocBookOnePar): code clean.
15800
15801 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15802
15803         * tabular.C: add some comments.
15804
15805 2001-03-22  Juergen Vigna  <jug@sad.it>
15806
15807         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15808         compatibility read a bit and fixed bug with minipage in different
15809         depth.
15810
15811 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15812
15813         * buffer.C (pop_tag): removed.
15814         (push_tag): removed.
15815         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15816         array replaced with vector. Added support for CDATA sections.
15817         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15818         at any nest level.
15819         (makeDocBookFile): XML conformant declaration of CDATA section,
15820         fixed bug related to <emphasis> in the first paragraph char.
15821         (sgmlOpenTag): exclude empty tags.
15822         (sgmlCloseTag): ditto.
15823
15824         * buffer.h (pop_tag): removed.
15825         (push_tag): removed.
15826
15827 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15828
15829         * language.h (Languages): added size_type and size().
15830
15831 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15832
15833         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15834         response on compability reading of minipages. One probliem is that
15835         the old usage of minipages was «flertydig»
15836
15837         * several files here and in subdirs: don't use static at file
15838         scope use anon namespaces instead.
15839
15840 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15841
15842         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15843         LaTeX output. This is necessary for Literate document
15844         processing.
15845
15846 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15847
15848         * buffer.C: insert hfill when needed.
15849
15850         * tabular.C (l_getline): use string::erase, small whitespace change.
15851
15852         * BufferView_pimpl.C: try the anon namespace.
15853         * WorkArea.C: ditto
15854
15855 2001-03-16  Juergen Vigna  <jug@sad.it>
15856
15857         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15858         otherwise it won't open options-dialogs.
15859
15860         * buffer.C: honor pextraWidth(p) on converting minipages.
15861
15862         * tabular.C (l_getline): changed the functions to strip trailing \r.
15863
15864 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15865
15866         * BufferView_pimpl.C:
15867         * minibuffer..C: added "using SigC::slot" declaration.
15868
15869 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15870
15871         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15872
15873         * text2.C: ditto
15874
15875         * text.C: ditto
15876
15877         * paragraph.C: ditto
15878
15879         * lyxtext.h: NO_PEXTRA
15880
15881         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15882
15883         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15884         * ParameterStruct.h: ditto
15885         * ParagraphParameters.h: ditto
15886         * lyxparagraph.h: ditto
15887
15888 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15889
15890         * buffer.C: add compability for minipage alignment.
15891         (latexParagraphs): remove unwanted pextra check.
15892
15893         * several files: remove CXX_WORKING_NAMESPACES
15894
15895         * buffer.C (pop_tag): tie is in namespace boost
15896
15897         * BufferView.h: noncopyable is in namespace boost
15898         * lyxlex.h: ditto
15899         * lyx_main.h: ditto
15900         * lyx_gui.h: ditto
15901         * layout.h: ditto
15902         * lastfiles.h: ditto
15903         * bufferlist.h: ditto
15904         * ShareContainer.h: ditto
15905         * LyXView.h: ditto
15906         * LyXAction.h: ditto
15907         * LaTeX.h: ditto
15908
15909 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15910
15911         * Merging changes from BRANCH_MVC back into HEAD.
15912
15913         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15914
15915 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15916
15917         * BufferView_pimpl.C: change from intl.C
15918
15919         * combox.h:
15920         * combox.C:
15921         * Makefile.am: move combox.*
15922
15923         * form1.h:
15924         * form1.C:
15925         * lyx_gui.C:
15926         * intl.h:
15927         * intl.C: remove dialog (covered by prefs)
15928
15929 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15930
15931         * lyxfunc.C (Dispatch): removed redundant break statement.
15932
15933 2001-03-14  Juergen Vigna  <jug@sad.it>
15934
15935         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15936
15937 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15938
15939         * buffer.C: add hack to fix compability reading of minipages.
15940
15941 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15942
15943         * buffer.C (getLists): Cleanup.
15944
15945 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15946
15947         * lyxfont.C (update): don't honor toggleall on font size.
15948
15949 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15950
15951         * bmtable.c:
15952         * bmtable.h:
15953         * Makefile.am: moved to frontends/xforms/
15954
15955         * lyx_gui_misc.C:
15956         * lyxfunc.C:
15957         * BufferView_pimpl.C: changes for moved mathpanel
15958
15959 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15960
15961         * gettext.h: fix gettext_init() in --disable-nls
15962
15963 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15966
15967 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15968
15969         * lyx.C:
15970         * lyx.h: strip external form
15971
15972 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15973
15974         * BufferView_pimpl.C: add comment, destroySplash()
15975
15976 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15977
15978         * BufferView_pimpl.C:
15979         * LyXAction.C:
15980         * buffer.C:
15981         * commandtags.h:
15982         * lyxfunc.C: use re-worked insetinclude
15983
15984 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15985
15986         * buffer.C: add using std::stringstream.
15987
15988         * lyx_cb.C: readd using std::ios.
15989
15990         * buffer.C: add using std::map.
15991
15992         * BufferView_pimpl.C: add using std::vector.
15993
15994         * ShareContainer.h: add std:: to swap.
15995
15996         * buffer.h: add some typedefs
15997         * buffer.C (getLists): use them
15998         (getLists): renamed from getTocList.
15999         add a counter for the different float types and use it in the
16000         generated string.
16001         (getLists): use the same counter for the NEW_INSETS and the "non"
16002         NEW_INSETS
16003
16004         * lyx_cb.h: remove unused items, includes, using etc.
16005
16006         * ShareContainer.h: remove some commented code, add more comments
16007         and "documentation".
16008
16009 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16010
16011         * buffer.C (getTocList): make the list also when NEW_INSETS is
16012         defined.
16013
16014         * buffer.h: remove TocType
16015
16016         * buffer.C (getTocList): change to return a map<string,
16017         vector<TocItem> >, implement for dynamic number of list.
16018
16019         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16020         * text2.C (PasteSelection): adjust
16021         * CutAndPaste.C (pasteSelection): adjust
16022
16023         * FloatList.C (FloatList): update from the new_insets branch.
16024         * Floating.[Ch]: ditto
16025         * LaTeXFeatures.C: ditto
16026         * buffer.C: ditto
16027         * lyxlex_pimpl.C: ditto
16028
16029         * paragraph.C (Last): remove when NEW_INSETS is defined.
16030
16031         * other file: changes because of the above.
16032
16033 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16034
16035         * lyxparagraph.h: rename next to next_, previous to previous_,
16036         make them private for NEW_INSETS. Rename Next() to next(),
16037         Previous() to previous().
16038
16039         * other files: changes because of the above.
16040
16041 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16042
16043         * BufferView.h:
16044         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16045         problem.
16046
16047 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16048
16049         * main.C (main): pass lyx_localedir to gettext_init().
16050
16051         * gettext.h: remove locale_init and gettext_init macros
16052
16053         * gettext.C (locale_init): new function
16054         (gettext_init): new function
16055
16056         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16057         setlocale().
16058
16059 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16060
16061         * Moved credits to frontends:
16062         * credits.[Ch]: removed
16063         * credits_form.[Ch]: removed
16064         * lyx_gui_misc.C: remove credits stuff
16065         * Makefile.am:
16066
16067 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16068
16069         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16070
16071         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16072         unneeded destructor.
16073
16074         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16075         a standalone pointer again.
16076
16077         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16078
16079 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16080
16081         * Makefile.am:
16082         * filedlg.h:
16083         * filedlg.C:
16084         * LyXAction.C:
16085         * ToolbarDefaults.C:
16086         * bufferlist.C:
16087         * commandtags.h:
16088         * form1.C:
16089         * form1.h:
16090         * lyx_cb.C:
16091         * lyx_cb.h:
16092         * lyxfunc.h:
16093         * lyxfunc.C:
16094         * BufferView_pimpl.C: use new file dialog in GUII
16095
16096         * lyx_cb.h:
16097         * lyx_cb.C: remove LayoutsCB to Toolbar
16098
16099 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16100
16101         * ShareContainer.h (get): add std:: qualifier
16102
16103 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16104
16105         * ShareContainer.h: define a proper ShareContainer::value_type
16106         type (and use typename to please compaq cxx)
16107
16108 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16109
16110         * lyxparagraph.h: move serveral local vars to
16111         ParameterStruct/ParagraphParameters., use ShareContainer in
16112         FontTable., make vars in FontTable private and add getter and
16113         setter.
16114
16115         * paragraph.C: changes because of the above.
16116
16117         * lyxfont.h: remove copy constructor and copy assignment. (the
16118         default ones is ok), move number inside FontBits. move inlines to
16119         lyxfont.C
16120
16121         * lyxfont.C: add number to initializaton of statics, move several
16122         inlines here. constify several local vars. some whitespace
16123         cleanup. Dont hide outerscope variables.
16124
16125         * Spacing.h: add two new constructors to match the set methods.
16126
16127         * ShareContainer.h: new file, will perhaps be moved to support
16128
16129         * ParameterStruct.h: new file
16130
16131         * ParagraphParameters.h: new file
16132
16133         * ParagraphParameters.C: new file
16134
16135         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16136         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16137
16138         * BufferView_pimpl.C: ParagraphParameter changes.
16139         * buffer.C: Likewise.
16140         * bufferview_funcs.C: Likewise.
16141         * text.C: Likewise.
16142         * text2.C: Likewise.
16143
16144 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16145
16146         * lyxfind.C (LyXReplace): do not redefine default argument in
16147         implementation.
16148         (IsStringInText): ditto
16149         (SearchForward): ditto
16150         (SearchBackward): ditto
16151
16152 2001-03-06  Juergen Vigna  <jug@sad.it>
16153
16154         * lyxfind.C (IsStringInText): put parentes around expressions.
16155
16156 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16157
16158         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16159
16160 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16163
16164         * stl_string_fwd.h: add comment
16165
16166         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16167
16168         * tabular.h:
16169         * tabular.C: remove unused DocBook methods
16170
16171         * intl.C:
16172         * language.C:
16173         * paragraph.C:
16174         * buffer.C:
16175         killed DO_USE_DEFAULT_LANGUAGE
16176
16177 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * lyx_gui.C: do not include language.h.
16180
16181         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16182         arguments in function implementation.
16183
16184 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16185
16186         * BufferView_pimpl.C: add <ctime>
16187
16188 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16189
16190         * BufferView_pimpl.C: add using std::find_if
16191
16192 2001-02-27  José Matos  <jamatos@fep.up.pt>
16193
16194         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16195         by OnlyPath.
16196
16197 2001-02-11  José Matos  <jamatos@fep.up.pt>
16198
16199         * buffer.C (makeDocBookFile): command styles now have a parameter as
16200         "title" by default.
16201
16202 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16203
16204         * layout_forms.[Ch]: removed
16205         * lyx_cb.[Ch]: out character
16206         * lyx_gui.C: out character
16207         * lyx_gui_misc.C: out character
16208         * bufferview_funcs.C: : out character,
16209         added toggleall as parameter in ToggleAndShow
16210
16211 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16212
16213         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16214
16215         * text2.C (SetCurrentFont): Disable number property at boundary.
16216
16217 2001-02-26  Juergen Vigna  <jug@sad.it>
16218
16219         * lyxfunc.C (getStatus): added a string argument override function so
16220         that this is correctly called from LyXFunc::Dispatch if it contains a
16221         do_not_use_argument which is used!
16222         (Dispatch): added check for "custom" export and call appropriate func.
16223
16224 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16225
16226         * lyxrc.C: Add language_command_local, language_use_babel and
16227         language_global_options.
16228
16229         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16230
16231         * buffer.C (makeLaTeXFile): Use language_use_babel and
16232         language_global_options.
16233
16234 2001-02-23  Juergen Vigna  <jug@sad.it>
16235
16236         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16237         which works with LyXText and putted it inside BufferView. Here now we
16238         only call for that part the BufferView::Dispatch() function.
16239
16240         * BufferView.C (Dispatch): added.
16241
16242         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16243         functions which needs to use a LyXText over from LyXFunc.
16244         (MenuInsertLyXFile): added
16245         (getInsetByCode): added
16246         (moveCursorUpdate): added
16247         (static TEXT): added
16248
16249 2001-02-22  Juergen Vigna  <jug@sad.it>
16250
16251         * BufferView_pimpl.C (update): call a status update to see if LyXText
16252         needs it.
16253
16254 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16255
16256         * vc-backend.C (revert): implement for CVS
16257         (getLog): implement for CVS
16258
16259 2001-02-20  Juergen Vigna  <jug@sad.it>
16260
16261         * text2.C (ClearSelection): added BufferView param for inset_owner call
16262
16263         * lyxfunc.C (TEXT): added this function and use it instead of
16264         directly owner->view()-text of getLyXText().
16265
16266 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16267
16268         * src/layout_forms.C: out preamble
16269         * src/layout_forms.h: out preamble
16270         * src/lyx_cb.C: out preamble
16271         * src/lyx_cb.h: out preamble
16272         * src/lyx_gui.C: out preamble
16273         * src/lyx_gui_misc.C: out preamble
16274         * src/lyxfunc.C: connect with guii preamble
16275
16276 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16277
16278         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16279
16280 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16281
16282         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16283         whether to run bibtex.
16284
16285 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16286
16287         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16288
16289 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16290
16291         * Makefile.am (lyx_SOURCES): removed bibforms.h
16292
16293         * vspace.h: doxygen
16294
16295         * text.C (GetVisibleRow): make several local vars const
16296
16297         * tabular.C: small cleanup.
16298
16299         * lyxserver.C (callback): use compare instead of strncmp
16300
16301         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16302         inlines to after class or to paragraph.C
16303
16304         * lyxfont.h: remove friend operator!=
16305
16306         * converter.h: move friend bool operator< to non friend and after
16307         class def.
16308
16309         * combox.h: small cleanup
16310
16311         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16312         to inlines after class def.
16313
16314         * buffer.C (pop_tag): use string operations instead of strcmp
16315
16316         * bmtable.c: doxygen, small cleanup
16317
16318         * LaTeX.h: remove friend operator==
16319
16320 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16321
16322         * screen.C:
16323         * lyxrc.[Ch]:
16324         * lyxfunc.C:
16325         * lyxfont.[Ch]:
16326         * lyx_cb.C:
16327         * intl.[Ch]:
16328         * commandtags.h:
16329         * buffer.C:
16330         * WorkArea.[Ch]:
16331         * LyXAction.C:
16332         * BufferView_pimpl.C:
16333         * BufferView.[Ch]: remove cruft
16334
16335 2001-02-14  Juergen Vigna  <jug@sad.it>
16336
16337         * lyxfunc.C: removed #if 0 unused code
16338
16339         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16340
16341         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16342
16343         * text2.C (SetSelection): added a BufferView * parameter
16344
16345 2001-02-13  Juergen Vigna  <jug@sad.it>
16346
16347         * lyxfunc.C (Dispatch): fixed protected blank problem.
16348         * BufferView2.C (protectedBlank): added LyxText * parameter.
16349
16350         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16351         (AppendColumn): same as above for column_info.
16352
16353         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16354         (moveCursorUpdate): use a LyXText param for support of InsetText.
16355
16356         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16357         (tripleClick): ditto
16358
16359         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16360
16361         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16362
16363         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16364
16365         * text2.C (SetSelection): set correct update status if inset_owner
16366         (ToggleFree): ditto
16367
16368 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16369
16370         * tabular.C: remove some commented code.
16371
16372 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16373
16374         * BufferView_pimpl.C: call hideSplash()
16375
16376         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16377
16378         * include_form.h:
16379         * bibforms.h: remove
16380
16381         * lyxfunc.C:
16382         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16383           add LFUN_CHILD_CREATE
16384
16385         * counters.h: fix tiny typo
16386
16387         * lyx_cb.C:
16388         * lyx.h:
16389         * lyx_gui.C:
16390         * lyx.C: move splash to frontends/xforms/
16391
16392         * lyx_gui_misc.C: move Include and Bibform to frontends
16393
16394         * lyxvc.h: clarify comment
16395
16396         * vspace.C: tiny housekeeping
16397
16398 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16399
16400         * text.C (PrepareToPrint): RTL Fix.
16401
16402         * paragraph.C (GetUChar): New method.
16403         (String):  Use GetUChar.
16404
16405         * buffer.C (asciiParagraph): Use GetUChar.
16406
16407 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16408
16409         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16410
16411 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16412
16413         * buffer.h:
16414         * buffer.C: rename to getLogName(), handle
16415           build log / latex log nicely
16416
16417 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16418
16419         * MenuBackend.C:
16420         * MenuBackend.h: remove support for reference menuitem type.
16421
16422 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16423
16424         * BufferView_pimpl.C: housekeeping
16425         * BufferView_pimpl.h:
16426         * LyXView.h:
16427         * Makefile.am:
16428         * Timeout.C:
16429         * Timeout.h:
16430         * minibuffer.h: move Timeout GUI-I
16431
16432 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16433
16434         * lyxrc.C (read): Update converters data-structures.
16435
16436 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16437
16438         * LaTeX.h (operator!=): add operator != for Aux_Info
16439
16440 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16441
16442         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16443
16444         * LaTeXLog.C: deleted, useful code moved to Buffer
16445
16446         * buffer.h:
16447         * buffer.C: new function getLatexLogName()
16448
16449         * lyx_gui_misc.C:
16450         * lyx_gui.C:
16451         * lyxvc.C:
16452         * lyxvc.h:
16453         * lyxfunc.C: use frontends for LaTeX and VC logs
16454
16455 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16456
16457         * LaTeX.h: yet another std:: that Allan forgot.
16458
16459         * Variables.C (set): renamed from isset(), because this clashes
16460         with some HP-UX macros (grr).
16461
16462 2001-02-06  Allan Rae  <rae@lyx.org>
16463
16464         * LaTeX.h: Another bug fix.  Missing std:: this time.
16465
16466 2001-02-04  Allan Rae  <rae@lyx.org>
16467
16468         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16469         floats problem. I've left it commented out because it's not quite
16470         correct.  It should also test that the current object is a table or
16471         figure inset.  But I haven't gotten around to figuring out how to do
16472         that.  I *think* it'll be something like: "table" == inset.type()
16473
16474         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16475         bool.
16476
16477 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16478
16479         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16480         all the citation/databases/styles in the auxilary file.
16481         (run): Rerun latex if there was a babel language error.
16482
16483 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16484
16485         * text.C (Backspace): Preserve the font when changing newline char
16486         with a space.
16487         (BreakParagraph): If the cursor is before a space, delete the space.
16488
16489         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16490
16491 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16492
16493         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16494         new argument (code).
16495         (ChangeCitationsIfUnique): New method.
16496
16497         * paragraph.C (GetPositionOfInset): Handle bibkey.
16498
16499 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16500
16501         * BufferView_pimpl.h: change type of Position::par_pos to
16502         LyXParagraph::size_type.
16503
16504 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * BufferView_pimpl.C (savePosition, restorePosition): Write
16507         messages to minibuffer.
16508
16509 2001-01-28  José Matos  <jamatos@fep.up.pt>
16510
16511         * buffer.C (makeDocBookFile): adds support for document language.
16512         A silly restriction on the name of LatexCommand types where removed.
16513         Added support for CDATA sections, allows to chars unescaped, used
16514         among others in code, to avoid escape < and >.
16515
16516 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16517
16518         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16519         saved positions instrad of a stack. Furthermore, a position is
16520         stored using paragraph id/paragraph position.
16521
16522         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16523         Remove LFUN_REF_BACK.
16524
16525 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16526
16527         * converter.C (dvipdfm_options): New method.
16528
16529 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16530
16531         * vspace.C (isValidLength): Fix for empty input string.
16532
16533 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16534
16535         * LyXAction.C (init): change description of LFUN_FIGURE to
16536         "Insert Graphics"
16537
16538 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * LaTeX.C: add using directive
16541
16542 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * MenuBackend.C (expand): Fix the sorting of the formats.
16545
16546 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16547
16548         * lyx_main.C: tiny error message fix
16549
16550 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16551
16552         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16553         calling fl_initialize(). This fixes the problem with ',' as
16554         decimal separator in text files.
16555
16556 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16557
16558         * trans.C (process): Fix the keymap bug.
16559
16560 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16561
16562         * LaTeX.C (scanAuxFiles): New method. Provides support for
16563         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16564         (scanLogFile) Scan for "run BibTeX" messages.
16565
16566         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16567         OT1 font encoding. Also, load the aecompl package if the ae
16568         package is loaded.
16569
16570         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16571
16572 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16573
16574         * texrow.C (increasePos): turn two error messages into debug
16575         messages.
16576
16577 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16578
16579         * LaTeX.C (scanAux): Handle the \@input macro.
16580         (runBibTeX): Use scanAux().
16581
16582         * language.C (latex_options_): New field.
16583
16584         * LaTeXFeatures.C (getMacros): Add language macros.
16585
16586         * buffer.C (makeLaTeXFile): Small fix.
16587
16588 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16589
16590         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16591
16592         * text2.C: add a using directive.
16593
16594 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16595
16596         * BufferView2.C:
16597         * lyx_gui_misc.h:
16598         * lyxfr1.C:
16599         * lyxfunc.C: kill LyXBell.
16600
16601 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16602
16603         * text.C (IsBoundary): Remove the error message
16604
16605         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16606
16607         * lyxrc.C (setDefaults): Correct initialization value for
16608         font_norm_type.
16609
16610 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16611
16612         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16613         gotoError().
16614
16615         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16616         and GotoNextNote().
16617
16618         * src/LyXAction.C: Added reference-next.
16619
16620         * text.C (InsertChar): Use contains instead of strchr.
16621
16622         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16623
16624 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16625
16626         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16627         alignment commands (when needed).
16628
16629         * text.C (InsertChar): Add ':' to number separator chars.